Skip to main content

Overview

This example enables EventLog file logging for the default agent runtime, executes one simple agent run, then reads the generated JSONL file and prints the captured agent lifecycle entries on screen. Key concepts:
  • EventLog::enable(): activates the default JSONL sink
  • AgentLoop::default(): uses the default agent runtime event bus
  • JSONL readback: inspect execution lifecycle after the run completes

Example