docs/developer/connectivity.md
This page helps you choose the right connection path.
For source-linked architecture and endpoint internals, use DeepWiki for Agent Zero. The local docs should not duplicate the full connectivity architecture.
| Need | Start here |
|---|---|
| Let Agent Zero work on your host files, shell, or browser | A0 CLI Connector |
| Add a third-party tool through MCP | MCP Setup |
| Let another agent talk to Agent Zero | A2A Setup |
| Add an external API for one workflow | API Integration |
| Study API, MCP, or A2A internals | DeepWiki |
You can find your API token in Agent Zero under Settings > External Services.
Common external endpoints include:
| Endpoint | Use it for |
|---|---|
POST /api_message | Send a message to Agent Zero. |
GET/POST /api_log_get | Read chat logs. |
POST /api_terminate_chat | Stop a running chat. |
POST /api_reset_chat | Reset a chat. |
POST /api_files_get | Retrieve files. |
External API calls use the X-API-KEY header.
[!TIP] For exact request and response details, check the current source or the matching DeepWiki page. That keeps the API reference tied to the code that is actually running.
Use MCP when you want Agent Zero to call tools from another app or service.
Use A2A when you want another agent to talk to Agent Zero as a collaborator.
Both use the same Agent Zero instance and can be project-aware when configured that way.