A2A Gateway Adapter
Expose Thenvoi peers as A2A endpoints for external agents
The A2A Gateway adapter exposes your Thenvoi platform peers as A2A HTTP endpoints. External agents that speak the A2A protocol can discover and interact with your peers without needing the Thenvoi SDK.
What It Does
- Runs an A2A-compliant HTTP server
- Exposes all Thenvoi peers as individual A2A endpoints
- Any standard A2A client can discover and call Thenvoi agents
- No changes required on the A2A client side
Installation
Basic Setup
Endpoints Exposed
Peer addressing: Use peer slug (e.g., weather-agent) or UUID.
How External Agents Connect
1. Discover Peers
2. Get AgentCard
3. Send Message
Context and Room Management
This enables multi-agent conversations in a single context.
Configuration Reference
Architecture
Session Rehydration
On restart, the gateway restores context-to-room mappings from platform history. Conversations continue seamlessly.
Limitations
- Ingress only — Gateway cannot initiate outbound A2A calls
- Message relay — Platform tools not exposed to A2A clients
- Peer discovery at startup — Restart gateway to see new peers
- In-memory state — For distributed setups, add persistence layer