A2A (Agent-to-Agent)
Your agents are smart. Now let them talk to each other โ across teams, across vendors, across the internet. ๐ค
A2A (Agent-to-Agent) is the open protocol โ started by Google, now under the Linux Foundation โ that lets independent AI agents discover one another and collaborate, without ever exposing their inner workings. One agent asks, another answers. No shared codebase, no shared memory, no lock-in.
๐น Discover (๐ชช) โ every agent publishes an Agent Card describing who it is and what it can do.
๐น Delegate (๐จ) โ agents exchange messages and hand off work as stateful tasks.
๐น Interoperate (๐) โ any A2A-speaking agent can work with any other, whatever framework or model powers it.
โ Turn your private agents into services other teams and partners can call โ Pull world-class remote agents into your own agents as tools โ Compose specialized agents into a single, smart workflow
Think of A2A as the dial tone for agents โ๏ธ โ a universal way for them to reach each other and get things done.
Otoroshi speaks A2A โ both waysโ
Otoroshi gives you the full A2A experience as both a server and a client, with zero glue code.
Expose your agents โ A2A Serversโ
Take any agent you've already built in Otoroshi โ or a whole workflow โ and publish it as a standards-compliant A2A agent in two clicks. Otoroshi generates the Agent Card, handles discovery, streams responses, tracks tasks, and lets external clients and agents call your agent over plain JSON-RPC.
Your agent keeps everything that makes it great: its provider and model, its tools and MCP connectors, its guardrails, its memory. A2A just opens the door. ๐ช
Consume remote agents โ A2A Connectorsโ
Point Otoroshi at any remote A2A agent and its skills instantly become tools your local agents can call โ exactly like MCP connectors, but for whole agents instead of single tools. Your travel agent can delegate to a remote weather agent; your support agent can ask a remote billing agent. The model just picks the right skill and Otoroshi does the round-trip. ๐
Why route A2A through Otoroshi?โ
Speaking the protocol is the easy part. Doing it safely, at scale, and observably is where Otoroshi shines.
| You get | Because Otoroshi gives you |
|---|---|
| ๐ Security on every call | API keys, JWT, OAuth2, mTLS, IP rules โ applied at the route, the same battle-tested controls protecting your whole platform |
| ๐ชช Clean credentials | Outgoing auth (Bearer, API key, Basic, OAuth2 client credentials, custom headers) with secrets pulled from the vault, never hard-coded |
| ๐ก๏ธ Governance for free | Your guardrails, budgets & cost tracking, and provider load-balancing & fallbacks apply to every exposed agent |
| ๐ Full observability | Every exchange flows through Otoroshi, so you can audit, meter, and ship events anywhere with data exporters |
| โป๏ธ Reusable building blocks | Servers and connectors are first-class entities โ define once, reference everywhere |
Standards in, standards outโ
Otoroshi implements the modern A2A specification end to end, so any compliant client or SDK just works:
| Capability | What it means |
|---|---|
| ๐ชช Agent Cards | Auto-published at https://your-domain/.well-known/agent-card.json for instant discovery |
| ๐จ Messaging | Synchronous SendMessage and live streaming SendStreamingMessage over Server-Sent Events |
| ๐ Tasks | Stateful tasks you can fetch (GetTask), list (ListTasks), cancel (CancelTask), and subscribe to (SubscribeToTask) |
| ๐ผ๏ธ Multi-modal | Text, images, audio, video and structured data parts โ in and out |
| ๐งต Multi-turn | A contextId ties messages together so conversations stay coherent |
| ๐ Push notifications | Register a webhook and get task updates delivered to you |
| ๐ Multi-tenant | A tenant identifier flows through requests and Agent Cards |
The dream: a network of agents ๐โ
Because Otoroshi is both a server and a client, an agent you expose can itself reach out to other agents. Compose them freely:
A2A Client โโโถ Otoroshi (A2A Server: "Travel Concierge")
โ
โโโโถ A2A Connector โโโถ Weather Agent (someone else's)
โโโโถ A2A Connector โโโถ Booking Agent (a partner's)
โโโโถ MCP Connector โโโถ Maps API (a tool)
One front door. A whole ecosystem behind it. Every hop secured, governed, and observable. ๐
Where to nextโ
- ๐ A2A Servers โ expose your agent or workflow to the world
- ๐ A2A Connectors โ call remote agents as tools
Otoroshi + A2A = โค๏ธโ
Build agents once. Let them reach everyone โ and everything โ through a single, governed gateway.