Skip to main content

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.

Release files for langgraph-omega 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for langgraph-omega 0.3.0
File Size Uploaded
langgraph_omega-0.3.0.tar.gz 561.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for langgraph-omega 0.3.0
File Interpreter ABI Platform
langgraph_omega-0.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 572.1 kB

Release files / langgraph_omega-0.3.0.tar.gz

Download URL langgraph_omega-0.3.0.tar.gz
Size 561.2 kB
Tags Source
SHA-256 checksum
How to use checksums
8412a1ff2e88dd2811df65edc0019e8c338ee1186de54ffed25f8a06bdec30db
BLAKE2b-256 checksum
How to use checksums
926c387cf796e1cfa795696d7b2fa2f31bad48aa994a05d54fe16d1e5e8ca8b9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.13

Release files / langgraph_omega-0.3.0-py3-none-any.whl

Download URL langgraph_omega-0.3.0-py3-none-any.whl
Size 10.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
78c0609cd396d255094911a6a8ef7f715bbe8fd55edeb229a00346cf1e2257a0
BLAKE2b-256 checksum
How to use checksums
ab0f9b920cf14183c3ba73aadb089260837ecb758bb6e735037277d6f093d67b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.13

Release history Release notifications | RSS feed

This release

0.3.0 This release

2 release files

0.2.0

2 release files

0.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page