Rust
Embed the huggler crate directly in an application running Tokio.
Use the Rust crate for the core runtime, agent orchestration, and optional application integrations. The crate requires Rust 1.94.1 or later and uses edition 2024.
Start here
- Rust quickstart walks through running a Codex turn and recovering the reply after reopening.
- Rust API lists runtime options, data types, and public entry points.
Build with Rust
- Configure providers with named installations and model discovery.
- Control threads with event streams, permission callbacks, queue controls, and attachments.
- Manage history and context with pagination, imports, forks, and Git checkpoints.
- Coordinate agents using peer threads, owned delegation, or provider-native children.
- Connect hosts and guests using the authenticated HTTP endpoints.
- Add application integrations for workspaces, schedules, repositories, or host services.