No description
  • Go 99.3%
  • HTML 0.2%
  • CSS 0.2%
  • Shell 0.2%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
David Gageot 5683379ca3
Merge pull request #4174 from dgageot/worktree-board-825ca87b94432694
feat(debug): accept positional flavors on `debug config`
2026-09-06 00:14:46 +02:00
.agents/skills feat: add signed-commits checking to triage-prs skill 2026-08-04 07:22:33 +00:00
.devcontainer devcontainer support 2025-09-05 22:31:52 +00:00
.github ci: add scheduled models.dev live-catalog drift check 2026-09-03 14:50:06 +00:00
cmd feat: accept positional flavors on debug config 2026-09-04 18:02:15 +02:00
docs feat: accept positional flavors on debug config 2026-09-04 18:02:15 +02:00
e2e fix(debug): stream text output and isolate --json flags 2026-09-04 16:31:49 +02:00
examples feat(rag): decouple indexing from caller timeout via indexing_timeout config 2026-09-04 13:46:03 +00:00
lint lint: flag DNS resolution (net.Lookup* / Resolver.Lookup*) in constructors 2026-07-08 17:39:44 +02:00
pkg Merge pull request #4172 from docker/feat/4073-rag-indexing-timeout 2026-09-04 15:59:28 +02:00
scripts ci(update-models): sign refresh commits, add semantic catalog diff 2026-09-02 15:08:34 +00:00
.dockerignore fix(docker): whitelist the moved built-in agents in .dockerignore 2026-09-04 09:29:10 +02:00
.env.test feat: add OpenRouter provider 2026-06-30 18:42:48 +02:00
.gitattributes Make sure to stop the whole process group 2025-10-23 16:51:28 +02:00
.gitignore fix: address all Sayt-0 review comments (blockers + minor) 2026-06-29 17:13:40 +02:00
.golangci.yml Upgrade linter configuration 2026-09-02 15:10:33 +02:00
agent-schema.json Merge pull request #4172 from docker/feat/4073-rag-indexing-timeout 2026-09-04 15:59:28 +02:00
AGENTS.md chore: remove agentcatalog references, use neutral myorg/agent placeholders 2026-07-23 13:06:52 +02:00
CHANGELOG.md docs: update CHANGELOG.md for v1.133.0 2026-09-04 13:26:30 +00:00
docker-compose.yaml Some basic opentelemetry 2025-08-21 09:53:50 +02:00
Dockerfile chore: upgrade to Go 1.27.0 and apply 1.27 modernizations 2026-08-23 09:35:49 +00:00
go.mod feat(share): sign or encrypt agent YAML in OCI artifacts with --key 2026-09-03 15:48:25 +02:00
go.sum bump github.com/openai/openai-go/v3 from v3.52.0 to v3.54.0 2026-08-31 14:41:20 +02:00
golang_developer.yaml feat: optimize GPT-5.6 defaults and reasoning 2026-07-10 11:38:14 +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
README.md chore: remove agentcatalog references, use neutral myorg/agent placeholders 2026-07-23 13:06:52 +02: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
Taskfile.yml ci: add scheduled models.dev live-catalog drift check 2026-09-03 14:50:06 +00: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.

See Set Up a Model for the full walkthrough of both paths (cloud API key or local model).

Quick Start

# Run the default agent
docker agent run

# Run from an OCI registry
docker agent run myorg/agent:tag

# 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