Skip to main content

Crate agentyk_engine

Crate agentyk_engine 

Source
Expand description

The canonical Agentyk turn engine.

This crate owns Agent, Session, and the one interpretation of turn semantics shared by immediate and durable execution hosts. Applications normally depend on the agentyk facade, which re-exports this crate.

Re-exports§

pub use agent::Agent;
pub use agent::AgentBuilder;
pub use agent::AgentDefinition;
pub use agent::AgentEnvironment;
pub use engine::HookRejection;
pub use engine::PreparedStep;
pub use engine::PreparedToolCall;
pub use engine::PreparedTurnStart;
pub use engine::TurnEngine;
pub use engine::TurnOperation;
pub use host::TurnHost;
pub use host::TurnResult;
pub use in_process::InProcessExecutor;
pub use session::RunOptions;
pub use session::Session;
pub use session::SessionView;

Modules§

agent
Agent — a composed value, not a record.
engine
Canonical one-step turn semantics shared by every execution host.
host
Per-run host context and the single event recording path.
in_process
The in-process host for the canonical turn engine.
session
Session — a conversation with an agent.