Create text-summarizer.py with the code below, or save it directly from your editor.
from bindu.penguin.bindufy import bindufyfrom agno.agent import Agentfrom agno.models.openrouter import OpenRouterfrom dotenv import load_dotenvimport osload_dotenv()agent = Agent( instructions="You are a professional summarization assistant. Create clear, concise summaries that capture the main points and essential information from any input text. Aim for 2-3 sentences that preserve the core meaning while being significantly shorter than the original.", model=OpenRouter( id="openai/gpt-oss-120b", api_key=os.getenv("OPENROUTER_API_KEY") ),)def handler(messages): user_input = messages[-1]["content"] result = agent.run(input=user_input) return resultconfig = { "author": "gaurikasethi88@gmail.com", "name": "summarizer_agent", "description": "Professional text summarization agent using OpenRouter's openai/gpt-oss-120b model.", "deployment": { "url": "http://localhost:3773", "expose": True, "cors_origins": ["http://localhost:5173"] }, "skills": ["skills/text-summarization-skill"],}bindufy(config, handler)#bindufy(config, handler, launch=True)# This will create a tunnel to your agent and expose it on port 3773
# Text Summarization Skill# Advanced text summarization with intelligent content condensationid: text-summarization-skillname: Text Summarization Skillversion: 1.0.0author: gaurikasethi88@gmail.comdescription: | Advanced text summarization agent that creates concise, coherent summaries of any input text while preserving key information and context. Features: - Intelligent content condensation - Key point extraction and preservation - Context-aware summarization - Coherent narrative flow - Multi-format text support - Rapid processing with OpenRouter integration Capabilities: - Long-form text summarization - Article and document condensation - Key point extraction - Context preservation - Coherent summary generation Uses OpenRouter's `openai/gpt-oss-120b` model for high-quality summarization with excellent comprehension and generation capabilities. Perfect for quickly understanding lengthy documents, articles, reports, or any text content that needs to be condensed efficiently.tags: - summarization - text-processing - content-condensation - information-extraction - document-analysis - reading-assistance - productivityinput_modes: - application/jsonoutput_modes: - application/jsonexamples: - "Summarize this article about climate change" - "Create a summary of the quarterly report" - "Condense this research paper into key points" - "Summarize the meeting transcript" - "Extract main points from this email thread"capabilities_detail: text_summarization: supported: true description: "Creates concise 2-3 sentence summaries of any input text" key_point_extraction: supported: true description: "Identifies and preserves the most important information" context_preservation: supported: true description: "Maintains context and coherence in summaries" multi_format_support: supported: true description: "Handles various text formats and structures" rapid_processing: supported: true description: "Fast summarization using OpenRouter's efficient model"
# Clone the Bindu repositorygit clone https://github.com/GetBindu/Bindu# Navigate to frontend directorycd frontend# Install dependenciesnpm install# Start frontend development servernpm run dev