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 Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

crewai_omega-0.1.0-py3-none-any.whl (9.3 kB view details)

Uploaded Python 3

File details

Details for the file crewai_omega-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: crewai_omega-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 9.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.6

File hashes

Hashes for crewai_omega-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5008423469ac4490e48cdc85e68741a9fe3083548cf7f540f92daac995821e04
MD5 236c96f4fb615da08da40a69ea4f43c2
BLAKE2b-256 6bfa9e9d7a5fe1d92507b9f80f8173f6bc162a5a75c901f8abdf372c7d44660f

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