Skip to main content

Module agent

Module agent 

Source
Expand description

Agent lifecycle, context, prompting, policies, and turn execution. Agent lifecycle, context management, prompting, policies, and turn execution.

Re-exports§

pub use context::MemoryInjector;
pub use context::SkillInjector;
pub use runtime::AgentRuntime;
pub use runtime::AgentSession;
pub use runtime::TurnHandle;
pub use turn::TurnEvent;
pub use turn::TurnInputReceiver;
pub use turn::TurnInputSender;
pub use turn::TurnResult;
pub use turn::turn_input_channel;

Modules§

compaction
Conversation compaction — keep the working context small enough to fit.
context
policies
Stable, semantic policy extension points for the agent runtime.
prompt
Prompt system — modular, cache-aware construction of the system prompt.
runtime
Public agent runtime facade.
turn