Docker Agent is a Docker CLI plugin that defines, runs, and shares multi-agent LLM workflows from YAML or HCL without application glue code.
Overview
Docker Agent is an open-source tool from Docker for building, running, and sharing AI agents using declarative configuration files. It works like running containers: you define an agent, execute it with one command, and can distribute definitions through OCI registries like container images.
Agents specify a model, instructions, built-in toolsets, and optional sub-agents. The runtime handles the LLM loop, tool calls, delegation between agents, and streaming output. Modes include an interactive terminal UI, headless CLI, HTTP API server, OpenAI-compatible chat endpoint, MCP server, and Agent-to-Agent protocol.
Built-in toolsets cover filesystem, shell, memory, web fetch, and reasoning helpers. Retrieval supports BM25, embeddings, hybrid search, and reranking. Model providers include OpenAI, Anthropic, Google Gemini, AWS Bedrock, and local options via Docker Model Runner or Ollama. External MCP servers from Docker's catalog can extend tools.
Installation paths include Docker Desktop with a bundled plugin, Homebrew, or GitHub binaries symlinked into the Docker CLI plugins directory. It is explicitly not a hosted SaaS or a framework where you write custom orchestration code in an application language.
Key features
- YAML and HCL agent definitions
- Multi-agent task delegation
- OCI registry push and pull
- Built-in filesystem and shell tools
- MCP and catalog tool integrations
- RAG with hybrid retrieval
- TUI, CLI, API, and MCP serving
- Swappable cloud and local models
Use cases
- Coding assistants with file and shell access
- Headless ops triage via CLI exec mode
- Sharing agent configs like container images
- Multi-agent coordinator and specialist teams