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.Try it from a terminal
The crate ships a binary.list and chat are the same calls as above,
and their source is
src/bin/anyagent.rs.
Next
Core API
The full public interface on one page.
Building an app
Threads, streaming, permissions, model picker, persistence.