LLM Observatory Python SDK
Open-source LLM observability SDK for tracing and monitoring AI applications.
Installation
pip install magic-lab-observer
With optional integrations:
pip install magic-lab-observer[openai,anthropic,langchain]
Quick Start
The distribution name is magic-lab-observer; the stable Python import remains
llm_observatory.
from llm_observatory import instrument, trace
# Auto-instrument LLM libraries
instrument(openai=True, anthropic=True)
# Or manually trace functions
@trace(name="summarize")
def summarize(text: str):
return openai.chat.completions.create(
model="gpt-4",
messages=[{"role": "user", "content": text}]
)
License
Apache License 2.0
Release files for magic-lab-observer 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| magic_lab_observer-0.1.1.tar.gz | 11.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| magic_lab_observer-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 23.8 kB
Release files / magic_lab_observer-0.1.1.tar.gz
| Download URL | magic_lab_observer-0.1.1.tar.gz |
|---|---|
| Size | 11.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
141be1b15eee781c4f2bc82a1941576018e49ab54274709b786a7215e2fd4497
|
|
BLAKE2b-256 checksum How to use checksums |
63e84511f3d045e97b3c497e068ef745c6d92eae8a431c1f98b11a170c328c57
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 7, 2026.
Transparency logRelease files / magic_lab_observer-0.1.1-py3-none-any.whl
| Download URL | magic_lab_observer-0.1.1-py3-none-any.whl |
|---|---|
| Size | 12.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5361d6252560a315e3db4c03f88dcfafb2c5cba21eba56d10109f95de564c010
|
|
BLAKE2b-256 checksum How to use checksums |
9b45e6221d90574435d9538d846294e5b624145990510b5ffcbafe895415f7d4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 7, 2026.
Transparency log