trace.init(). Whether you’re building single-agent assistants or orchestrating multi-agent pipelines with handoffs, every LLM call, tool execution, and retry is captured automatically — no bespoke wrappers or manual instrumentation required.
Prerequisites
- Python 3.9 or higher
- An active Veritrix account and API key
- OpenAI Agents SDK installed (
openai-agentsor theopenaibeta agents package)
Installation & Setup
1
Install Veritrix and the OpenAI Agents SDK
2
Initialize Veritrix tracing
Call Replace
trace.init() once at the entry point of your application, before any agent or client is constructed."support-agent" with a meaningful name that identifies this agent in the Veritrix dashboard.3
Use the OpenAI client as normal
No further changes are needed. Veritrix patches the OpenAI client automatically after
trace.init() is called.Example Agent
The following example shows a minimal support agent built with the OpenAI Agents SDK. Veritrix traces every step without any additional instrumentation.What Gets Captured Automatically
Oncetrace.init() is called, Veritrix automatically captures the following telemetry for every run:
Sensitive fields such as prompt content can be redacted before export. See the Audit Export guide for configuration options.