Docker Agent

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

docker-agent is a Docker CLI plugin (docker agent) that lets you create and run intelligent AI agents that collaborate to solve complex problems without requiring application code.

Example configuration:

agents:
  root:
    model: openai/gpt-5-mini
    description: A helpful AI assistant
    instruction: |
      You are a knowledgeable assistant that helps users with various tasks.
    toolsets:
      - type: mcp
        ref: docker:duckduckgo
docker agent run agent.yaml

Key Features

  • Multi-agent architecture with automatic delegation
  • Built-in tools plus any MCP server (local, remote, or Docker-based)
  • Provider-agnostic models: OpenAI, Anthropic, Gemini, AWS Bedrock, Mistral, xAI, Docker Model Runner, and more
  • YAML configuration; think/todo/memory tools; pluggable RAG (BM25, embeddings, hybrid search, reranking)
  • Package and share agents via OCI registries

Install

Docker Desktop 4.63+ includes the plugin. Homebrew: brew install docker-agent. Binary releases on GitHub with symlink to ~/.docker/cli-plugins/docker-agent.

Documentation: https://docker.github.io/docker-agent/

Telemetry: anonymous usage data collected (opt-out documented).

Community: Docker Community Slack docker-agent channel.