Tutorials
Each tutorial is self-contained and focuses on one capability. They assume you've completed the Quick Start.
- Building a swarm — an explicit multi-agent topology, per-agent models, and reading the full reasoning trace.
- Writing a custom agent — subclass
Agentand supply your own reasoning, no DSPy required. - Writing a custom tool — give agents a real capability to call, from a bare
function to a full
Connector. - Connecting an MCP server — mount a Model Context Protocol server's tools onto an agent.
- Writing a custom router — control which model each agent uses.
- Human-in-the-loop — pause a run for review and resume it, with or without edits.
- Streaming a run's events — consume a run's progress as it happens.