agentyk_engine/lib.rs
1//! The canonical Agentyk turn engine.
2//!
3//! This crate owns [`Agent`], [`Session`], and the one interpretation of turn
4//! semantics shared by immediate and durable execution hosts. Applications
5//! normally depend on the `agentyk` facade, which re-exports this crate.
6
7pub mod agent;
8pub mod engine;
9pub mod host;
10pub mod in_process;
11pub mod session;
12
13mod config;
14mod hooks;
15
16pub use agent::{Agent, AgentBuilder, AgentDefinition, AgentEnvironment};
17pub use engine::{
18 HookRejection, PreparedStep, PreparedToolCall, PreparedTurnStart, TurnEngine, TurnOperation,
19};
20pub use host::{TurnHost, TurnResult};
21pub use in_process::InProcessExecutor;
22pub use session::{RunOptions, Session, SessionView};