Introduction

Docker Agent is a multi-agent runtime that lets you build, run, and share AI agents with a YAML or HCL config — no glue code required.

What is Docker Agent?

Docker Agent is an open-source tool from Docker that orchestrates AI agents with specialized capabilities and tools. Instead of writing code to wire up LLMs, tools, and workflows, you declare your agents in YAML or HCL — their model, personality, tools, and how they collaborate — and Docker Agent handles the rest.

🏗️

Multi-Agent Architecture

Build hierarchical teams of agents that specialize in different tasks and delegate work to each other.

🔧

Rich Tool Ecosystem

Built-in tools for files, shell, memory, and todos. Extend with any MCP server from Docker's MCP catalog.

🧠

Multi-Model Support

OpenAI, Anthropic, Google Gemini, AWS Bedrock, Docker Model Runner, and reusable provider definitions with shared defaults.

📦

Package & Share

Push agents to OCI registries and pull them anywhere — just like Docker images.

🖥️

Multiple Interfaces

Interactive TUI, headless CLI, HTTP API server, MCP mode, and A2A protocol support.

🔒

Security-First Design

Tool confirmation prompts, containerized MCP tools via Docker, client isolation, and resource scoping.

Why Docker Agent?

After spending years building AI agents using various frameworks, the Docker team kept asking the same questions:

Docker Agent is built in the open so the community can make use of this work and contribute to its future.

How it works

At its core, Docker Agent follows a simple loop:

  1. You define agents in YAML or HCL — their model, instructions, tools, and sub-agents.
  2. You run an agent via the TUI, CLI, or API.
  3. The agent processes your request — calling tools, delegating to sub-agents, and reasoning step by step.
  4. Results stream back in real-time via an event-driven architecture.
# A minimal agent definition
agents:
  root:
    model: openai/gpt-5-mini
    description: A helpful assistant
    instruction: You are a helpful assistant.
    toolsets:
      - type: think
# Run it
$ docker agent run agent.yaml
Tip

Jump straight to the Quick Start if you want to build your first agent right away.

What’s next?