Skip to main content

Module agent

Module agent 

Source

Modules§

error
session_config
shadow_sentinel
ShadowSentinel: persistent safety memory stream + LLM-based pre-execution probe.
slash_commands
Slash command helpers for Agent<C>.
speculative
Speculative tool execution engine.
trajectory
Trajectory risk sentinel: accumulates risk signals across turns and exposes an advisory RiskLevel consumed by PolicyGateExecutor.
turn
Per-turn state carrier for the agent loop.

Structs§

Agent
Zeph agent: autonomous AI system with multi-model inference, semantic memory, skills, tool orchestration, and multi-channel I/O.
DurableKeyMaterial
Key material and integrity-seal state shared by every durable-backend construction call site: open_durable_backend, the P1/P2 AgentBuilder::with_durable_* methods (builder.rs), and their reassembly points in Agent::ensure_session_durable_ctx and plan.rs’s ensure_durable_backend (#6458).
SecurityWiringSnapshot
Bool snapshot of which security-relevant AgentBuilder setters have been applied.
SkillConfigParams
Skill-subsystem config values applied identically at every Agent construction entry point.

Enums§

ContextBudgetSource
How the effective context-token budget was determined by resolve_context_budget_tokens.

Functions§

resolve_context_budget_tokens
Resolve the effective context-token budget, shared by initial startup (AppBuilder::auto_budget_tokens) and config hot-reload (resolve_context_budget).