Skip to main content

OmegaEngine governance integration for langgraph-omega

Project description

OmegaEngine Logo

langgraph-omega

LangGraph Integration for OmegaEngine

PyPI License


✨ Features

  • 🕸️ Graph-level Governance — Control entire agent workflows
  • 🔗 Node Validation — Validate each graph node execution
  • 🔄 State Guards — Monitor state transitions
  • 📊 Execution Tracing — Full audit of graph execution
  • 🛡️ Conditional Overrides — Policy-based routing

📦 Installation

pip install langgraph-omega

🚀 Quick Start

from langgraph.graph import StateGraph
from langgraph_omega import OmegaGraph

# Define your graph
workflow = StateGraph(AgentState)
workflow.add_node("research", research_agent)
workflow.add_node("write", write_agent)
workflow.add_edge("research", "write")

# Wrap with governance
governed_graph = OmegaGraph(
    workflow.compile(),
    omega_api_key="your-omega-key",
    policy_id="agent_workflow",
)

# All node executions are governed
result = governed_graph.invoke({"input": "Write about AI"})

🔗 Node-level Governance

from langgraph_omega import governed_node

@governed_node(policy_id="research_policy")
def research_agent(state):
    # Node execution is validated
    return {"research": "..."}

workflow.add_node("research", research_agent)

📄 License

Licensed under the Apache License 2.0.

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.

langgraph_omega-0.1.0-py3-none-any.whl (8.9 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for langgraph_omega-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c8c074898f260758a76dc89db703b12bb06acda997da32e56cd60c720c47ee80
MD5 6e7de76071ab6fe0dda69e07bcc6af2a
BLAKE2b-256 6c22f15dd18ef96e5aba4d7ca73da932b723ad21dcd774f2372f845b869597b2

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