Example agents demonstrating Bindu's capabilities - from simple bots to multi-agent systems with payments.
- Python 3.12+
- uv package manager
- OpenRouter API key
git clone https://github.com/getbindu/bindu.git
cd bindu
uv sync --dev --extra agents
export OPENROUTER_API_KEY="your-key-here" # pragma: allowlist secretuv run examples/beginner/echo_simple_agent.pyAgents run on ports 3773-3780 with UI at http://localhost:[port]/docs
You can override the port for any example without editing code:
# Linux/macOS
export BINDU_PORT=4000
# Windows PowerShell
$env:BINDU_PORT="4000"For full URL override, use BINDU_DEPLOYMENT_URL (e.g. http://127.0.0.1:5001).
beginner/echo_simple_agent.py- Minimal echo botbeginner/beginner_zero_config_agent.py- Zero-config agent with web searchbeginner/agno_simple_example.py- Joke generatorbeginner/agno_example.py- Research assistant with DuckDuckGobeginner/faq_agent.py- Documentation search agentbeginner/agno_notion_agent.py- Notion integrationbeginner/ag2_simple_example.py- AG2 (AutoGen) simple agentbeginner/minimax_example.py- MiniMax AI research agent (OpenAI-compatible)beginner/dspy_agent.py- DSPy framework integrationbeginner/agno_paywall_example.py- Paywall-protected agentbeginner/echo_agent_behind_paywall.py- Echo agent with payment requirement
summarizer/- Text summarization agentweather-research/- Weather intelligence agentweb-scraping-agent/- AI web scraping agent with ScrapeGraph + Mem0 memorypremium-advisor/- Paid agent with X402 payments (0.01 USDC per query)news-summarizer/- Real-time news search and summarization using local Ollamadocument-analyzer/- PDF/DOCX document analysis and Q&A agentspeech-to-text/- Audio transcription using Gemini 2.0 Flash (MP3, WAV, OGG, M4A)ai-data-analysis-agent/- Autonomous data analyst with CSV profiling and visualizationcybersecurity-newsletter/- Security news aggregator with CVE tracking
typescript-openai-agent/- OpenAI SDK agent bindufied with TypeScript SDKtypescript-langchain-agent/- LangChain.js agent bindufied with TypeScript SDK
runtime-boxd-agent/- Echo agent that runs as a real microservice inside a boxd microVM (own URL, DID, persistent disk). Seedocs/runtime/for the runtime-provider abstraction.
TypeScript agents use
@bindu/sdkwhich automatically launches the Bindu Python core in the background. Same A2A protocol, same DID, same everything — just a different language. See the gRPC documentation for details.
agent_swarm/- Multi-agent collaboration systemcerina_bindu/cbt/- CBT therapy protocol generatorag2_research_team/- Multi-agent research pipeline using AG2 (AutoGen)langgraph_blog_writing_agent/- Map-Reduce blog writing with LangGraphhermes_agent/- Nous Research's tool-using coding/research agent (web, file, code-exec) bindufied with tiered safety controls
skills/- Reusable agent capabilities
# Required (at least one LLM provider)
OPENROUTER_API_KEY=sk-or-v1-your-api-key-here
MINIMAX_API_KEY=your-minimax-api-key # Alternative: MiniMax AI (https://platform.minimaxi.com)
# Optional
PORT=4000
BINDU_PORT=4000
BINDU_DEPLOYMENT_URL=http://localhost:4000
HYDRA__ADMIN_URL=https://hydra-admin.getbindu.com
HYDRA__PUBLIC_URL=https://hydra.getbindu.com
DATABASE_URL=postgresql+asyncpg://user:pass@host/db # pragma: allowlist secret
REDIS_URL=rediss://default:pass@host:6379 # pragma: allowlist secretThe premium-advisor/ example shows how to monetize agents with X402 payments:
uv run examples/premium-advisor/premium_advisor.pyUsers must pay 0.01 USDC before the agent responds.
cd frontend
npm run devcurl -X POST ${BINDU_DEPLOYMENT_URL:-http://localhost:${BINDU_PORT:-3773}}/ \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","method":"message/send","params":{...},"id":"1"}'from bindu import Agent
agent = Agent(
name="My Agent",
description="What it does",
model="openai/gpt-4o",
)
agent.instructions = ["Behavior guidelines"]
if __name__ == "__main__":
agent.serve(port=3773)- Create your agent in the appropriate folder
- Add README with usage instructions
- Include .env.example
- Submit pull request
See LICENSE.md