Docker Agent
Open-source Docker CLI plugin for building, running, and sharing AI agents defined in YAML or HCL configuration files.
At a Glance
Docker Agent CLI plugin is open source under the Apache 2.0 license; model provider API keys or local models are separate external costs.
Engagement
Available On
Alternatives
Listed Oct 2026
About Docker Agent
Docker Agent is an open-source tool from Docker that runs AI agents defined declaratively in YAML or HCL instead of application code. It runs as a docker CLI plugin (docker agent) and can serve agents through a terminal UI, headless CLI, HTTP API, MCP server, or A2A protocol. The project is licensed under Apache 2.0.
What It Is
Docker Agent is a CLI agent builder and runtime. You describe an agent's model, instructions, toolsets, and sub-agents in a config file, and the runtime handles the LLM orchestration loop, tool execution, multi-agent delegation, and streaming output. The docs state it is not a framework you write code in, not a hosted SaaS, and not a new model.
How the Workflow Runs
You define an agent, start it with docker agent run, and the agent calls tools, reasons, and delegates to sub-agents while results stream back to the TUI or an API client. --exec supports one-shot and piped non-interactive runs, and docker agent serve api exposes an agent as an API. docker agent new generates a config interactively.
Tools, Models, and Teams
Built-in toolsets cover filesystem, shell, git, fetch, memory, RAG, think, todo, and more, and any MCP server (local, remote, or Docker-based) can be added. Multi-agent teams let a coordinator delegate to specialists. Agents can target many providers, including OpenAI, Anthropic, Google Gemini, AWS Bedrock, Mistral, xAI, and local models through Docker Model Runner.
Packaging and Sharing
Agents can be pushed to and pulled from any OCI registry, so docker agent run myorg/agent:tag works like running a container image. The docs also list hooks, permissions, sandbox mode, structured output, model routing, evaluation, skills, and a Go SDK guide.
Community Discussions
Be the first to start a conversation about Docker Agent
Share your experience with Docker Agent, ask questions, or help others learn from your insights.
Pricing
Open Source
Docker Agent CLI plugin is open source under the Apache 2.0 license; model provider API keys or local models are separate external costs.
- Apache License 2.0
- Multi-agent architecture
- Built-in tools and any MCP server
- AI provider agnostic (bring your own API key or use Docker Model Runner)
- YAML declarative configuration
Capabilities
Key Features
- Declarative agent definitions in YAML or HCL
- Multi-agent teams with delegation
- Built-in tools (filesystem, shell, git, fetch, memory, think, todo)
- MCP server support including Docker MCP catalog
- Provider-agnostic model support
- RAG with BM25, embeddings, hybrid search, and reranking
- Push and pull agents via OCI registries
- Terminal UI, headless CLI, HTTP API server, MCP mode, A2A protocol
- Non-interactive --exec mode for scripting
- Interactive agent generation with docker agent new
