#![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};