Skip to main content

Module config

Module config 

Source
Expand description

Agent-loop configuration. Agent loop configuration types

Re-exports§

pub use crate::config::ToolExecutionMode;
pub use crate::stream_retry::BACKOFF_BASE_SECS;
pub use crate::stream_retry::MAX_RETRIES;

Structs§

AgentLoopConfig
Configuration for an crate::AgentLoop instance.
ApprovalConfig
Configuration for the approval/tier system.
SoftRequirement
Soft requirement: a tool the agent should ideally call. First miss → reminder; second miss → escalation.
SoftRequirementState
State for soft requirement tracking across turns.

Enums§

ApprovalDecision
Decision returned by the approval hook for a tool call.

Type Aliases§

AfterToolCallHook
Hook invoked after each tool call; may return a modified result.
ApprovalHook
Async hook invoked before tool execution to check approval.
BeforeToolCallHook
Hook invoked before each tool call; may return an override result.
CompactionHook
Async hook invoked after context compaction completes.