Docker Agent
TL;DR Highlight
Define multi-agent setups in YAML and run them with docker agent
Who Should Read
Backend/DevOps developers who want to build agents declaratively without code and share them via OCI registries
Core Mechanics
- One YAML file defines an agent
- Under agents you set model, description, instruction and toolsets.
- Run it with docker agent run agent.yaml.
- Works as a docker CLI plugin
- It comes pre-installed with Docker Desktop 4.63+.
- You can also install via Homebrew (brew install docker-agent) or GitHub Releases binaries.
- Multi-agent and MCP tools
- Teams of specialized agents delegate tasks automatically.
- Built-in tools plus any MCP server (local, remote or Docker-based) are supported.
- Provider agnostic
- Supports OpenAI, Anthropic, Gemini, AWS Bedrock, Mistral, xAI, Docker Model Runner and more.
- Start with one API key or a local model via Docker Model Runner.
- RAG and reasoning tools built in
- think, todo and memory tools are included.
- RAG is pluggable: BM25, embeddings, hybrid search and reranking.
- Share agents via OCI registry
- Push agents to any OCI registry.
- Pull and run anywhere with docker agent run myorg/agent:tag.
Community Reactions
- Too many agent harnesses, some say
- Commenters compared them to the JS frameworks of yesteryear.
- Another said releasing a harness before a good agent is putting the cart before the horse.
- Tried it and found it brittle
- One user said that a few weeks ago it was the brittlest harness they had used.
- They plan to return when it matures.
- Lack of sandbox and security info
- Commenters noted Docker's AI story should be about sandboxing, yet it is barely covered.
- One wanted command and credential ACLs to set agent boundaries before launch.
- Operational opinions
- One team found a single orchestrator routing by capability easier than many concurrent agents.
- Another warned to read the terms on data retention first.
How to Apply
- Run a minimal agent YAML locally
- Today, install with brew install docker-agent and set an API key env var.
- Save the YAML below as agent.yaml and run docker agent run agent.yaml.
- Distribute team agents via OCI registry
- Push frequently used agent YAMLs to your internal OCI registry.
- Have teammates pull them with docker agent run.
- Make a security and terms checklist before adopting
- Read the sandbox and Telemetry docs and confirm data retention scope.
- Connect write-capable tools only with confirmation.
Try It
# Paste into a terminal (based on the README example, needs OPENAI_API_KEY)
brew install docker-agent
export OPENAI_API_KEY=sk-...
cat > agent.yaml <<'EOF'
agents:
root:
model: openai/gpt-5-mini
description: A helpful AI assistant
instruction: |
You are a knowledgeable assistant that helps users with various tasks.
Be helpful, accurate, and concise in your responses.
toolsets:
- type: mcp
ref: docker:duckduckgo
EOF
docker-agent run agent.yaml
# Next: try docker agent new for interactive creation, or docker agent run myorg/agent:tag for a registry agentTerminology
Related Papers
Frostbite: A new CPU architecture discovered, designed and verified by AI
AI agents designed a CPU from scratch, claiming 4.59x perf/W over a traditional core
Restricting AI agents in mobile operating systems platforms from capturing data
Signal now blocks OS-level AI agents from reading its screen on iOS 27 and Android
Actions Speak Louder than Words: Stateful Privacy Sniffing of LLM Agents via Behavioral Covert Channels in Web Interactions
Agents' link choices alone let attackers rebuild user queries at F1 0.89; SOR cuts it to 0.39.
Tracking and Limiting Unsupported Claim Propagation in Multi-Agent LLM Systems: A Provenance-Aware Framework
Passing claims with source, evidence and history kept equivalence at 5 agent stages at 96% versus 31%.
LLM assisted reverse engineering
Pointing an agent at binaries with skills and MD notes made years-long hacks feasible
Metrics-in-the-Loop: Complexity Feedback Reshapes Agent-Written Code
Injecting per-turn complexity reports into coding agents cut code erosion without changing correctness
Why is Gemini 4 Carbon taking so long?
Carbon took nearly an hour on bug fixes that Astra and Opus finished in minutes, mostly from extra unrequested work.
Weight-Space Programming builds neural networks like a 1990s researcher
LLM hand-wrote MNIST weights to 91.3%, using 1990s-style techniques