Expand description
Runtime configuration and cancellation state.
Configuration types for an AgentSession.
AgentConfig aggregates everything a session needs: model behaviour
(system prompt, optional iteration cap), execution environment (cwd, env), and the
pluggable extension points (policies, storage, compaction, permissions).
Structs§
- Agent
Config - Configuration for an
AgentSession. - Cancellation
State - Shared cancellation state for one agent runtime.
- Retry
Config - Retry behaviour for transient provider failures.
- Token
Budget - Token budget that triggers automatic compaction before the hard limit is hit.
Enums§
- Task
Path - Workflow path — the agent tailors its runtime behaviour and prompt guidance to match the expected scope and risk of the task.
Functions§
- platform_
base_ env - Return the small set of host environment variables needed for tools to launch platform-native child processes without inheriting the full process environment.