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.3.0.tar.gz
(562.9 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.3.0.tar.gz.
File metadata
- Download URL: crewai_omega-0.3.0.tar.gz
- Upload date:
- Size: 562.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5a1fdcd1d04e918db9ad88b4dd443e5db7d2849a8d3eefe6f8afaa7defb8c235
|
|
| MD5 |
67e848c9934a799effb5a41f1cd6511b
|
|
| BLAKE2b-256 |
006ded677d1eefd0d3fd8d5e05e0ecde14b2a1732ebd4cf9258691f43982496b
|
File details
Details for the file crewai_omega-0.3.0-py3-none-any.whl.
File metadata
- Download URL: crewai_omega-0.3.0-py3-none-any.whl
- Upload date:
- Size: 11.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
701bc1c43ca07f30af0b0eaffa1d994d56396bcc59dc69e593519bf515b87466
|
|
| MD5 |
af96db07528850fad5256f3b18b4caa1
|
|
| BLAKE2b-256 |
58e9e9de5d84d3dd719ca69039bf6bee13cf135cff20eb557d1f24119f3f648a
|