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.0.1.tar.gz (9.1 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.0.1-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for agentmesh_runtime-3.0.1.tar.gz
Algorithm Hash digest
SHA256 0d1ee55b5aa00e0fcd2b1e51ac4c424f7537de04829d3fa7df6411f9e9504925
MD5 eedceb0e042af2cd518b1b6c27609a5b
BLAKE2b-256 b96348e4178b12cbf55f511d0461c142e6ee9fbfa1c8803befade8e270eea2fc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for agentmesh_runtime-3.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 72e5f51dc33c74f4d6a193ee66be5047e360769d140691926138a5cf4ff3151d
MD5 c5d09ff116fff301e8209a98045ef817
BLAKE2b-256 c7dceb606d0a4d84d4b3919d2001ce2bee63418c53794e1e49fbfa8a2d0fcb0a

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