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=["49.13.235.169: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.1.tar.gz (17.2 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.1-py3-none-any.whl (17.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: tracelit_sdk-0.1.1.tar.gz
  • Upload date:
  • Size: 17.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.6

File hashes

Hashes for tracelit_sdk-0.1.1.tar.gz
Algorithm Hash digest
SHA256 a63d1289cd080cd5c2194c087fd964fb3efe85935bdb0db6c7058cadf43e1016
MD5 f9dbd35213a74ef4b922f2a74c169cfc
BLAKE2b-256 cbca234479f1aaf75f598e36c7b32067f8c97a913eda46366c2479f354127f3e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tracelit_sdk-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 17.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.6

File hashes

Hashes for tracelit_sdk-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 95725847e4f9d9738bda6a095bcff0f9749362e74516867445e8675cf35b6395
MD5 2dc9539b65d67000db5fdf3f71e2de3c
BLAKE2b-256 fcbfe6494e6e68c9517ff7a9e65f1b810993055fc8291e3ff61a30bfa1184954

See more details on using hashes here.

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