Docker Agent CLI
$ docker-agent Official Med RiskDocker Agent (docker-agent, also invoked via Docker Desktop as docker agent / cagent) is Docker Engineering's official Apache-2.0 Go CLI (4.7k+ stars) for defining, running, and sharing AI agents via declarative YAML or HCL configs. It supports local and cloud LLM providers, MCP toolsets, evaluation, and ships an official SKILL.md.
brew install docker-agent docker-agent runs declarative YAML agent teams and mounts MCP tool servers inside its runtime, complementing host coding agents cleanly.
At a Glance
- Command
- $ docker-agent
- FCRS-1.0 Score
- 84/100 (Good)
- Evidence Tier
- High Confidence
- CLI vs MCP
- Hybrid (CLI + MCP)
- Reviewed Date
Agent-Readiness Checklist
Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.
FCRS-1.0 6-Dimension Breakdown
Built specifically for agent orchestration with declarative YAML/HCL schemas, non-interactive execution flags, and bundled SKILL.md (official_skill).
- Ships
SKILL.md(official_skill) and declarative YAML/HCL agent specs
Declarative toolset scoping in agent.yaml and explicit provider env keys keep permissions auditable prior to execution.
- Explicit toolset and MCP declarations in
agent.yaml
Fast Go binary bundled in Docker Desktop (docker agent) and installable standalone via brew install docker-agent or GitHub releases.
- Pre-included in Docker Desktop and
brew install docker-agent(1.6k+ 90d installs)
Simplifies multi-agent team authoring, MCP server wiring, and reproducible agent sharing via OCI registries.
- Declarative multi-agent runtime with OCI sharing and MCP support
Official docker/docker-agent repository (4.7k+ stars, Apache-2.0) actively developed by Docker Engineering.
- Official
docker/docker-agentrepo (4.7k+ stars, Apache-2.0)
Well-structured documentation site at docker.github.io/docker-agent/ and bundled SKILL.md.
- Official docs site and
SKILL.md
Security, Auth & Guardrails
Reads provider API keys (ANTHROPIC_API_KEY, OPENAI_API_KEY, GOOGLE_API_KEY) from environment variables or Docker Desktop settings.
CLI is free (Apache-2.0); running cloud LLMs incurs API token usage with your chosen model provider.
# Docker Agent CLI Rules - Review `agent.yaml` toolsets and MCP permissions before running `docker-agent run`. - Run untrusted agent configs inside isolated workspaces or containers. - Pass explicit model provider keys (`ANTHROPIC_API_KEY` / `OPENAI_API_KEY`) with spend limits.
Agent-Ready Command Recipes
Safe Read-Only Queries
docker-agent --version
Prints the installed docker-agent runtime version.
docker-agent --help
Displays agent run, build, share, and evaluation commands.
Controlled Writes & Previews
docker-agent run ./agent.yaml
Launches the agent team defined in agent.yaml using configured provider keys.
Strengths for Agents
- + Declarative YAML/HCL agent definitions with built-in MCP toolset wiring.
- + Available standalone (
brew install docker-agent) and pre-bundled in Docker Desktop (docker agent). - + Ships official
SKILL.mdand has strong adoption (4.7k+ stars, 1.6k+ Homebrew installs).
Caveats & Pitfalls
- ! Plugin/CLI naming transitioned across
cagent,docker agent, anddocker-agentdepending on installation path. - ! Requires external LLM API keys or local model runtime to execute agent tasks.
Official References
Tested Agent Hosts
Follow Ecosystem Links
Related CLIs in Agent Bridges & Meta
View category hub →Python CLI (`gitingest`) to convert any local directory or Git URL into a prompt-ready text digest.
Turns any website into a deterministic CLI (`opencli`) reusing your logged-in Chrome session with JSON stdout.
Official Google Chrome DevTools MCP server (`chrome-devtools-mcp`) for live CDP inspection and performance traces.
GitHub Spec Kit CLI (`specify`) scaffolding spec-driven AI development workflows into repositories.
Analyze AI coding CLI token usage and costs from local JSONL logs (`ccusage`) with `--json`.