Back to Agent Zero

Connectivity

docs/developer/connectivity.md

1.141.9 KB
Original Source

Connectivity

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.

Choose The Right Path

NeedStart here
Let Agent Zero work on your host files, shell, or browserA0 CLI Connector
Add a third-party tool through MCPMCP Setup
Let another agent talk to Agent ZeroA2A Setup
Add an external API for one workflowAPI Integration
Study API, MCP, or A2A internalsDeepWiki

External API Basics

You can find your API token in Agent Zero under Settings > External Services.

Common external endpoints include:

EndpointUse it for
POST /api_messageSend a message to Agent Zero.
GET/POST /api_log_getRead chat logs.
POST /api_terminate_chatStop a running chat.
POST /api_reset_chatReset a chat.
POST /api_files_getRetrieve 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.

MCP And A2A

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.