Quick Start
User Interaction Flow
Configuration Levels
Event Types
| Event | When |
|---|---|
start | Agent begins processing |
message | Agent produces output |
tool_call | Agent calls a tool |
error | Something goes wrong |
complete | Agent finishes |
API Reference
Events Module
Complete events module
AgentEventBus
Event bus class
Best Practices
Log important events
Log important events
Track tool calls and errors for debugging.
Use wildcards sparingly
Use wildcards sparingly
Subscribe to specific events for better performance.
Handle errors
Handle errors
Always listen for ‘error’ events in production.

