Skip to main content
Agents emit events you can listen to - track progress, log activity, and extend behavior.

Quick Start

1

Simple Usage

2

With Configuration


User Interaction Flow


Configuration Levels


Event Types


API Reference

Events Module

Complete events module

AgentEventBus

Event bus class

Best Practices

Track tool calls and errors for debugging.
Subscribe to specific events for better performance.
Always listen for β€˜error’ events in production.

Hooks

Lifecycle hooks

PubSub

Publish-subscribe