senno 0.2.0

Wits for your backend: provider-agnostic LLM client and streaming tool-calling agent engine, Vertex AI first (Gemini + Claude on Vertex), with built-in history compaction.
Documentation
mod compactor;
mod config;
mod engine;
#[cfg(feature = "axum")]
mod stream;
mod types;

pub use compactor::{HistoryCompactor, LlmSummaryCompactor};
pub use config::{AgentConfig, AgentConfigBuilder};
pub use engine::{AgentEngine, CompactionResult};
#[cfg(feature = "axum")]
pub use stream::to_sse_event;
pub use types::*;

use crate::provider::LlmProvider;
use std::sync::Arc;

pub fn get_agent_engine(provider: impl LlmProvider + 'static, config: AgentConfig) -> AgentEngine {
    AgentEngine::new(Arc::new(provider), config)
}