Metadata-Version: 2.4
Name: crewai-omega
Version: 0.3.0
Summary: OmegaEngine governance integration for crewai-omega
Project-URL: Homepage, https://omegaengine.ai
Project-URL: Repository, https://github.com/TheArkhitect/Omegaengine/tree/main/open-source-repos/crewai-omega
Author-email: OmegaEngine <team@omegaengine.ai>
License-Expression: Apache-2.0
License-File: LICENSE
Keywords: ai-safety,governance,llm,omegaengine
Requires-Python: >=3.9
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">crewai-omega</h1>

<p align="center">
  <strong>CrewAI Integration for OmegaEngine</strong>
</p>

<p align="center">
  <a href="https://pypi.org/project/crewai-omega/"><img src="https://img.shields.io/pypi/v/crewai-omega?color=blue&label=PyPI" alt="PyPI"></a>
  <a href="https://github.com/TheArkhitect/Omegaengine/actions"><img src="https://img.shields.io/github/actions/workflow/status/TheArkhitect/Omegaengine/ci.yml?branch=main" alt="CI"></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>

<p align="center">
  <a href="https://omegaengine.ai/docs">Documentation</a> •
  <a href="https://omegaengine.ai/playground">Playground</a> •
  <a href="https://github.com/TheArkhitect/Omegaengine/issues">Issues</a>
</p>

---

## ✨ Features

- 🚀 **Governed Crews** — Add policies to any CrewAI crew
- 🤖 **Agent Monitoring** — Track all agent actions and tool usage
- 🔧 **Tool Guards** — Validate tool executions before running
- 📊 **Task Auditing** — Full audit trail for crew operations
- 🛡️ **Output Validation** — Ensure crew outputs meet policies

---

## 📦 Installation

```bash
pip install crewai-omega
```

---

## 🚀 Quick Start

### Governed Crew

```python
from crewai import Agent, Task, Crew
from crewai_omega import GovernedCrew

# Define your agents
researcher = Agent(
    role='Senior Research Analyst',
    goal='Research market trends',
    backstory='Expert analyst...',
)

writer = Agent(
    role='Content Writer', 
    goal='Create compelling content',
    backstory='Professional writer...',
)

# Define tasks
research_task = Task(
    description='Research the AI market...',
    agent=researcher,
)

write_task = Task(
    description='Write a report...',
    agent=writer,
)

# Create governed crew
crew = GovernedCrew(
    agents=[researcher, writer],
    tasks=[research_task, write_task],
    omega_api_key="your-omega-api-key",
    policy_id="crew_policy",
)

# Run with governance
result = crew.kickoff()
```

### Agent-Level Governance

```python
from crewai_omega import GovernedAgent

# Governed agent with individual policy
analyst = GovernedAgent(
    role='Financial Analyst',
    goal='Analyze investments',
    omega_api_key="your-omega-api-key",
    policy_id="finance_policy",
    block_on_deny=True,
)
```

---

## 🎯 Use Cases

| Use Case | How It Helps |
|----------|--------------|
| **Research Crews** | Ensure factual, unbiased research |
| **Content Teams** | Block off-brand or harmful content |
| **Code Crews** | Prevent malicious code generation |
| **Data Processing** | Protect PII and sensitive data |

---

## 📄 License

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

---

<p align="center">
  Built with ❤️ by the <a href="https://omegaengine.ai">OmegaEngine</a> team
</p>
