TheDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/docker/docker-agent/llms.txt
Use this file to discover all available pages before exploring further.
docker agent serve a2a command starts an HTTP server that exposes your agents using the A2A protocol. This enables communication between Docker Agent and other agent frameworks that implement A2A.
Usage
Flags
| Flag | Default | Description |
|---|---|---|
-a, --agent <name> | root | Name of the agent to run |
-l, --listen <addr> | 127.0.0.1:8082 | Address to listen on |
--working-dir <path> | (current dir) | Working directory for the session |
How it works
When started, the server:- Binds to the specified address (or picks an available port if none is given)
- Exposes an A2A-compliant agent card with metadata about the agent
- Accepts incoming A2A requests and routes them to the Docker Agent runtime
- Supports all Docker Agent features — tools, models, model fallbacks — transparently
Connecting to the server
Any A2A-compatible client can connect to the server’s address. The server prints the address on startup:Current limitations
- Tool calls are handled internally and are not exposed as separate A2A events
- A2A artifact support is not yet integrated
- A2A memory features are not yet integrated
- Multi-agent (sub-agent) scenarios need further work