Examples
Annotated Agent Format examples covering common patterns. Each example is a complete .agf.yaml file you can use as a starting point.
| Example | Policy | Description |
|---|---|---|
| Minimal Agent | agf.react | Smallest valid definition — good for learning the format |
| ReAct Agent | agf.react | Tool-using agent with budget constraints |
| Sequential Pipeline | agf.sequential | Multi-agent pipeline with input/output mapping |
| Enterprise Agent | agf.react | Full governance: approval gates, budgets, MCP servers |
Scaffold with the CLI
info
The agf CLI will be publicly available soon. See the CLI Reference for the command reference.
agf init # minimal template
agf init --template react # ReAct agent with tools
agf init --template pipeline # sequential pipeline
agf init --template enterprise # full governance
agf init --template remote # remote A2A agents
Try in the Playground
Paste any example into the Playground to validate it against the JSON Schema in real time.