Skip to main content

inference-tracing

Short company-qualified install name for the Catalyst by Inference.net Python tracing SDK.

This package depends on catalyst-tracing, the primary Python SDK package, and re-exports the same public API from the inference_tracing import path. Use this package when you want the shortest install command that includes the Inference company name.

This package is currently in beta. APIs may change before 1.0, but the package name and import path are intended to remain stable.

Full documentation lives at docs.inference.net/integrations/traces/overview.

Install

pip install inference-tracing

Install integration extras through the alias package:

pip install 'inference-tracing[openai]'
pip install 'inference-tracing[anthropic]'
pip install 'inference-tracing[langchain]'
pip install 'inference-tracing[langsmith]'
pip install 'inference-tracing[livekit-agents]'
pip install 'inference-tracing[openai,langchain,langsmith]'
pip install 'inference-tracing[all]'

Quick Start

from inference_tracing import setup
from openai import OpenAI

tracing = setup()

client = OpenAI()
client.chat.completions.create(
    model="gpt-4o-mini",
    messages=[{"role": "user", "content": "Summarize this order."}],
)

tracing.shutdown()

You can also import from the primary namespace after installing this package:

from catalyst_tracing import setup

Relationship To catalyst-tracing

Package Import path Purpose
catalyst-tracing catalyst_tracing Primary SDK package
inference-tracing inference_tracing Company-qualified alias package

The alias package is intentionally small. The tracing runtime, integration installers, OpenTelemetry setup, and OpenInference attribute handling live in catalyst-tracing.

Supported Integrations

The underlying SDK supports OpenAI, Anthropic, LangChain, LangGraph, LangSmith, OpenAI Agents, Claude Agent SDK, Pydantic AI, ElevenLabs Agents, and LiveKit Agents integrations. It also exposes manual manual_span() and agent_span() helpers for custom agent, chain, and tool workflows.

For LangSmith, install inference-tracing[langsmith] or inference-tracing[langchain,langsmith], keep using LangSmith's @traceable decorators, and call setup() once at process startup. The primary SDK configures LangSmith OTel mode and enriches those decorator spans with OpenInference attributes before exporting them to Catalyst. When a LangChain or LangGraph agent runs inside a decorated function, Catalyst uses the LangSmith OTel context as the parent for nested chain, tool, retriever, and provider spans; customer code does not need a separate Catalyst wrapper for trace grouping.

See the catalyst-tracing package page for the full API reference and configuration guide.

Metadata

Release files for inference-tracing 0.1.11

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for inference-tracing 0.1.11
File Size Uploaded
inference_tracing-0.1.11.tar.gz 2.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for inference-tracing 0.1.11
File Interpreter ABI Platform
inference_tracing-0.1.11-py3-none-any.whl Python 3 none any Details

Total release size: 5.8 kB

Release files / inference_tracing-0.1.11.tar.gz

Download URL inference_tracing-0.1.11.tar.gz
Size 2.7 kB
Tags Source
SHA-256 checksum
How to use checksums
94be36e18fa00a60346485a5ee18820d96f41c99455119e57c59e5712ea0c239
BLAKE2b-256 checksum
How to use checksums
760797b76f45f63fe1e3b64e0f66d9758ddc7decbc396f96ef61e0d1c4116382
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / inference_tracing-0.1.11-py3-none-any.whl

Download URL inference_tracing-0.1.11-py3-none-any.whl
Size 3.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
199ae9910192c5ea06bb07c51ac9e25302ef17135643f55313b4f2260ee65e4e
BLAKE2b-256 checksum
How to use checksums
5936d4acbb5ecabaf79119212be86f651eb1e37cbfc9783a9cb2e22751154010
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release history Release notifications | RSS feed

This release

0.1.11 This release

2 release files

0.1.10

2 release files

0.1.9

2 release files

0.1.8

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page