Skip to main content

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 getBecause Otoroshi gives you
๐Ÿ” Security on every callAPI keys, JWT, OAuth2, mTLS, IP rules โ€” applied at the route, the same battle-tested controls protecting your whole platform
๐Ÿชช Clean credentialsOutgoing auth (Bearer, API key, Basic, OAuth2 client credentials, custom headers) with secrets pulled from the vault, never hard-coded
๐Ÿ›ก๏ธ Governance for freeYour guardrails, budgets & cost tracking, and provider load-balancing & fallbacks apply to every exposed agent
๐Ÿ‘€ Full observabilityEvery exchange flows through Otoroshi, so you can audit, meter, and ship events anywhere with data exporters
โ™ป๏ธ Reusable building blocksServers 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:

CapabilityWhat it means
๐Ÿชช Agent CardsAuto-published at https://your-domain/.well-known/agent-card.json for instant discovery
๐Ÿ“จ MessagingSynchronous SendMessage and live streaming SendStreamingMessage over Server-Sent Events
๐Ÿ“‹ TasksStateful tasks you can fetch (GetTask), list (ListTasks), cancel (CancelTask), and subscribe to (SubscribeToTask)
๐Ÿ–ผ๏ธ Multi-modalText, images, audio, video and structured data parts โ€” in and out
๐Ÿงต Multi-turnA contextId ties messages together so conversations stay coherent
๐Ÿ”” Push notificationsRegister a webhook and get task updates delivered to you
๐ŸŒ Multi-tenantA 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.