agent-base 0.1.0

A lightweight Agent Runtime Kernel for building AI agents in Rust
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
mod approval;
mod builder;
mod context;
mod middleware;
mod recovery;
mod runtime;
mod session;
mod session_store;

pub use approval::{AllowAllApprovalHandler, ApprovalHandler, DenyAllApprovalHandler};
pub use builder::AgentBuilder;
pub use context::ContextWindowManager;
pub use middleware::{Middleware, PostLlmCtx, PreLlmCtx, UserMessageCtx};
pub use recovery::{RetryOnError, StopOnError, ToolErrorAction, ToolErrorRecovery};
pub use runtime::AgentRuntime;
pub use session::AgentSession;
pub use session_store::{InMemorySessionStore, SessionStore};
pub use crate::types::{AgentResult, ApprovalDecision, ApprovalRequest, RiskLevel, SessionId};