Install
- CLI
- Python
- TypeScript
- Rust crate
- Cargo
The Homebrew tap supports macOS and Linux. On Linux, install Homebrew first from the Homebrew on Linux instructions, then use the same tap command.
Run an agent
- Rust
- Python
- TypeScript
- CLI
To share state across processes/surfaces, pass the same explicit realm (
--realm for CLI, realm_id/realmId for SDK clients). See realms.Switch providers
Same code, different model. The provider is resolved from the model registry: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 gallery — the central real-code hub after your first successful run
- Sessions example — the best next stop if you want the core multi-turn flow first
- Auth — environment vars, realms, bindings, and OAuth flows
- Providers — model tables and provider parameters
- Rust SDK / Python SDK / TypeScript SDK — full API reference
For a maintained repository starter, see the Rust example in the Meerkat repository under
meerkat/examples/simple.rs.