Files
agent-zero/plugins/_a2a_chat/README.md
Alessandro Frau 56b2910f46 Stop A2A ambient token forwarding
Do not automatically attach the process-wide A2A_TOKEN to model-selected destinations. Keep explicitly supplied connection credentials and document the existing token-bearing Agent Zero connection URL for protected peers.

Add regressions proving that arbitrary destinations receive no ambient Authorization or X-API-KEY headers, explicit tokens still work, and token-bearing URLs are preserved for discovery and RPC. Exercise discovery, message send and conversation reuse through the server auth/router for token URLs, explicit headers and public peers.

Validation: 8 client/tool tests passed. One expected failure records pre-existing project URL handling of chunked request bodies; the server implementation is unchanged.
2026-11-16 19:11:08 +01:00

545 B

A2A Chat

Provides the a2a_chat tool, which communicates with remote FastA2A-compatible agents. Conversation context is preserved automatically per agent_url; pass reset: true to start a fresh conversation with the same agent.

Unauthenticated agents work without extra configuration. To connect to a protected Agent Zero peer, use its token-bearing connection URL from Settings → A2A → Connection URL. Credentials are never copied automatically from the ambient A2A_TOKEN environment variable to a model-selected destination.