agent-io 0.3.2

A Rust SDK for building AI agents with multi-provider LLM support
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! Agent core implementation

mod builder;
mod compaction;
mod config;
mod events;
mod service;

pub use builder::AgentBuilder;
pub use compaction::*;
pub use config::{AgentConfig, DEFAULT_MAX_ITERATIONS, EphemeralConfig};
pub use events::*;
pub use service::Agent;

/// Default threshold ratio for context compaction
pub const DEFAULT_COMPACTION_THRESHOLD: f32 = 0.80;