Install
- Rust crate
- Python
- TypeScript
- CLI
Cargo.toml
Run an agent
- Rust
- Python
- TypeScript
- CLI
Switch providers
Same code, different model. The provider is inferred from the model name:Add tools
Register an MCP server and its tools are available to the agent immediately:Enforce budgets
Cap token usage, wall-clock time, or tool calls:What’s next
- Examples — worked examples with tools, sessions, structured output
- Providers — model tables and provider parameters
- Rust SDK / Python SDK / TypeScript SDK — full API reference
