Requirements
- Rust 1.88 or newer (edition 2024)
- A supported agent installed and logged in
- A Tokio runtime
Install
Cargo.toml:
Cargo.toml
One turn
src/main.rs
Session is cheap to clone and every clone talks to the same engine task, so
you can prompt from one task while another drains Events.Run the examples
The repo’sexamples/
folder has three small programs that run against the agents on your machine:
Next
Core API
The full public interface on one page.
Building an app
Threads, streaming, permissions, model picker, persistence.