Metadata-Version: 2.4
Name: llmgovernor-langfuse
Version: 0.1.0
Summary: Mirror Langfuse traces into LLMGovernor's anomaly engine
Project-URL: Homepage, https://llmgovernor.ai
Project-URL: Documentation, https://llmgovernor.ai/docs
Project-URL: Repository, https://github.com/LLMGovernor/llmgovernor-sdks
Project-URL: Issues, https://github.com/LLMGovernor/llmgovernor-sdks/issues
Author-email: EarlyBright Global LLC <vivek@earlybrightglobal.com>
License: Apache-2.0
Keywords: anomaly,langfuse,llm,llmgovernor,observability
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: System :: Monitoring
Requires-Python: >=3.10
Requires-Dist: httpx>=0.27
Requires-Dist: llmgovernor>=0.1.0
Provides-Extra: dev
Requires-Dist: anyio; extra == 'dev'
Requires-Dist: build; extra == 'dev'
Requires-Dist: pytest; extra == 'dev'
Requires-Dist: pytest-anyio; extra == 'dev'
Requires-Dist: twine; extra == 'dev'
Description-Content-Type: text/markdown

# llmgovernor-langfuse

Bridge **Langfuse** traces into the **LLMGovernor** anomaly engine.

## Why

You already log to Langfuse. You want per-agent cost anomaly detection on top
without ripping out what works. This package mirrors your existing Langfuse
traces into LLMGovernor and surfaces anomalies (cost spikes, error bursts, latency
regressions) in the LLMGovernor dashboard or as Slack/email alerts.

> **Status:** v0.1.0 — package scaffolding. Full adapter logic lands before public launch.

## Install

```bash
pip install llmgovernor-langfuse
```

## Usage

```python
from llmgovernor_langfuse import LangfuseAdapter

adapter = LangfuseAdapter(
    llmgovernor_api_key="lg_...",
    langfuse_api_key="...",
    agent_name="my-agent",
)
adapter.start()
```

## License

Apache-2.0 © EarlyBright Global LLC
