Skip to main content

Overview

This example combines the built-in AgentCtrlConsoleLogger with an inline Logfire connection. You still see the live execution locally, and the same run is also emitted as correlated telemetry through the AgentCtrl projector. Key concepts:
  • explicit LogfireConfig / LogfireExporter setup
  • AgentCtrlConsoleLogger: local execution visibility
  • AgentCtrlTelemetryProjector: correlates the full run by executionId
  • executeStreaming(): shows progress as the CLI agent works
  • bash tool calls: make the telemetry trace reflect multi-step repository inspection
  • Telemetry::flush(): sends the final telemetry batch

Example