OmegaEngine governance integration for langgraph-omega
Project description
langgraph-omega
LangGraph Integration for OmegaEngine
✨ 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
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
langgraph_omega-0.2.0.tar.gz
(560.3 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 langgraph_omega-0.2.0.tar.gz.
File metadata
- Download URL: langgraph_omega-0.2.0.tar.gz
- Upload date:
- Size: 560.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2e8306d5989adbfed0289ea98d196d058bd2899a804fca8575d44a45298252fb
|
|
| MD5 |
04c6714fea01bf2ced0aa18ae8695349
|
|
| BLAKE2b-256 |
adae8fdfcee187c9975ea78fcb2d0f7cc5ab701ef492df80c3b9cba61b75a865
|
File details
Details for the file langgraph_omega-0.2.0-py3-none-any.whl.
File metadata
- Download URL: langgraph_omega-0.2.0-py3-none-any.whl
- Upload date:
- Size: 10.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2b9d6a943d3b14d273f70dd52e0318f05c4efe03dd65a3deb67e06bb82c1308a
|
|
| MD5 |
bd38a9736a7b94816c85a6b7bd2c54d0
|
|
| BLAKE2b-256 |
a6c0aca2c61ab057e75349f00cc390ca94592ac2274b31a3f01a0cf0375beb9b
|