Bindu क्या है?
Bindu एक ही call में agent को cryptographic identity, A2A transport और payment rails दें. यह Agents & Automation टूल्स की Multi-Agent Systems श्रेणी में आता है; ओपन सोर्स है, Python में लिखा गया है और Apache-2.0 लाइसेंस के तहत है। शुरू करने के लिए: इंस्टॉल करें.
सारांश
Bindu AI agents के लिए identity, communication और payments की layer है। इसका मकसद एक काम करने वाले agent और सार्वजनिक रूप से सचमुच चल सकने वाले agent के बीच की प्लंबिंग को हल करना है: integrate करने के लिए एक DID library, setup करने के लिए एक OAuth flow, payment middleware, और एक HTTP layer जो दुनिया के बाकी agent protocol में बात करे। Bindu यह सब एक call के पीछे पैक कर देता है। आप `bindufy()` से अपने handler को wrap करते हैं, और agent अपनी खुद की cryptographic identity के साथ online आ जाता है, A2A में बात करता है, और चाहे तो कोई भी काम शुरू करने से पहले payment मांग सकता है।
आपका handler `(messages) -> response` जितना छोटा रहता है, और उसके अंदर क्या चलेगा, यह आप तय करते हैं। यह repository Python में AG2, Agno, CrewAI, Hermes Agent, LangChain, LangGraph और Notte से लिखे agents, TypeScript में OpenAI SDK और LangChain.js, और OpenAI Kotlin SDK के साथ लिखे agents को टेस्ट करती है। तीनों SDKs एक ही gRPC core साझा करते हैं, इसलिए भाषा एक चुनाव है, जबकि protocol और identity वही रहते हैं। उस core पर एक नया SDK आम तौर पर कुछ सौ lines का होता है।
Security को developer के करने वाले काम की जगह transport के स्तर पर संभाला जाता है। request body आपके handler तक पहुंचने से पहले तीन middleware चलते हैं, और हर एक ऐसे सवाल का जवाब देता है जिसका जवाब बाकी दो नहीं दे सकते। Smallstep step-ca से मिला X.509 certificate वाला mTLS (certificate में DID SAN के रूप में होता है, 24-hour TTL, और process के भीतर अपने-आप renew होता है) साबित करता है कि socket encrypted है और दोनों तरफ़ से authenticated है। Ory Hydra introspection से validate किया गया OAuth2 bearer token साबित करता है कि caller यह operation कर सकता है। और canonical body पर Ed25519 `X-DID-Signature` साबित करता है कि उसे किसने लिखा। वही DID certificate SAN, OAuth2 client_id और message signer है, और तीनों को मेल खाना चाहिए, वरना request reject कर दी जाती है।
यह क्या करता है
- `bindufy()` किसी मौजूदा agent handler को W3C DID identity और A2A JSON-RPC (`message/send`, `tasks/get`, `message/stream`) के साथ port 3773 पर online ले आता है
- तीन-layer वाली default-on security: step-ca के mTLS certificates, Ory Hydra के जरिए scoped OAuth2 tokens, और request body पर Ed25519 DID signatures
- x402 payments: agent handler चलने से पहले USDC मांग सकता है। Base, Base Sepolia, Ethereum, Ethereum Sepolia और SKALE Europa पहले से configured हैं, और एक `extra_networks` entry के जरिए दूसरे EVM chains जोड़े जा सकते हैं
- agent card के साथ एक skills system, और private skills जो public crawlers को एक सामान्य description दिखाते हैं और allowlisted partner DIDs को auth-gated endpoint पर असली menu दिखाते हैं
- Price, latency और SLA पर agent negotiation; Postgres-backed task और message storage; Redis-backed retries, timeouts और recurring tasks
- Python, TypeScript और Kotlin SDKs एक ही gRPC core पर, साथ ही एक operator inbox UI जो दिखाता है कि agents आपस में messages भेज रहे हैं और signatures inline verify किए गए हैं
- `expose: true` एक FRP tunnel खोलता है ताकि local agent port forwarding के बिना पहुंच में आ जाए, और `bindu deploy` बिना Dockerfile के script को microVM पर भेजता है
शुरू करें
Bindu के लिए Python 3.12 या उससे नया version और uv चाहिए। Examples चलाने के लिए कम से कम एक LLM provider की API key भी चाहिए: OPENROUTER_API_KEY, OPENAI_API_KEY या MINIMAX_API_KEY।
इंस्टॉल करें
uv से अपने project में package जोड़ें।
uv add binduया Bindu पर खुद काम करें
Clone करें और development dependencies sync करें।
git clone https://github.com/getbindu/Bindu.git
cd Bindu
uv sync --devएक agent को bindufy करें
वह agent बनाएं जो आप चाहते हैं, उसे एक config में describe करें, और handler को bindufy() को सौंप दें। इस example में Agno इस्तेमाल हो रहा है, लेकिन handler के अंदर का framework Bindu के लिए अप्रासंगिक है।
import os
from bindu.penguin.bindufy import bindufy
from agno.agent import Agent
from agno.models.openai import OpenAIChat
from agno.tools.duckduckgo import DuckDuckGoTools
agent = Agent(
instructions="You are a research assistant.",
model=OpenAIChat(id="gpt-4o"),
tools=[DuckDuckGoTools()],
)
config = {
"author": "you@example.com",
"name": "research_agent",
"description": "Research assistant with web search.",
"deployment": {"url": "http://localhost:3773", "expose": True},
"skills": ["skills/question-answering"],
}
def handler(messages: list[dict[str, str]]):
return agent.run(input=messages)
bindufy(config, handler)Operator inbox चलाएं
Inbox उसी auth और DID signing के ऊपर एक UI है। इसमें agents एक-दूसरे को messages भेजते हैं, और signatures inline verify होते हैं।
cd inbox && npm run devExamples पढ़ें
Examples directory में Agno agent swarm, x402-gated premium work, लगभग 90 lines का bindufied Hermes agent, पांच-agent वाला gateway fleet, और सिर्फ़ TypeScript वाला agent शामिल हैं, इसके अलावा 20+ और।
examples/agent_swarm/ # agents passing work to each other
examples/premium-advisor/ # x402: caller pays USDC before anything runs
examples/hermes_agent/ # Hermes Agent, bindufied
examples/gateway_test_fleet/ # five agents and one gateway
examples/typescript-openai-agent/कमांड और कोड प्रोजेक्ट के अपने दस्तावेज़ों से लिए गए हैं — हमेशा जांचें आधिकारिक repo ताज़ा जानकारी के लिए।
कब इस्तेमाल करें
- किसी agent को verifiable identity के साथ खुले internet पर publish करें, ताकि callers shared secret पर भरोसा करने के बजाय खुद जांच सकें कि response किसने लिखा है
- Agent के काम के लिए सीधे शुल्क लें, और handler चलने से पहले EVM chain पर USDC की मांग करें
- अलग-अलग frameworks और भाषाओं में बने agents को A2A पर एक-दूसरे के साथ काम करने दें, बिना हर एक में identity और auth दोबारा लागू किए
- Commercial skill descriptions को public agent catalog से बाहर रखें, और उन्हें allowlisted partner DIDs के लिए खुला रखें
How Bindu compares
Bindu alongside other open-source multi-agent systems tools AI/TLDR tracks, ranked by GitHub stars.
| टूल | स्टार | यह क्या करता है |
|---|---|---|
| Paperclip | ★ 119k | एक सेल्फ-होस्टेड कंट्रोल प्लेन, जो AI एजेंट्स की टीम को कंपनी की तरह चलाता है, जिसमें ऑर्गनाइज़ेशन चार्ट, टास्क, बजट और अप्रूवल शामिल हैं |
| Ruflo | ★ 82.8k | Claude Code और Codex के लिए एक एजेंट मेटा-हार्नेस |
| MetaGPT | ★ 71.6k | एक multi-agent framework जो एक ही prompt से पूरी LLM-आधारित software company का काम करता है |
| AutoGen | ★ 62k | ऐसे multi-agent AI apps बनाएं जिनमें agents एक-दूसरे, tools और इंसानों के साथ बातचीत करें |
| CrewAI | ★ 61.4k | Role-playing AI agents की टीमें बनाएं जो काम बांटें और एक लक्ष्य के लिए मिलकर काम करें |
| AgentScope | ★ 37.1k | प्रोडक्शन में चलने वाले मल्टी-एजेंट ऐप्स बनाने के लिए एक Python फ़्रेमवर्क |
| OpenAI Agents SDK | ★ 31k | Multi-agent workflows बनाने के लिए tools, handoffs और guardrails वाला हल्का Python SDK |
| Bindu | ★ 9.9k | एक ही call में agent को cryptographic identity, A2A transport और payment rails दें |
