Skip to main content

OmegaEngine Logo

langfuse-omega

Langfuse + OmegaEngine Integration

PyPI License


✨ Features

  • 📊 Unified Observability — Langfuse tracing + OmegaEngine governance
  • 🔗 Bi-directional Sync — Traces flow both ways
  • 📈 Policy Metrics — Governance data in Langfuse dashboard
  • 🛡️ Alert on Violations — Trigger Langfuse alerts on policy blocks
  • ⚡ Zero Config — Auto-detect and integrate

📦 Installation

pip install langfuse-omega

🚀 Quick Start

from langfuse_omega import OmegaLangfuseCallback

callback = OmegaLangfuseCallback(
    langfuse_secret_key="your-langfuse-key",
    langfuse_public_key="your-public-key",
    omega_api_key="your-omega-key",
)

# Use with any LLM framework
from langchain_openai import ChatOpenAI

llm = ChatOpenAI(callbacks=[callback])
response = llm.invoke("Hello!")

# View in Langfuse dashboard with governance metadata

📊 Dashboard Integration

In your Langfuse dashboard, you'll see:

  • ✅ Omega Decision (ALLOW/BLOCK/ESCALATE)
  • 📊 Risk Score
  • 🏷️ Policy Tags
  • 🔗 Link to Omega audit trail

🔔 Alert Configuration

callback = OmegaLangfuseCallback(
    alert_on_deny=True,
    alert_on_high_risk=True,
    risk_threshold=70,
)

📄 License

Licensed under the Apache License 2.0.

Metadata

Release files for langfuse-omega 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for langfuse-omega 0.3.0
File Size Uploaded Provenance Actions
langfuse_omega-0.3.0.tar.gz 561.6 kB Without provenance Details for langfuse_omega-0.3.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for langfuse-omega 0.3.0
File Interpreter ABI Platform Actions
langfuse_omega-0.3.0-py3-none-any.whl Python 3 none any Details for langfuse_omega-0.3.0-py3-none-any.whl

Total release size: 572.9 kB

Release files / langfuse_omega-0.3.0.tar.gz

Download URL langfuse_omega-0.3.0.tar.gz
Size 561.6 kB
Tags Source
SHA-256 checksum
How to use checksums
d689fce7f16f337438203d62b06d21de640be0a3c7b41ddfebdd89b1e6ce941e
BLAKE2b-256 checksum
How to use checksums
527151f29c4f7dfa44880af2bfa973b4c7d99a0c60d44d727794011d2c11af0e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.13

Release files / langfuse_omega-0.3.0-py3-none-any.whl

Download URL langfuse_omega-0.3.0-py3-none-any.whl
Size 11.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
13bb258488b44181797ee0b74cc3eff4a3cf1bea21aef3e2a7747d9b06f58455
BLAKE2b-256 checksum
How to use checksums
675e12ecbead4e971a383b196e87cb771303a69e3d472b3fe42835db2e671042
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.13

Security for langfuse-omega 0.3.0

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page