Module agent

Module agent 

Source

Re-exports§

pub use error::AgentResultError;

Modules§

error
memory
prebuilt
task

Structs§

ActorAgent
ActorAgentHandle
Handle for an agent that includes both the agent and its actor reference
AgentBuilder
Builder for creating BaseAgent instances from AgentDeriveT implementations
AgentConfig
BaseAgent
Base agent type that wraps an AgentDeriveT implementation with additional runtime components
Context
DirectAgent
EventHelper
Helper for managing event emissions
ExecutorConfig
Configuration for executors
MemoryHelper
Helper for managing agent memory operations
ToolProcessor
Handles all tool-related operations in a centralized manner

Enums§

AgentProtocol
ContextError
HookOutcome
TurnResult
Result of processing a single turn in the agent’s execution

Traits§

AgentDeriveT
Core trait that defines agent metadata and behavior This trait is implemented via the #[agent] macro
AgentExecutor
Base trait for agent execution strategies
AgentHooks
AgentOutputT
Trait for agent output types that can generate structured output schemas