Expand description
Agent runtime traits and types.
Modules§
- agent_
node - Agent node trait, builder, and execution context.
- directive
- Directive system for agent effects.
- directive_
executor - Directive execution traits and implementations.
- directive_
filter - Directive filtering and transformation.
- error
- Error types for agent operations.
- execution_
strategy - Execution strategies for agents.
- hooks
- Lifecycle hooks for agent execution.
- middleware
- Middleware stack for cross-cutting concerns.
- model_
info - Model information, capabilities, selection, and provider traits.
- output_
mode - Output mode configuration for agents.
- permission
- Permission modes and rules.
- plugin
- Plugin system with isolated state.
- runner
- Agent runner and execution loop.
- sampling
- Sampling provider trait for tool-internal LLM access.
- sandbox
- Sandbox configuration for agents.
- session
- Session management traits.
- signal
- Signal routing for agent communication.
- streaming
- Streaming events for agents.
- usage
- Usage tracking and cost estimation.
Structs§
- Agent
Action - An action to be taken by an agent.
- Agent
Finish - The final result from an agent.
- Agent
Step - A single step in agent execution.
Enums§
- Agent
Decision - Decision made by an agent at each step.