Module agent

Module agent 

Source
Expand description

Agent execution engine.

Structs§

Agent
AgentBuilder
Fluent builder for constructing crate::Agent instances with custom configuration.
AgentConfig
Complete agent configuration combining all domain configs.
AgentMetrics
AgentModelConfig
Model-related configuration.
AgentResult
Result of agent execution.
BudgetConfig
Budget and cost control configuration.
CacheConfig
Cache configuration for prompt caching.
ExecutionConfig
Execution behavior configuration.
PromptConfig
Prompt and output configuration.
SecurityConfig
Security and permission configuration.
TaskInput
TaskOutput
TaskOutputInput
TaskOutputResult
TaskOutputTool
TaskRegistry
TaskTool
ToolCallRecord
ToolStats

Enums§

AgentEvent
Events emitted during agent execution.
AgentState
CacheStrategy
Cache strategy determining which content types to cache.
SystemPromptMode
TaskStatus

Constants§

DEFAULT_COMPACT_KEEP_MESSAGES
Default number of messages to preserve during context compaction.