Skip to main content

Module agents

Module agents 

Source

Re-exports§

pub use profile::AgentProfile;
pub use sub_agent::SubAgentTool;
pub use system_prompt::AgentPromptStrategy;
pub use system_prompt::CustomPromptStrategy;
pub use system_prompt::MinimalPromptStrategy;
pub use system_prompt::PromptBlockDef;
pub use system_prompt::SystemPrompt;
pub use system_prompt::SystemPromptStrategy;

Modules§

profile
sub_agent
Sub-agent tool — delegates tasks to a child agent loop.
system_prompt
SystemPromptStrategy — structured system prompt composition.

Structs§

BasicAgent
Reference implementation of the Agent trait.

Enums§

AgentBuildError
Errors that can occur when assembling an AgentLoopConfig via Agent::build_config.
QueueMode
Controls how messages are drained from the steering/follow-up queues per turn.

Traits§

Agent
The core runtime interface for an agent.