Quick Start
1
Simple Usage
2
With Preferred Runtime
How It Works
Configuration Options
Full list of options, types, and defaults —
RuntimeConfigCommon Patterns
Pattern 1 — Streaming-capable agent
Pattern 2 — MCP-tools agent with strict requirements
Best Practices
Use validate_on_creation=True
Use validate_on_creation=True
Keeping
validate_on_creation=True (the default) surfaces capability mismatches immediately when the agent is created, not halfway through a task. This prevents silent degradation.Allow fallback for resilience
Allow fallback for resilience
Set
fallback_allowed=True unless your agent strictly requires a specific runtime. Fallback lets the agent work even in environments where the preferred runtime isn’t installed.Check available capabilities
Check available capabilities
Capability names include
streaming_deltas, tool_loop, mcp_tools, native_hooks. Use only documented capability names to ensure forward compatibility.Related
Runtime Capabilities — full capabilities reference
Execution — control iteration limits and budget

