Metadata-Version: 2.4
Name: mistral-omega
Version: 0.1.0
Summary: OmegaEngine governance integration for mistral-omega
Project-URL: Homepage, https://omegaengine.ai
Project-URL: Repository, https://github.com/TheArkhitect/Omegaengine
Author-email: OmegaEngine <team@omegaengine.ai>
License-Expression: Apache-2.0
License-File: LICENSE
Keywords: ai-safety,governance,llm,omegaengine
Requires-Python: >=3.8
Requires-Dist: httpx>=0.24.0
Provides-Extra: dev
Requires-Dist: pytest>=7.0.0; extra == 'dev'
Description-Content-Type: text/markdown

<p align="center">
  <img src="logo.png" alt="OmegaEngine Logo" width="200" height="200">
</p>

<h1 align="center">mistral-omega</h1>

<p align="center">
  <strong>Mistral AI Integration with OmegaEngine Governance</strong>
</p>

<p align="center">
  <a href="https://pypi.org/project/mistral-omega/"><img src="https://img.shields.io/pypi/v/mistral-omega?color=blue&label=PyPI" alt="PyPI"></a>
  <a href="https://github.com/TheArkhitect/Omegaengine/blob/main/LICENSE"><img src="https://img.shields.io/badge/license-Apache%202.0-blue" alt="License"></a>
</p>

---

## ✨ Features

- 🇪🇺 **European AI Governance** — GDPR-compliant by design
- 🤖 **Drop-in Replacement** — Same API as Mistral SDK
- 🛡️ **Pre-flight & Post-flight** — Full request/response governance
- 📈 **Audit Trail** — Complete logging for compliance
- ⚡ **Streaming** — Governed streaming responses

---

## 📦 Installation

```bash
pip install mistral-omega
```

---

## 🚀 Quick Start

```python
from mistral_omega import Mistral

client = Mistral(
    mistral_api_key="your-mistral-key",
    omega_api_key="your-omega-key",
    policy_id="mistral_policy",
)

response = client.chat.complete(
    model="mistral-large-latest",
    messages=[{"role": "user", "content": "Analyze this contract"}]
)

print(response.choices[0].message.content)
print(response.omega_decision)
```

---

## 🇪🇺 GDPR Compliance

```python
client = Mistral(
    omega_api_key="...",
    gdpr_mode=True,  # Enable GDPR-specific policies
    data_residency="eu",
)

# All data stays in EU, fully audited
```

---

## 📄 License

Licensed under the [Apache License 2.0](LICENSE).
