Skip to main content

Examples

Annotated Agent Format examples covering common patterns. Each example is a complete .agf.yaml file you can use as a starting point.

ExamplePolicyDescription
Minimal Agentagf.reactSmallest valid definition — good for learning the format
ReAct Agentagf.reactTool-using agent with budget constraints
Sequential Pipelineagf.sequentialMulti-agent pipeline with input/output mapping
Enterprise Agentagf.reactFull 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.