troupekit-agent 0.3.2

Persona TOML agents for the Troupekit LLM agent framework: loader, checkpointable run state machine, typed output, evals and budgets.
Documentation
//! Persona TOML agents for Troupekit: a layered persona loader with strict
//! validation, and `AgentRun`, a serializable state machine the host steps
//! and checkpoints, with concurrent allowed tools, typed output, evals with
//! one repair round, layered budgets and core events.

#![doc(
    html_logo_url = "https://raw.githubusercontent.com/ChaoticQubit/troupekit/main/assets/brand/logo-mark.svg",
    html_favicon_url = "https://raw.githubusercontent.com/ChaoticQubit/troupekit/main/assets/brand/favicon.svg"
)]

pub mod budget;
pub mod dsl;
pub mod error;
pub mod eval;
pub mod io;
pub mod loader;
pub mod persona;
pub mod run;
pub mod schema;

pub use io::{AgentIo, EventSink, ModelHandle, SimpleIo, VecSink};
pub use run::{drive, AgentRun, PendingCall, RunState, StepOutcome, RUN_FORMAT};

pub use budget::{InMemoryLedger, Limits, PeriodLimit, UsageLedger};
pub use dsl::{parse_call, Call};
pub use error::{AgentError, PersonaError};
pub use eval::{EvalFn, EvalRegistry};
pub use loader::{builtin, DirSource, MemorySource, PersonaLoader, PersonaSource};
pub use persona::{Budget, Persona, DEFAULT_MAX_TOKENS, DEFAULT_MAX_TURNS};
pub use schema::{compile_output, validate};