Share feedback
Answers are generated based on the documentation.

Lab: Getting Started with cagent

This lab walks you through building intelligent agents with cagent. You'll learn beginner agent concepts, then build sophisticated multi-agent teams that handle complex real-world tasks. Learn how to create, share, and orchestrate AI agents with Docker.

What you'll learn

  • Create simple agents with cagent
  • Use built-in generic agentic tools for common tasks
  • Integrate MCP servers from the MCP Toolkit
  • Share agents using the Docker Registry
  • Build multi-agent systems for complex workflows
  • Use Docker Model Runner with cagent (preview)

Modules

#ModuleDescription
1IntroductionOverview of cagent and intelligent agent concepts
2Getting StartedCreate your first agent with cagent
3Using Built-in ToolsLeverage the generic agentic tools in cagent
4Using MCPIntegrate MCP servers from the MCP Toolkit
5Sharing AgentsPackage and share agents via Docker Registry
6Introduction to Sub-agentsBuild multi-agent systems with sub-agent orchestration
7ConclusionSummary and next steps

Prerequisites

  • Latest version of Docker Desktop
  • Basic familiarity with Docker

Launch the lab

Start the labspace:

$ docker compose -f oci://dockersamples/labspace-cagent up -d

Then open your browser to http://localhost:3030.