Key Features
- Single-file implementation combining agent logic and event handling
- Callback-based instrumentation using XpanderEventListener
- Async tool execution with proper error handling and logging
- AgentOps integration with custom trace names and tags
Running the Example
-
Set up your environment variables in a
.env
file or export them: -
Run the agent: