Skip to main content

OmegaEngine governance integration for crewai-omega

Project description

OmegaEngine Logo

crewai-omega

CrewAI Integration for OmegaEngine

PyPI CI License

DocumentationPlaygroundIssues


✨ 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


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)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

crewai_omega-0.3.0-py3-none-any.whl (11.4 kB view details)

Uploaded Python 3

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

Hashes for crewai_omega-0.3.0.tar.gz
Algorithm Hash digest
SHA256 5a1fdcd1d04e918db9ad88b4dd443e5db7d2849a8d3eefe6f8afaa7defb8c235
MD5 67e848c9934a799effb5a41f1cd6511b
BLAKE2b-256 006ded677d1eefd0d3fd8d5e05e0ecde14b2a1732ebd4cf9258691f43982496b

See more details on using hashes here.

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

Hashes for crewai_omega-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 701bc1c43ca07f30af0b0eaffa1d994d56396bcc59dc69e593519bf515b87466
MD5 af96db07528850fad5256f3b18b4caa1
BLAKE2b-256 58e9e9de5d84d3dd719ca69039bf6bee13cf135cff20eb557d1f24119f3f648a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page