Available on crate feature
agents only.Expand description
Agent implementations (LLM, Custom, Workflow agents).
Provides the core agent types:
LlmAgent- AI-powered agent using LLMsCustomAgent- Implement custom agent logicSequentialAgent- Execute agents in sequenceParallelAgent- Execute agents concurrentlyLoopAgent- Iterative execution until condition met
Available with feature: agents
Modules§
- guardrails
- Guardrail integration for LlmAgent
- tool_
call_ markup - XML-based tool call markup parsing.
Structs§
- Conditional
Agent - Conditional agent runs different sub-agents based on a condition
- Custom
Agent - Custom
Agent Builder - Guardrail
Set Non- guardrails - Placeholder type when guardrails feature is disabled
- LlmAgent
- LlmAgent
Builder - Loop
Agent - Loop agent executes sub-agents repeatedly for N iterations or until escalation
- Parallel
Agent - Parallel agent executes sub-agents concurrently
- Sequential
Agent - Sequential agent executes sub-agents once in order
Traits§
Functions§
- normalize_
content - Normalize content by converting tool call markup in text parts to FunctionCall parts.
- normalize_
option_ content - Normalize
Option<Content>by converting tool call markup.