Metadata-Version: 2.4
Name: lumen-ai-openlit
Version: 0.1.2
Summary: LumenAI OpenLIT Bridge — zero-code LLM auto-instrumentation
Project-URL: Homepage, https://github.com/skarL007/-lumen-ai-sdk
Project-URL: Repository, https://github.com/skarL007/-lumen-ai-sdk
Author-email: skarL007 <zpka21@hotmail.com>
License: MIT
Keywords: ai,auto-instrumentation,llm,observability,openlit,opentelemetry
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: System :: Monitoring
Requires-Python: >=3.11
Requires-Dist: lumen-ai-core>=0.1.2
Requires-Dist: openlit>=1.0
Description-Content-Type: text/markdown

# lumen-ai-openlit

OpenLIT bridge for LumenAI.

## Includes

- `OpenLITBridge`
- Defensive `openlit.init()` argument detection for OpenLIT API compatibility
- Optional forwarding of `tracer_provider`, `collect_gpu_stats`, `disable_batch`, and `pricing_json`

## Install

```bash
pip install lumen-ai-openlit
```

## Usage

```python
from lumen_ai import LumenAI
from lumen_ai_openlit import OpenLITBridge

LumenAI.init(
    service_name="ai-app",
    redis_url="redis://localhost:6379/0",
    instrumentors=[OpenLITBridge()],
)
```

OpenLIT creates provider spans; LumenAI enriches and exports the normalized metadata events.
