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
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
05f223f7c35e50892462c8c4c4b39a670c19fe6bd14c815197e63e9cb65deeb2
|
|
| MD5 |
edf32e743a961aff33a7675e0669d05e
|
|
| BLAKE2b-256 |
3b6753a1bf2a8baa12c7aeedd542773080fb7a1f9526ea0d2f8bdff4e7bf1fb0
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
09441c47f5766ca430215b5b32210d544b5569e4eefe8b8ea6192c93a36e1a0c
|
|
| MD5 |
7d7688af33cf04303c90424d69fe1277
|
|
| BLAKE2b-256 |
30707c972ad6fbc7a7911ea1cd6361ba3ec2369775ac601e1725f8c05acaacb7
|