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

Uploaded Python 3

File details

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

File metadata

  • Download URL: tracelit_sdk-0.1.2.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.2.tar.gz
Algorithm Hash digest
SHA256 0c3c7ee1c13aa778a571e2708a4b83787af40e616612eb2eecacfed19cd01c01
MD5 5e555f3c211548e9c1d05118c9d504fa
BLAKE2b-256 b84bea067f90d662e9e42bd9bfa155e967165d566e9353a39aa657236095c4a9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tracelit_sdk-0.1.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 3ead1ebdb610dd2cd5483c34aaee010f8c5026e1c87ad66e426061a86dca4a9d
MD5 43f830fc28378e374fd8c11d55cd2f7e
BLAKE2b-256 49b55d82bf25eb43ac2109fa82e4a4cb96095d64409fe043e06d08822e63911a

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