Quick Start
1
Declare Required Capabilities
Specify what your agent needs — the framework validates this before execution:
2
Prefer a Specific Runtime with Fallback
Request a specific runtime but allow fallback if unavailable:
Which Runtime Option Fits?
Pick the smallest option that expresses your requirement.How It Works
Configuration Options
RuntimeConfig SDK Reference
Full parameter reference for RuntimeConfig
Common Patterns
Require streaming capability:Best Practices
Use validate_on_creation=True for production
Use validate_on_creation=True for production
Fail-fast validation (the default) catches capability mismatches immediately when the agent is created, not mid-execution. This prevents hard-to-debug runtime failures.
Set fallback_allowed=False for strict requirements
Set fallback_allowed=False for strict requirements
If your agent genuinely cannot function without a specific capability (e.g., MCP tools), set
fallback_allowed=False. This gives a clear error instead of silently falling back to a degraded runtime.Use the docs for available capability names
Use the docs for available capability names
Check the Runtime Capabilities page for the list of valid capability names supported by each runtime.
Related
Runtime Capabilities
List of all available runtime capabilities
Runtime Preflight
Pre-execution runtime validation
Runtime MCP
MCP tool runtime configuration
Agent Runtime Protocol
How agents communicate with runtimes

