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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

inference_tracing-0.1.9.tar.gz (2.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

inference_tracing-0.1.9-py3-none-any.whl (3.0 kB view details)

Uploaded Python 3

File details

Details for the file inference_tracing-0.1.9.tar.gz.

File metadata

  • Download URL: inference_tracing-0.1.9.tar.gz
  • Upload date:
  • Size: 2.7 kB
  • Tags: Source
  • Uploaded using 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}

File hashes

Hashes for inference_tracing-0.1.9.tar.gz
Algorithm Hash digest
SHA256 1d966e1a181b01834899692d50a6d046c34911f75e5c42c18bd65d91cfe96c71
MD5 74ffc5b4d37bc4f069ab1c08597af5a1
BLAKE2b-256 b309126c293ed7599dc979703062e0ec655cb6179bc76eda4c88b3644afde39e

See more details on using hashes here.

File details

Details for the file inference_tracing-0.1.9-py3-none-any.whl.

File metadata

  • Download URL: inference_tracing-0.1.9-py3-none-any.whl
  • Upload date:
  • Size: 3.0 kB
  • Tags: Python 3
  • Uploaded using 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}

File hashes

Hashes for inference_tracing-0.1.9-py3-none-any.whl
Algorithm Hash digest
SHA256 de9162621cd47813ad6de831f909e31b540437368a2b5051c5cbae056a6b8e21
MD5 d05577aa73e0a52c77e020e3d6057794
BLAKE2b-256 43920360b2e447619437e938fbb3e070e6218b46b2a2b34351b0dffd9e400514

See more details on using hashes here.

Release history Release notifications | RSS feed

0.1.10

2 files

This release

0.1.9 This release

2 files

0.1.8

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page