https://github.com/docker/docker-agent
AI Agent Builder and Runtime by Docker Engineering
https://github.com/docker/docker-agent
agents ai
Last synced: about 14 hours ago
JSON representation
AI Agent Builder and Runtime by Docker Engineering
- Host: GitHub
- URL: https://github.com/docker/docker-agent
- Owner: docker
- License: apache-2.0
- Created: 2025-09-01T12:14:45.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2026-03-06T13:48:26.000Z (about 1 month ago)
- Last Synced: 2026-03-06T13:51:41.087Z (about 1 month ago)
- Topics: agents, ai
- Language: Go
- Homepage: https://docker.github.io/docker-agent/
- Size: 55.8 MB
- Stars: 2,070
- Watchers: 13
- Forks: 263
- Open Issues: 50
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
- Security: .github/SECURITY.md
- Agents: AGENTS.md
Awesome Lists containing this project
- awesome-ccamel - docker/docker-agent - AI Agent Builder and Runtime by Docker Engineering (Go)
README
# 🤖 Docker Agent 🤖
> Build, run, and share AI agents with a declarative YAML config, rich tool ecosystem, and multi-agent orchestration.

## 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.
```yaml
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
```
```sh
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](https://modelcontextprotocol.io/) server (local, remote, or Docker-based)
- **AI provider agnostic** — OpenAI, Anthropic, Gemini, AWS Bedrock, Mistral, xAI, [Docker Model Runner](https://docs.docker.com/ai/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`.
**Homebrew** — `brew 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](https://github.com/docker/docker-agent/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](https://docs.docker.com/ai/model-runner/) for local models):
```sh
export OPENAI_API_KEY=sk-... # or ANTHROPIC_API_KEY, GOOGLE_API_KEY, etc.
```
## Quick Start
```sh
# 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/`](examples/README.md) directory.
## Documentation
📖 **[Full documentation](https://docker.github.io/docker-agent/)**
- [Installation](https://docker.github.io/docker-agent/getting-started/installation) · [Quick Start](https://docker.github.io/docker-agent/getting-started/quickstart)
- [Agents](https://docker.github.io/docker-agent/concepts/agents) · [Models](https://docker.github.io/docker-agent/concepts/models) · [Tools](https://docker.github.io/docker-agent/concepts/tools) · [Multi-Agent](https://docker.github.io/docker-agent/concepts/multi-agent)
- [Configuration Reference](https://docker.github.io/docker-agent/configuration/overview)
- [TUI](https://docker.github.io/docker-agent/features/tui) · [CLI](https://docker.github.io/docker-agent/features/cli) · [MCP Mode](https://docker.github.io/docker-agent/features/mcp-mode) · [RAG](https://docker.github.io/docker-agent/features/rag)
- [Model Providers](https://docker.github.io/docker-agent/providers/overview) · [Docker Model Runner](https://docker.github.io/docker-agent/providers/dmr)
## Contributing
Read the [Contributing guide](https://docker.github.io/docker-agent/community/contributing) to get started. We use `docker-agent` to build `docker-agent`:
```sh
docker agent run ./golang_developer.yaml
```
## Telemetry
We collect anonymous usage data to improve the tool. See [Telemetry](https://docker.github.io/docker-agent/community/telemetry).
## Community
[Docker Community Slack](http://dockr.ly/comm-slack) · [#docker-agent channel](https://dockercommunity.slack.com/archives/C09DASHHRU4)