Skip to main content

OpenTelemetry-native Auto instrumentation library for monitoring LLM Applications and GPUs, facilitating the integration of observability into your GenAI-driven projects

Project description

🌟 tmam‑python‑sdk

PyPI version License: MIT

tmam‑python‑sdk is an OpenTelemetry-native auto-instrumentation library for GenAI applications—providing seamless observability for Large Language Models (LLMs), GPU workloads, vector databases, and agent-based frameworks. With one line of integration, you can add powerful telemetry to your AI/ML stack.


🚀 Key Features

  • Zero-code auto instrumentation for LLMs, GPUs, vector DBs, and agents
  • 📊 Traces, metrics, and logs for LLM prompts, latency, token usage, GPU utilization, and more
  • 🔌 Simple integration using a hosted TMAM collector endpoint
  • 📦 OpenTelemetry-native, vendor-agnostic support for downstream observability tools
  • 🔍 Supports popular frameworks like OpenAI, Hugging Face, LangChain, PyTorch, NVIDIA CUDA, and more

🧪 Installation

pip install tmam



Quickstart

Add observability to your GenAI application with one line:

import tmam

tmam.init(
    url="http://api.tmam.ai/api/sdk/v1",
    public_key="pk-tmam-0edeba2a-f6f3-4efd-982c-412adbb03046",
    secrect_key="sk-tmam-b320dda9-e36d-4eac-8ac5-4793fd38e002",
)

# Your LLM or agent code here
from openai import OpenAI
# ...
Once initialized, tmam will auto-instrument supported components and begin sending traces and metrics to TMAM’s backend.

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

tmam-1.0.0.tar.gz (122.1 kB view details)

Uploaded Source

Built Distribution

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

tmam-1.0.0-py3-none-any.whl (264.6 kB view details)

Uploaded Python 3

File details

Details for the file tmam-1.0.0.tar.gz.

File metadata

  • Download URL: tmam-1.0.0.tar.gz
  • Upload date:
  • Size: 122.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for tmam-1.0.0.tar.gz
Algorithm Hash digest
SHA256 05f223f7c35e50892462c8c4c4b39a670c19fe6bd14c815197e63e9cb65deeb2
MD5 edf32e743a961aff33a7675e0669d05e
BLAKE2b-256 3b6753a1bf2a8baa12c7aeedd542773080fb7a1f9526ea0d2f8bdff4e7bf1fb0

See more details on using hashes here.

File details

Details for the file tmam-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: tmam-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 264.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for tmam-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 09441c47f5766ca430215b5b32210d544b5569e4eefe8b8ea6192c93a36e1a0c
MD5 7d7688af33cf04303c90424d69fe1277
BLAKE2b-256 30707c972ad6fbc7a7911ea1cd6361ba3ec2369775ac601e1725f8c05acaacb7

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