Skip to main content
The Veritrix Python SDK is the fastest way to add full observability to your AI agents. Install the package, call trace.init() once, and every LLM call, tool execution, and agent handoff is captured automatically — no manual instrumentation required.

Requirements

Install the package

Choose the package manager you already use in your project.
If the conda-forge channel does not yet carry the latest release, install with pip inside your conda environment instead: pip install veritrix

Verify the installation

Run the one-liner below to confirm the package is importable and check which version you have installed.
You should see a version string such as 1.4.2 printed to your terminal. If you see an ImportError, double-check that you installed into the correct Python environment.

Get your API key

You will need a Veritrix API key before you can send traces to the dashboard.
1

Open the Veritrix dashboard

Go to app.veritrix.xyz and sign in.
2

Navigate to API Keys

Click Settings in the left sidebar, then select API Keys.
3

Create a new key

Click New API Key, give it a descriptive name (e.g. checkout-agent-prod), and copy the value. Store it somewhere safe — it is only shown once.
The recommended way to supply your API key is through the VERITRIX_API_KEY environment variable so it never appears in source code. See the Initialization page for details.

Next step

Once the package is installed and you have an API key, head to Initialization to wire up Veritrix in your project.