Skip to main content

Trace-lit — Agent Monitoring & Observability SDK — instrument AI agents with one decorator

Project description

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

Project details


Download files

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

Source Distribution

tracelit_sdk-0.1.4.tar.gz (21.7 kB view details)

Uploaded Source

Built Distribution

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

tracelit_sdk-0.1.4-py3-none-any.whl (22.4 kB view details)

Uploaded Python 3

File details

Details for the file tracelit_sdk-0.1.4.tar.gz.

File metadata

  • Download URL: tracelit_sdk-0.1.4.tar.gz
  • Upload date:
  • Size: 21.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for tracelit_sdk-0.1.4.tar.gz
Algorithm Hash digest
SHA256 2313fea5ef617e8cc7b8355f8a3b8be7a470d94ec5ff3d71ad9a369beb434849
MD5 06b653591672d0f0806bae7b3cdd2382
BLAKE2b-256 abe2846ced1cec3ad60f823345d7fba60e873862d6f2672b62ceb1419f7b7d00

See more details on using hashes here.

Provenance

The following attestation bundles were made for tracelit_sdk-0.1.4.tar.gz:

Publisher: publish-sdk.yml on Sedrah/Trace-lit-SDK

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file tracelit_sdk-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: tracelit_sdk-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 22.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for tracelit_sdk-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 6fc11ecb70b03f3ca07aa284293c88f7eb37e45588786ada94c907b54f102e34
MD5 761b3161ebc8a1c60367adee5c4f21e4
BLAKE2b-256 aa4256c1f6d958f7079bb144b9f41a9acce9ef01b46ae16db16650c3a51d95cb

See more details on using hashes here.

Provenance

The following attestation bundles were made for tracelit_sdk-0.1.4-py3-none-any.whl:

Publisher: publish-sdk.yml on Sedrah/Trace-lit-SDK

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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