Skip to main content

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

CI License Python PyPI

[!IMPORTANT] Public Preview — The agentmesh-runtime package on PyPI is a Microsoft-signed public preview release. APIs may change before GA.


Note: This package was renamed from agent-runtime to agentmesh-runtime to avoid a PyPI name collision with the AutoGen team's package. The agent-hypervisor package remains the canonical upstream implementation; agentmesh-runtime is 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

agentmesh_runtime-3.2.0.tar.gz (14.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

agentmesh_runtime-3.2.0-py3-none-any.whl (8.8 kB view details)

Uploaded Python 3

File details

Details for the file agentmesh_runtime-3.2.0.tar.gz.

File metadata

  • Download URL: agentmesh_runtime-3.2.0.tar.gz
  • Upload date:
  • Size: 14.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: RestSharp/106.13.0.0

File hashes

Hashes for agentmesh_runtime-3.2.0.tar.gz
Algorithm Hash digest
SHA256 82ba724cf419cfa3a130d1b3e527a0369eee2035e8d3e2d2d117f1c7d6b64d2f
MD5 5f3b9ef244fbe3f24839845f2be760ce
BLAKE2b-256 9ae50e29ca96c372a85c3f48d1844d3c55fcee8e229bc0890e0d29c4b79b66dc

See more details on using hashes here.

File details

Details for the file agentmesh_runtime-3.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for agentmesh_runtime-3.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 78d98416c5b30a342f72e5a72d482935ec5a51060bdf17a636b0fc72c997e28d
MD5 027985f79778a633816046f2882d04ea
BLAKE2b-256 48c62d8857435b2bd09480f347a9399fba7ebd81771ba9c0967baf0e13ff5b57

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