Skip to main content

Tracelit SDK

Python SDK for Trace-lit — instrument AI agents with one decorator.

Install

pip install "tracelit-sdk[kafka]"

For LangChain / LangGraph:

pip install "tracelit-sdk[all-langchain]"

For CrewAI:

pip install "tracelit-sdk[all-crewai]"

Note: crewai and langgraph have a hard pip version conflict — never install [all-langchain] and [all-crewai] in the same environment.

Usage

import trace_lit

trace_lit.configure(
    kafka_brokers=["app.trace-lit.com:9093"],
    api_key="your-api-key",
)

@trace_lit.trace(agent_name="my-agent", framework="langchain")
def my_agent(query: str) -> str:
    ...

Development

pip install -e ".[dev]"
pytest -v

Metadata

Release files for Tracelit-SDK 0.1.4

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

Source distribution (sdist)

Source distribution for Tracelit-SDK 0.1.4
File Size Uploaded Provenance Actions
tracelit_sdk-0.1.4.tar.gz 21.7 kB With provenance Details for tracelit_sdk-0.1.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for Tracelit-SDK 0.1.4
File Interpreter ABI Platform Actions
tracelit_sdk-0.1.4-py3-none-any.whl Python 3 none any Details for tracelit_sdk-0.1.4-py3-none-any.whl

Total release size: 44.0 kB

Release files / tracelit_sdk-0.1.4.tar.gz

Download URL tracelit_sdk-0.1.4.tar.gz
Size 21.7 kB
Tags Source
SHA-256 checksum
How to use checksums
2313fea5ef617e8cc7b8355f8a3b8be7a470d94ec5ff3d71ad9a369beb434849
BLAKE2b-256 checksum
How to use checksums
abe2846ced1cec3ad60f823345d7fba60e873862d6f2672b62ceb1419f7b7d00
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 5, 2026.

Transparency log

Release files / tracelit_sdk-0.1.4-py3-none-any.whl

Download URL tracelit_sdk-0.1.4-py3-none-any.whl
Size 22.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6fc11ecb70b03f3ca07aa284293c88f7eb37e45588786ada94c907b54f102e34
BLAKE2b-256 checksum
How to use checksums
aa4256c1f6d958f7079bb144b9f41a9acce9ef01b46ae16db16650c3a51d95cb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 5, 2026.

Transparency log

Security for Tracelit-SDK 0.1.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for tracelit_sdk-0.1.4.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 5, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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