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.8.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.8-py3-none-any.whl (3.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: inference_tracing-0.1.8.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.8.tar.gz
Algorithm Hash digest
SHA256 2e5df59cc938d4a3250ab87224000220ab4e8ce97aa75258825cb4b527b2dc20
MD5 a66b9fac477b116cef10eb8297fa9448
BLAKE2b-256 ced9ce44533763d32f3e7572bde03ae0179ccf33f2d6ee2d50893cb23b76f8b8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: inference_tracing-0.1.8-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.8-py3-none-any.whl
Algorithm Hash digest
SHA256 11b3b2c525a7feb2f55ac26ba573f5ed662cdd71f8b5424dc78946b3d7688957
MD5 3eb6b1e4e251a13caa253e214dc21540
BLAKE2b-256 2da70e1f9f648754a6161535bbaccb63a62bee058dbf8eeb5afe64db99b22605

See more details on using hashes here.

Release history Release notifications | RSS feed

0.1.10

2 files

0.1.9

2 files

This release

0.1.8 This release

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