Skip to main content

Module config

Module config 

Source
Expand description

Agent construction settings and backend runtime policies. Validated passive configuration for Agent construction.

Constructing these values performs no process startup or network I/O. crate::AgentBuilder::build owns that work. Choose one BackendConfig, set lifecycle and prompt admission bounds, then resupply integrations when reopening an existing Agent. Workspace and prompt defaults remain separate.

Structs§

AgentConfig
Portable agent-wide runtime configuration.
CodexConfig
Selects how an agent connects to a Codex app server.
CustomAgentConfig
Passive policy for the provider-backed Custom runtime.
CustomLoopLimits
Bounded work admitted by one Custom prompt.
OpenCodeConfig
Selects Kit-owned spawning or exclusive attachment for OpenCode.

Enums§

BackendConfig
Chooses one backend and carries only that backend’s passive configuration.
CustomToolApproval
Approval behavior for model-requested tool actions.