Coreason MACO: A Multi-Agent Collaborative Orchestrator for robust strategic reasoning and graph-based execution.
Project description
CoReason Runtime Engine ("The General")
Multi-Agent Collaborative Orchestrator (MACO)
Overview
coreason-maco is the runtime engine designed to transform AI from a "Chatbot" into a "Strategic Simulator." It executes pre-defined, deterministic workflows ("Recipes") where multiple specialized AI agents collaborate, debate, and verify each other's work.
As the Orchestrator, it manages a team of specialized agents to:
- Break down complex problems into steps.
- Execute parallel research streams.
- Debate findings using a "Council of Models" (Architectural Triangulation).
- Visualize the entire thought process in real-time.
Features
- "Glass Box" Visualization: Exposes internal state in real-time. Users can see exactly which agent is working, what data they are accessing, and where they are in the process.
- Architectural Triangulation ("The Council"): Automatically "triangulates" answers by asking three distinct models (e.g., OpenAI, Anthropic, DeepSeek) and having a fourth "Judge" agent synthesize the consensus.
- Counterfactual Simulation ("What-If" Analysis): Allows users to "Fork" the reasoning process to explore different scenarios without losing original data.
- GxP Compliance & Determinism: Ensures workflows are reproducible. Running the same "Recipe" with the same inputs and "Seed" yields the exact same result.
- Secure Identity Propagation: Propagates
UserContext(Identity Passport) securely to all workers and tools, ensuring "On-Behalf-Of" execution without leaking tokens in UI events.
Installation
pip install coreason_maco
Usage
Here is how to initialize and execute a workflow using coreason-maco:
import asyncio
from coreason_maco.core.controller import WorkflowController
from coreason_maco.infrastructure.server_defaults import ServerRegistry
# Optional: Import UserContext if available
try:
from coreason_identity.models import UserContext
except ImportError:
UserContext = None
async def main():
# 1. Initialize Services (Dependency Injection)
services = ServerRegistry()
# 2. Initialize Controller
controller = WorkflowController(services=services)
# 3. Define a Simple Manifest (Recipe)
manifest = {
"name": "Simple Greeting",
"nodes": [
{"id": "node_1", "type": "LLM", "config": {"prompt": "Say hello!"}}
],
"edges": []
}
# 4. Define Inputs
inputs = {
"user_id": "test_user",
"trace_id": "trace_123",
"secrets_map": {}
}
# 5. Execute Workflow
print("Starting Workflow...")
# Pass user_context (Optional)
async for event in controller.execute_recipe(manifest, inputs, user_context=None):
print(f"Event: {event.event_type} | Node: {event.node_id} | Payload: {event.payload}")
if __name__ == "__main__":
asyncio.run(main())
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
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 coreason_maco-0.3.1.tar.gz.
File metadata
- Download URL: coreason_maco-0.3.1.tar.gz
- Upload date:
- Size: 24.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e000b580fb28c26b8635d985863c718cc1d14fd794142b75a9f51c5af981f9a1
|
|
| MD5 |
f75aeec00b2f57c1314ef5123e78d9bc
|
|
| BLAKE2b-256 |
b1455ea4853f16a4502af71c238961a61e04f929cf36de1d17ec3622a854e9c9
|
Provenance
The following attestation bundles were made for coreason_maco-0.3.1.tar.gz:
Publisher:
publish.yml on CoReason-AI/coreason-maco
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
coreason_maco-0.3.1.tar.gz -
Subject digest:
e000b580fb28c26b8635d985863c718cc1d14fd794142b75a9f51c5af981f9a1 - Sigstore transparency entry: 869338520
- Sigstore integration time:
-
Permalink:
CoReason-AI/coreason-maco@3fb70cf98669ea03bf870e20f1cc95127cc36503 -
Branch / Tag:
refs/tags/v0.3.1 - Owner: https://github.com/CoReason-AI
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@3fb70cf98669ea03bf870e20f1cc95127cc36503 -
Trigger Event:
release
-
Statement type:
File details
Details for the file coreason_maco-0.3.1-py3-none-any.whl.
File metadata
- Download URL: coreason_maco-0.3.1-py3-none-any.whl
- Upload date:
- Size: 34.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e060e40f405963576b593aac288eb0a079e86bef7c1573cc432b5de25a8974c8
|
|
| MD5 |
91395bd530ca8cbd03ed77870c452447
|
|
| BLAKE2b-256 |
942deb58a040a03f4c1dd69cf50edb624d151934ab81af8b4bc5e1c86947d0d2
|
Provenance
The following attestation bundles were made for coreason_maco-0.3.1-py3-none-any.whl:
Publisher:
publish.yml on CoReason-AI/coreason-maco
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
coreason_maco-0.3.1-py3-none-any.whl -
Subject digest:
e060e40f405963576b593aac288eb0a079e86bef7c1573cc432b5de25a8974c8 - Sigstore transparency entry: 869338526
- Sigstore integration time:
-
Permalink:
CoReason-AI/coreason-maco@3fb70cf98669ea03bf870e20f1cc95127cc36503 -
Branch / Tag:
refs/tags/v0.3.1 - Owner: https://github.com/CoReason-AI
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@3fb70cf98669ea03bf870e20f1cc95127cc36503 -
Trigger Event:
release
-
Statement type: