What is AgentRuntime?
The AgentRuntime is the central orchestrator that manages agent lifecycle, processes messages, and coordinates all system components.Key Responsibilities
1. Action Processing
2. State Composition
The runtime builds context by aggregating data from all providers:3. Plugin Management
Runtime Interface
Lifecycle
Model Management
The runtime manages AI model selection through a priority system:Memory Management
Best Practices
- Initialize plugins in dependency order
- Start services after all plugins loaded
- Clean up resources on shutdown
- Handle errors gracefully
- Use appropriate model sizes
Next Steps
Services
Learn about background services

