Back to Changelog
v0.13.2
March 30, 2026

Change: Trace ID included in agent run output

Changed

#[0.13.2] - 2026-03-30

Single-change release that surfaces the active OpenTelemetry trace ID in the dictionary returned by agent.run().

#Changed

  • _daita_trace_id added to agent.run() result

    The result dictionary returned by agent.run() now includes a _daita_trace_id key containing the W3C hex trace ID for that run. The ID is captured while the root span is still active, so it is guaranteed to match the trace visible in your observability backend.

    python
    result = await agent.run("Summarize the report.")
     
    print(result["_daita_trace_id"])
    # e.g. "4bf92f3577b34da6a3ce929d0e0e4736"