AGT integration adapter for MeshGuard, the neutral control plane for AI agent governance.
This package wires Microsoft Agent Governance Toolkit extension points to MeshGuard services:
MeshGuardPolicyBackendMeshGuardAuditSinkMeshGuardIdentityProviderMeshGuardTrustOracleMeshGuardMCPGateway
Runtime adapters include retrying gateway calls, fail-open/fail-closed policy modes, stale decision cache fallback, durable audit WAL replay, and optional Prometheus metrics.
pip install meshguard-agtimport os
from meshguard_agt import configure_agt_with_meshguard
kernel = configure_agt_with_meshguard(
gateway_url="https://gateway.meshguard.app",
tenant_id="acme-corp",
agent_token=os.environ["MESHGUARD_AGENT_TOKEN"],
)meshguard-agt doctor --gateway-url https://gateway.meshguard.app --tenant-id acme-corp
meshguard-agt decisions tail --gateway-url https://gateway.meshguard.app --tenant-id acme-corppython -m pip install -e ".[dev]"
pytest