Documentation
¶
Overview ¶
Example: team_deploy — Deploy multi-agent teams from YAML with sandbox isolation.
This example shows how to:
- Load a team deployment config from YAML
- Build agents with tools defined in YAML
- Run a team in a sandboxed process environment
- Use both sequential pipeline and coordinator strategies
What you'll learn:
- YAML-driven agent and team configuration
- Sandbox-backed tool execution for safe agent autonomy
- Sequential vs. coordinator team strategies
- Deploying a full coding team from config
Prerequisites:
- Go 1.22+
- Set OPENAI_API_KEY for real LLM responses (mock fallback available)
Run:
go run ./examples/team_deploy/
Or via CLI:
go run ./cli/main.go deploy examples/team_deploy/deploy.yaml "Add error handling to the API"
Click to show internal directories.
Click to hide internal directories.