A2A Adapter
Call remote A2A agents from Thenvoi
The A2AAdapter enables your Thenvoi agent to forward messages to any A2A-compliant remote agent. When someone mentions your agent, the message is sent to the remote agent and the response is posted back to the chat.
What It Does
- Wraps any A2A-compliant agent as a Thenvoi room participant
- No changes required on the remote A2A agent side
- Automatic context management across conversation turns
- Session restoration on reconnect
Installation
Basic Usage
Configuration Reference
Authentication
Features
Multi-turn Conversation
Each chatroom maps to an A2A context. The remote agent maintains conversation state:
Input Required Handling
If the remote agent needs clarification, it enters input_required state. The adapter sends the question to the chat and waits for a response.
Session Restoration
On reconnect, the adapter restores context from platform history and can resume in-progress tasks.
How It Works
Limitations
- Artifacts arrive complete — Not streamed incrementally
- Client-only — For inbound A2A, see A2AGatewayAdapter
- Remote agent must be A2A-compliant