OmegaEngine governance integration for langfuse-omega
Project description
langfuse-omega
Langfuse + OmegaEngine Integration
✨ 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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
langfuse_omega-0.3.0.tar.gz
(561.6 kB
view details)
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 langfuse_omega-0.3.0.tar.gz.
File metadata
- Download URL: langfuse_omega-0.3.0.tar.gz
- Upload date:
- Size: 561.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d689fce7f16f337438203d62b06d21de640be0a3c7b41ddfebdd89b1e6ce941e
|
|
| MD5 |
163392c9a9b5b9046e1c3e1d6effdfd2
|
|
| BLAKE2b-256 |
527151f29c4f7dfa44880af2bfa973b4c7d99a0c60d44d727794011d2c11af0e
|
File details
Details for the file langfuse_omega-0.3.0-py3-none-any.whl.
File metadata
- Download URL: langfuse_omega-0.3.0-py3-none-any.whl
- Upload date:
- Size: 11.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
13bb258488b44181797ee0b74cc3eff4a3cf1bea21aef3e2a7747d9b06f58455
|
|
| MD5 |
53c5ccbc3a08ef52cab9760a694a93bf
|
|
| BLAKE2b-256 |
675e12ecbead4e971a383b196e87cb771303a69e3d472b3fe42835db2e671042
|