Expand description
Agent execution runtime: loop, stream handling, task evaluation.
Re-exports§
pub use agent::Agent;pub use agent::AgentBuilder;pub use complexity_classifier::ComplexityClassifier;pub use complexity_classifier::TaskComplexity;pub use config::ApprovalDelegate;pub use config::ChildApprovalOutcome;pub use config::ChildApprovalRequest;pub use config::DisabledFilterResolver;pub use config::DisabledFilterSets;pub use config::GoldConfig;pub use config::GuardianConfig;pub use config::GuardianSpawner;pub use config::ImageFallbackConfig;pub use config::ImageFallbackMode;pub use execution::runner_state::AgentRunner;pub use execution::runner_state::AgentStatus;pub use hooks::HookRunner;pub use managers::LifecycleManager;pub use managers::LlmManager;pub use managers::MemoryManager;pub use managers::MiniLoopExecutor;pub use managers::PromptManager;pub use managers::ToolManager;pub use model_roster::ModelRoster;pub use model_roster::RoleModel;pub use runtime::AgentRuntime;pub use runtime::AgentRuntimeBuilder;pub use runtime::ExecuteRequest;pub use runtime::ExecuteRequestBuilder;pub use task_context::TaskLoopContext;pub use task_evaluation::evaluate_task_progress;pub use task_evaluation::TaskEvaluationResult;
Modules§
- agent
- Stable public API for the agent runtime.
- complexity_
classifier - Task complexity classifier for dynamic model routing.
- config
- context
- Prompt context builders (extracted from server layer).
- execution
- Execution orchestration for background agent runs.
- goal_
state - Durable per-session goal state for the Codex-style goal loop.
- gold_
evaluation - guardian_
state - Durable per-session guardian-review state for the adversarial completion gate.
- hooks
- Hook runner — dispatches registered hooks at lifecycle points.
- managers
- Manager traits — abstract interfaces for the agent loop’s core responsibilities.
- model_
roster - Cohesive model/provider value object shared by the request/spawn param structs.
- runner
- Agent loop runner implementation.
- runtime
- Unified agent execution runtime.
- stream
- Streaming response handling
- task_
context - TaskList context for Agent Loop integration
- task_
evaluation
Structs§
- Lifecycle
Hook Test Output - Raw handler result returned by the settings dry-run endpoint.
- Script
Hook - One config-driven lifecycle script executed by an installed system runtime.
- Shell
Command Hook - One config-driven lifecycle shell command.
Enums§
- Lifecycle
Hook Event - User-facing lifecycle events that currently map to engine hook seams.
- Lifecycle
Script Runner - Runtime used to execute a lifecycle script.
Traits§
- Runtime
Session Persistence - Port for runtime (non-authoritative) session persistence.
Functions§
- test_
lifecycle_ handler - Execute one configured handler against a deterministic synthetic payload. Production runtime limits and output caps are preserved, while result interpretation is skipped so callers receive raw diagnostics.
- test_
lifecycle_ shell_ command - Backward-compatible command-only dry-run entry point.
Type Aliases§
- Shell
Hook Event - Backward-compatible name retained for SDK consumers.
- Shell
Hook Test Output - Backward-compatible name for the command-only dry-run response.