Integrations / AutoGen

Trace AutoGen multi-agent chats

To trace AutoGen with Tracify, wrap the conversation in trace_agent and record each tool execution as a step, or send AutoGen's OpenTelemetry spans to Tracify over OTLP.

Your code

AutoGen

Tracify

One run.

  • 01One trace per conversation
  • 02Tool execution per agent turn
  • 03Model calls with tokens and cost
  • 04Loops and failed turns

Setup

A few lines.

python
import tracify

@tracify.trace_agent(name="autogen-team")
async def run_team(task: str):
    with tracify.span("team-run", type="agent", input=task):
        return await team.run(task=task)

Full details in the documentation. All integrations are listed on the integrations page.

Can I use OpenTelemetry instead of the SDK?
Yes. Tracify accepts OTLP over HTTP, so any OpenTelemetry instrumentation AutoGen emits can be sent to your project.

Send your first trace.

Free to start.