Skip to main content
Demonstrates creating a functional agent with typed IoConfig inputs/outputs and tool references in instructions using {{}} placeholders (v2 feature, shown here for illustration). Note: {{}} template validation is a v2 feature. In v1, instructions are plain strings and {{}} references are passed through as-is.
Source: examples/agents/02_functional_agent_with_io.py in the SDK repo.