OmegaEngine governance integration for crewai-omega
Project description
crewai-omega
CrewAI Integration for OmegaEngine
Documentation • Playground • Issues
✨ 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
pip install crewai-omega
🚀 Quick Start
Governed Crew
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
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.
Built with ❤️ by the OmegaEngine team
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
crewai_omega-0.2.0.tar.gz
(561.8 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 crewai_omega-0.2.0.tar.gz.
File metadata
- Download URL: crewai_omega-0.2.0.tar.gz
- Upload date:
- Size: 561.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e4476f547ca5dcc0f5720382059076494735e80e9a0494f7d1706c812728198a
|
|
| MD5 |
282d254e14f245a128e4300299969ece
|
|
| BLAKE2b-256 |
28dc68837ac1442674100c79b1adf573b3d91d1e0afac5a4245b5f4d5b1e36c1
|
File details
Details for the file crewai_omega-0.2.0-py3-none-any.whl.
File metadata
- Download URL: crewai_omega-0.2.0-py3-none-any.whl
- Upload date:
- Size: 11.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3c53d41338eb743bbccd702a6e5e94c6bec9fd7d9baeb22aea6c2da55e297b54
|
|
| MD5 |
ba0ee71f962e1baf29a5be9c9812548f
|
|
| BLAKE2b-256 |
dddcb2a78ce0df7133227116dfb9a0bcb253cddb8208d13ef7da2d366f30bb2e
|