No description
Find a file
David Gageot dc8062bdae
Merge pull request #2319 from krissetto/dont-kill-agent
Exempt background-agent polling from loop-termination detection
2026-04-04 19:02:11 +02:00
.agents/skills/bump-go-dependencies Replace kin-openapi with pb33f/libopenapi for OpenAPI parsing 2026-04-01 09:35:02 +02:00
.devcontainer devcontainer support 2025-09-05 22:31:52 +00:00
.github Port to mise 2026-03-31 14:17:49 +02:00
.mise Port to mise 2026-03-31 14:17:49 +02:00
cmd/root Merge pull request #2304 from masegraye/task/cagent 2026-04-01 17:56:53 +02:00
docs Docs: Add Ctrl+H help reference to existing shortcuts table 2026-04-01 09:15:09 -05:00
e2e Hide agent name header when stdout is not a TTY 2026-03-20 18:52:42 +01:00
examples fix: replace removed claude-3-7-sonnet-latest alias in examples 2026-04-03 09:11:41 +02:00
lint Add custom linter to enforce config version import chain 2026-03-23 15:17:31 +01:00
pkg exempt background-agent polling from loop-termination detection 2026-04-04 16:35:50 +02:00
.dockerignore Remove duplication from config.Resolv 2026-02-14 10:36:53 +01:00
.env.test Port to mise 2026-03-31 14:17:49 +02:00
.gitattributes Make sure to stop the whole process group 2025-10-23 16:51:28 +02:00
.gitignore Add Ctrl+? to status bar help bindings 2026-04-01 08:48:17 -05:00
.golangci.yml Enable bodyclose, makezero, and sqlclosecheck linters 2026-03-23 08:14:09 +01:00
agent-schema.json gemini: add google_search, google_maps, and code_execution provider_opts 2026-03-29 19:36:14 +02:00
AGENTS.md Port to mise 2026-03-31 14:17:49 +02:00
CHANGELOG.md docs: update CHANGELOG.md for v1.42.0 2026-04-03 13:28:07 +00:00
docker-compose.yaml Some basic opentelemetry 2025-08-21 09:53:50 +02:00
Dockerfile Add custom linter to enforce config version import chain 2026-03-23 15:17:31 +01:00
go.mod Fix docker run --sandbox 2026-04-01 11:57:45 +02:00
go.sum Replace kin-openapi with pb33f/libopenapi for OpenAPI parsing 2026-04-01 09:35:02 +02:00
golang_developer.yaml Port to mise 2026-03-31 14:17:49 +02:00
LICENSE Add License 2025-07-18 19:41:53 +02:00
main.go Remove package to github.com/docker/docker-agent 2026-03-09 12:04:59 +01:00
mise.toml Port to mise 2026-03-31 14:17:49 +02:00
README.md Update Slack link in README 2026-03-10 09:40:21 -04:00
SECURITY.md Update docs and samples to rename docker-agent, change usage samples to docker agent 2026-03-04 16:40:39 +01:00

🤖 Docker Agent 🤖

Build, run, and share AI agents with a declarative YAML config, rich tool ecosystem, and multi-agent orchestration.

docker agent in action

What is Docker Agent?

docker-agent lets you create and run intelligent AI agents that collaborate to solve complex problems — no code required.

docker-agent is a docker CLI plugin and can be run with docker agent.

Define agents in YAML, give them tools, and let them work.

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
docker agent run agent.yaml

Key Features

  • Multi-agent architecture — Create teams of specialized agents that delegate tasks automatically
  • Rich tool ecosystem — Built-in tools + any MCP server (local, remote, or Docker-based)
  • AI provider agnostic — OpenAI, Anthropic, Gemini, AWS Bedrock, Mistral, xAI, Docker Model Runner, and more
  • YAML configuration — Declarative, versionable, shareable
  • Advanced reasoning — Built-in think, todo, and memory tools
  • RAG — Pluggable retrieval with BM25, embeddings, hybrid search, and reranking
  • Package & share — Push agents to any OCI registry, pull and run them anywhere

Install

Docker Desktop (4.63+) — docker-agent CLI plugin is pre-installed. Just run docker agent.

Homebrewbrew install docker-agent. Run docker-agent directly or symlink the binary to ~/.docker/cli-plugins/docker-agent and run docker agent.

Binary releases — Download from GitHub Releases. Symlink the docker-agent binary to ~/.docker/cli-plugins/docker-agent to be able to use docker agent, or use docker-agent directly.

Set at least one API key (or use Docker Model Runner for local models):

export OPENAI_API_KEY=sk-...        # or ANTHROPIC_API_KEY, GOOGLE_API_KEY, etc.

Quick Start

# Run the default agent
docker agent run

# Run from the agent catalog
docker agent run agentcatalog/pirate

# Generate a new agent interactively
docker agent new

# Run your own config
docker agent run agent.yaml

More examples in the examples/ directory.

Documentation

📖 Full documentation

Contributing

Read the Contributing guide to get started. We use docker-agent to build docker-agent:

docker agent run ./golang_developer.yaml

Telemetry

We collect anonymous usage data to improve the tool. See Telemetry.

Community

Docker Community Slack · #docker-agent channel