Docker Agent
Summary
Docker 与 GitHub 上的 docker-agent 开源项目发布了一款 Docker CLI 插件,可通过声明式 YAML 配置构建、运行和分享 AI 智能体,支持多智能体编排、MCP 工具生态、RAG 检索以及多模型供应商。
View Cached Full Text
Cached at: 10/08/26, 12:42 PM
docker/docker-agent
Source: https://github.com/docker/docker-agent
🤖 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.
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.
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. 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
- Installation · Set Up a Model · Quick Start
- Agents · Models · Tools · Multi-Agent
- Configuration Reference
- TUI · CLI · MCP Mode · RAG
- Model Providers · Docker Model Runner
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
Similar Articles
Introducing Agent Plugins
AWS, Cursor, GitHub, Microsoft, OpenAI, and Vercel jointly launched Agent Plugins—an open, vendor-neutral packaging format for agent extensions, designed to unify the packaging and discovery of skills and MCP servers, promoting reuse across products.
Build Hour: Agents SDK
OpenAI released a major update to the Agents SDK, introducing a Codex-style runtime framework, separation of sandbox and runtime, memory, skills, and other features. It also launched managed Shell tools, container endpoints, a skills API, and a TypeScript version, aiming to simplify building and deploying production-grade agents.
@wsl8297: Microsoft open-sourced a more convenient VS Code extension: AI Toolkit, which streamlines Agent application development from environment setup to evaluation deployment in one go. A single interface is enough: model selection, Playground trial, Agent building, batch comparison, metric evaluation, all integrated. Gi…
Microsoft open-sourced the VS Code extension AI Toolkit, which integrates model selection, Playground, Agent building, batch testing, and evaluation into one interface, simplifying AI Agent development process.
@GitHub_Daily: Using AI agents for production-grade tasks—writing code, running workflows, calling APIs—works fine initially, but as the scale grows, things easily get out of control: permissions too broad, context loss, and debugging becomes impossible. That's where agents-best-practices comes in: a complete guide to designing a runtime framework for AI agents, not limited to coding scenarios, but also applicable to operations, sales...
Introduces the agents-best-practices repository, a production-grade AI agent runtime framework design guide covering tool permission tiers, context compression, etc., supporting Codex and Claude Code installation.
@Xudong07452910: Open-source framework recommendation: Agency Agents — 232 professional AI agents, divided by function, covering 16 business departments. If you've used Claude Code or Codex, you may have encountered this problem: AI is very capable at coding tasks, but when it comes to front-end design, writing marketing...
Agency Agents is an open-source framework providing 232 professional AI agents covering 16 business departments. Each agent has a unique personality, communication style, and delivery standards. It supports multiple development tools such as Claude Code, GitHub Copilot, and has community-translated versions.