Available on crate feature
runner only.Expand description
Agent execution runtime.
The engine that manages agent execution:
Runner- Executes agents with full contextRunnerConfig- Configuration options- Event streaming and tool coordination
Available with feature: runner
Modules§
- builder
- Typestate builder for
RunnerConfig/Runner.
Structs§
- Cache
Metrics - Metrics computed from session event history.
- Cache
Performance Analyzer - Utility for computing cache effectiveness metrics from session events.
- Callbacks
- Collection of all callback types
- Context
Cache Config - Configuration for automatic prompt caching lifecycle management.
- Events
Compaction Config - Configuration for automatic context compaction.
- Invocation
Context - Mutable
Session - MutableSession wraps a session with shared mutable state.
- Request
Context - Identity and authorization context extracted from an HTTP request.
- Runner
- Runner
Config - Runner
Config Builder - A typestate builder for constructing a
Runner.
Traits§
- Base
Events Summarizer - Trait for summarizing events during context compaction.
- Cache
Capable - Trait for LLM providers that support prompt caching.
Type Aliases§
- After
Model Callback - Callback executed after model response
- After
Tool Callback - Callback executed after tool execution
- Before
Model Callback - Callback executed before calling the model
- Before
Tool Callback - Callback executed before tool execution