Skip to content

stut/cagent

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4,333 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

πŸ€– Docker cagent πŸ€–

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

cagent in action

What is Docker cagent?

Docker cagent lets you create and run intelligent AI agents that collaborate to solve complex problems β€” no code required. 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
cagent 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.49+) β€” cagent is pre-installed. Just run cagent.

Homebrew β€” brew install cagent

Binary releases β€” Download from GitHub Releases.

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.

Quick Start

# Run the default agent
cagent run

# Run from the agent catalog
cagent run agentcatalog/pirate

# Generate a new agent interactively
cagent new

# Run your own config
cagent run agent.yaml

More examples in the examples/ directory.

Documentation

πŸ“– Full documentation

Contributing

Read the Contributing guide to get started. We use cagent to build cagent:

cagent run ./golang_developer.yaml

Telemetry

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

Community

Docker Community Slack Β· #cagent channel

About

Agent Builder and Runtime by Docker Engineering

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Go 99.0%
  • Other 1.0%