Skip to main content

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

magic_lab_observer-0.1.1.tar.gz (11.2 kB view details)

Uploaded Source

Built Distribution

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

magic_lab_observer-0.1.1-py3-none-any.whl (12.5 kB view details)

Uploaded Python 3

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

Hashes for magic_lab_observer-0.1.1.tar.gz
Algorithm Hash digest
SHA256 141be1b15eee781c4f2bc82a1941576018e49ab54274709b786a7215e2fd4497
MD5 e048895a94f1b6802d9f2f5a47706197
BLAKE2b-256 63e84511f3d045e97b3c497e068ef745c6d92eae8a431c1f98b11a170c328c57

See more details on using hashes here.

Provenance

The following attestation bundles were made for magic_lab_observer-0.1.1.tar.gz:

Publisher: publish.yml on Magic-Lab-Studio/observer

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file magic_lab_observer-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for magic_lab_observer-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5361d6252560a315e3db4c03f88dcfafb2c5cba21eba56d10109f95de564c010
MD5 3b9f9997802bc69b885c3a8b03fa3b64
BLAKE2b-256 9b45e6221d90574435d9538d846294e5b624145990510b5ffcbafe895415f7d4

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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