Skip to main content
Community / legacy integration. AutoGen is officially in maintenance mode upstream — Microsoft has named its Agent Framework as the planned successor. This adapter is a thin alias for the generic OpenTelemetry integration — it keeps working, but it isn’t part of the first-class tier (LangChain/LangGraph, OpenAI Agents SDK, the Claude ecosystem). For new projects, prefer one of those or the generic OTel path; when Microsoft’s Agent Framework stabilizes, its OTel spans will flow through the same generic path.
The AutoGen integration works with both classic AutoGen and AG2 (the community fork). Like CrewAI, it routes through OpenTelemetry.

Install

Install AutoGen separately if you don’t already have it.

Use

What gets captured

  • Each turn of the agent conversation
  • Tool invocations and their results
  • LLM calls behind each agent’s reasoning
  • Group chat coordination spans

Caveats

  • AutoGen’s conversation model is turn-based, not tree-based. DecimalAI flattens turns into a sequential trace; if you want a tree view, use the explicit @decimalai.trace decorator on your top-level orchestrator function.
  • Manifest detection captures tool names only.

What’s next

Tracing guide

Manual @trace decorator if you want tree-shaped traces.

Multi-agent guide

Modeling group chats and orchestrator patterns.