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.3.tar.gz (18.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.3-py3-none-any.whl (18.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: tracelit_sdk-0.1.3.tar.gz
  • Upload date:
  • Size: 18.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.3.tar.gz
Algorithm Hash digest
SHA256 55c196abcbdfd88b783a9ec3d4f6494fc493db9e522381fb31c44fbb102de39f
MD5 5565a2ce8fe57acb3b533dde981adf7c
BLAKE2b-256 1496d5c463746aa4d922bac6943e70132fe688e5b617d81a02ec44166bd86fc4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tracelit_sdk-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 18.8 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 913a6b8332a00fe782e94c2b58c0ec0b403d66087ecd649dfadd9c5156efaf98
MD5 c477843fc0a6a6c78e25c8efbfe0b9a6
BLAKE2b-256 8ed851e3bb0628337ee8f09e6a424d9380b1418c98b7503c76758c681041473f

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