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
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 magic_lab_observer-0.1.1.tar.gz.
File metadata
- Download URL: magic_lab_observer-0.1.1.tar.gz
- Upload date:
- Size: 11.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
141be1b15eee781c4f2bc82a1941576018e49ab54274709b786a7215e2fd4497
|
|
| MD5 |
e048895a94f1b6802d9f2f5a47706197
|
|
| BLAKE2b-256 |
63e84511f3d045e97b3c497e068ef745c6d92eae8a431c1f98b11a170c328c57
|
Provenance
The following attestation bundles were made for magic_lab_observer-0.1.1.tar.gz:
Publisher:
publish.yml on Magic-Lab-Studio/observer
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
magic_lab_observer-0.1.1.tar.gz -
Subject digest:
141be1b15eee781c4f2bc82a1941576018e49ab54274709b786a7215e2fd4497 - Sigstore transparency entry: 2373805419
- Sigstore integration time:
-
Permalink:
Magic-Lab-Studio/observer@422b79887c31abac12c80b5af985993631734133 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/Magic-Lab-Studio
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@422b79887c31abac12c80b5af985993631734133 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file magic_lab_observer-0.1.1-py3-none-any.whl.
File metadata
- Download URL: magic_lab_observer-0.1.1-py3-none-any.whl
- Upload date:
- Size: 12.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5361d6252560a315e3db4c03f88dcfafb2c5cba21eba56d10109f95de564c010
|
|
| MD5 |
3b9f9997802bc69b885c3a8b03fa3b64
|
|
| BLAKE2b-256 |
9b45e6221d90574435d9538d846294e5b624145990510b5ffcbafe895415f7d4
|
Provenance
The following attestation bundles were made for magic_lab_observer-0.1.1-py3-none-any.whl:
Publisher:
publish.yml on Magic-Lab-Studio/observer
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
magic_lab_observer-0.1.1-py3-none-any.whl -
Subject digest:
5361d6252560a315e3db4c03f88dcfafb2c5cba21eba56d10109f95de564c010 - Sigstore transparency entry: 2373805625
- Sigstore integration time:
-
Permalink:
Magic-Lab-Studio/observer@422b79887c31abac12c80b5af985993631734133 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/Magic-Lab-Studio
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@422b79887c31abac12c80b5af985993631734133 -
Trigger Event:
workflow_dispatch
-
Statement type: