Public Preview — AgentMesh Runtime: Execution supervisor for multi-agent sessions with privilege rings, saga orchestration, and audit trails
Project description
AgentMesh Runtime
Execution supervisor for multi-agent sessions — privilege rings, saga orchestration, and governance enforcement
Part of the Agent Governance Toolkit
[!IMPORTANT] Public Preview — The
agentmesh-runtimepackage on PyPI is a Microsoft-signed public preview release. APIs may change before GA.
Note: This package was renamed from
agent-runtimetoagentmesh-runtimeto avoid a PyPI name collision with the AutoGen team's package. Theagent-hypervisorpackage remains the canonical upstream implementation;agentmesh-runtimeis a thin re-export wrapper for incremental import migration.
What is Agent Runtime?
Agent Runtime provides execution-level supervision for autonomous AI agents. While Agent OS handles policy decisions and AgentMesh handles trust/identity, Agent Runtime enforces those decisions at the session level:
- Execution Rings — 4-tier privilege model (Ring 0–3) controlling what agents can do at runtime
- Shared Sessions — Multi-agent session management with consistency modes (strict, eventual, causal)
- Saga Orchestration — Compensating transactions for multi-step agent workflows
- Kill Switch — Immediate termination with audit trail and blast radius containment
- Joint Liability — Attribution tracking across multi-agent collaborations
- Audit Trails — Hash-chained, append-only execution logs
Quick Start
pip install agentmesh-runtime
from hypervisor import Hypervisor, SessionConfig, ConsistencyMode
# Create the runtime supervisor
hv = Hypervisor()
# Create a governed session
session = await hv.create_session(
config=SessionConfig(consistency_mode=ConsistencyMode.EVENTUAL)
)
# Execute with privilege enforcement
result = await session.execute(
agent_id="researcher-1",
action="tool_call",
tool="web_search",
ring=2 # restricted privilege ring
)
Architecture
┌─────────────────────────────────────────────────────────────────────┐
│ Agent Runtime │
├─────────────┬──────────────────┬──────────────────┬─────────────────┤
│ Execution │ Session │ Saga │ Liability │
│ Rings │ Management │ Orchestration │ Tracking │
│ │ │ │ │
│ Ring 0: │ Create/join │ Multi-step │ Attribution │
│ System │ Consistency │ Compensation │ Vouching │
│ Ring 1: │ Checkpoints │ Rollback │ Slashing │
│ Trusted │ Merge/fork │ Recovery │ Quarantine │
│ Ring 2: │ │ │ │
│ Standard │ │ │ │
│ Ring 3: │ │ │ │
│ Sandboxed │ │ │ │
└─────────────┴──────────────────┴──────────────────┴─────────────────┘
Ecosystem
Agent Runtime is one of 7 packages in the Agent Governance Toolkit:
| Package | Role |
|---|---|
| Agent OS | Policy engine — deterministic action evaluation |
| AgentMesh | Trust infrastructure — identity, credentials, protocol bridges |
| AgentMesh Runtime | Execution supervisor — rings, sessions, sagas (this package) |
| Agent SRE | Reliability — SLOs, circuit breakers, chaos testing |
| Agent Compliance | Regulatory compliance — GDPR, HIPAA, SOX frameworks |
| Agent Marketplace | Plugin lifecycle — discover, install, verify, sign |
| Agent Lightning | RL training governance — governed runners, policy rewards |
License
MIT — see LICENSE.
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
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 agentmesh_runtime-3.5.0.tar.gz.
File metadata
- Download URL: agentmesh_runtime-3.5.0.tar.gz
- Upload date:
- Size: 15.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: RestSharp/106.13.0.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
95f6097ae4584ef4a5f0e6646f802fc01b715ca70122d805966d1621e90ac029
|
|
| MD5 |
7a15fa9d450ef73c5cbef4e32ed45e5b
|
|
| BLAKE2b-256 |
61a66c32a7387ac1f5523093b88d57a0ac79f817ead06b47a5d5f530cf1d5eb9
|
File details
Details for the file agentmesh_runtime-3.5.0-py3-none-any.whl.
File metadata
- Download URL: agentmesh_runtime-3.5.0-py3-none-any.whl
- Upload date:
- Size: 8.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: RestSharp/106.13.0.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ff209ef17dad9c362db166633cbeb6b9d8957e9036dc465b97ca4962217cb4d1
|
|
| MD5 |
b27e548b4d2ad2ff71c50e9240b6458d
|
|
| BLAKE2b-256 |
605d2fbe6735216f4764e7aa37dd01cab9e668ea0f605b38e268c1d5c4d956f0
|