Skip to main content
Veritrix brings full observability to Microsoft AutoGen’s multi-agent conversation framework with a single initialization call. Once you call trace.init(), Veritrix automatically instruments every agent conversation turn, LLM invocation, tool execution, and reply chain across your entire AutoGen pipeline — so you can diagnose runaway loops, measure per-agent costs, and understand exactly how your agents collaborate to reach a final answer.

Prerequisites

  • Python 3.10 or higher
  • An active Veritrix account and API key
  • AutoGen installed (pyautogen or the newer autogen-agentchat package)

Installation & Setup

1

Install Veritrix and AutoGen

If you are using the newer AutoGen AgentChat API, install autogen-agentchat instead:
2

Initialize Veritrix tracing

Call trace.init() once at application startup, before you define any agents or start any conversations.
3

Use AutoGen as normal

Veritrix patches AutoGen’s conversation runtime automatically. Your agent definitions and conversation logic remain unchanged.

Example: Two-Agent Conversation

The following example sets up a classic AutoGen pattern — an assistant agent and a user proxy — to collaboratively solve a coding problem. Veritrix traces every message exchange and LLM call in the conversation.

Example: Group Chat with Multiple Agents

For GroupChat pipelines, Veritrix traces each agent’s contribution and the manager’s routing decisions.

What Gets Captured Automatically

Veritrix captures the full conversation history attached to each trace, making it easy to replay and audit long multi-agent exchanges directly from the dashboard.

OpenTelemetry Compatibility

Veritrix is built natively on OpenTelemetry. Every span generated for your AutoGen pipelines is a standard OTel span that can be exported to any OTel-compatible collector — Jaeger, Honeycomb, Grafana Tempo, or your own backend — without any extra configuration.
To route traces to a custom OTel exporter or an existing observability stack, see the OpenTelemetry integration page.