Docker Agent

Docker Agent

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

使用声明式 YAML 配置、丰富的工具生态系统以及多智能体编排来构建、运行和共享 AI 智能体。

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

docker-agent 让您可以创建并运行智能 AI 智能体,它们能够协作解决复杂问题——无需编写代码。

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

docker-agent 是一个 Docker CLI 插件,可以通过 docker agent 命令运行。

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

在 YAML 中定义智能体,为其提供工具,然后让它们开始工作。

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

Docker Desktop (4.63+) — docker-agent CLI 插件已预装。只需运行 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.

Homebrew — 使用 brew install docker-agent 安装。可以直接运行 docker-agent,或者将二进制文件软链接到 ~/.docker/cli-plugins/docker-agent 后运行 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.

二进制发行版 — 从 GitHub Releases 下载。将 docker-agent 二进制文件软链接到 ~/.docker/cli-plugins/docker-agent 以便使用 docker agent,或者直接使用 docker-agent。

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

至少设置一个 API 密钥(或使用 Docker Model Runner 运行本地模型):

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

请参阅“设置模型”(Set Up a Model)以获取这两种路径(云端 API 密钥或本地模型)的完整指南。

More examples in the examples/ directory.

更多示例请查看 examples/ 目录。

📖 Full documentation

📖 完整文档

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

阅读贡献指南以开始。我们使用 docker-agent 来构建 docker-agent:

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

我们收集匿名使用数据以改进此工具。请参阅遥测(Telemetry)。

Docker Community Slack · #docker-agent channel

Docker 社区 Slack · #docker-agent 频道

AI Agent Builder and Runtime by Docker Engineering

由 Docker 工程团队开发的 AI 智能体构建器与运行时