This page answers the most common technical questions from customers, partners, and evaluators of the Agent Governance Toolkit. For installation help, see the Quick Start. For design boundaries that aren’t bugs, see the Known Limitations page. For architecture deep-dives, refer to the How It Works page.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/microsoft/agent-governance-toolkit/llms.txt
Use this file to discover all available pages before exploring further.
1. What is the relationship between AGT and the Foundry Control Plane?
1. What is the relationship between AGT and the Foundry Control Plane?
| Aspect | Agent Governance Toolkit | Foundry Control Plane |
|---|---|---|
| Scope | Per-agent runtime security and policy enforcement | Organisation-wide fleet management, monitoring, and lifecycle |
| Where it runs | In-process middleware or sidecar alongside each agent | Centralised Azure service |
| What it does | Intercepts every agent action, enforces policy, verifies identity, audits | Provides agent inventory, health monitoring, lifecycle operations, centralised policy definition |
| Latency | Sub-millisecond (<0.1ms p99) | Dashboard/API-level |
| Licence | Open-source (MIT) | Azure managed service |
- The Control Plane defines and distributes policies, aggregates telemetry, and provides a single pane of glass for operators.
- The Toolkit enforces those policies deterministically at runtime — every tool call, resource access, and inter-agent message is evaluated before execution.
- Foundry Control Plane can report on AGT-enforced events (blocked actions, identity assertions, trust scores) as part of its observability features.
2. Is the Agent Mesh sidecar only intercepting network-related agent actions?
2. Is the Agent Mesh sidecar only intercepting network-related agent actions?
3. What is the practical impact of the different SDK integration types?
3. What is the practical impact of the different SDK integration types?
| Type | Coupling | Developer Effort | What It Means |
|---|---|---|---|
| Native Middleware | Deepest | Minimal | Governance runs as a first-class middleware layer. Every action passes through it automatically. No changes to agent logic. |
| Native | Deep | Minimal | Hooks directly into the framework’s native extension points (e.g., Semantic Kernel filters/plugins). |
| Adapter | Moderate | Low | A thin wrapper class bridging the framework’s API to AGT. Typical: LangChainKernel(agent=my_agent). |
| Middleware/Pipeline | Moderate | Low | Hooks into lifecycle callbacks or pipeline stages. In Haystack, it’s a pipeline component; in OpenAI Agents SDK, it’s an async hook. |
| Plugin | Lightest | Minimal | Drop-in plugin in platforms that support marketplaces (e.g., Dify Marketplace). |
| Deployment Guide | N/A | Varies | Not a code integration — a documented deployment pattern for Azure AI Foundry. |
- Microsoft Agent Framework or Semantic Kernel → Use native middleware — governance is invisible and automatic.
- LangChain, CrewAI, AutoGen, or Google ADK → Use the adapter — 2–3 lines of code.
- Dify → Install the plugin from the marketplace.
- Azure AI Foundry → Follow the deployment guide for MAF middleware.
4. Can an agent identity be linked to Entra IDs?
4. Can an agent identity be linked to Entra IDs?
- Enterprise SSO — Agents authenticate with the same Entra ID used by your organisation.
- Conditional Access — Apply Entra Conditional Access policies to agent identities.
- RBAC Integration — Agents can be assigned Azure RBAC roles through their Managed Identity.
- Audit Trail — Entra sign-in logs capture agent authentication events alongside human events.
- Credential-less — Managed Identity means no secrets to manage in code or configuration.
identity/managed_identity.py.5. If I update a policy at runtime, do I need to restart the agent?
5. If I update a policy at runtime, do I need to restart the agent?
| Scenario | Approach |
|---|---|
| Development/testing | Call reload_policies() explicitly after editing policy files |
| Production (single agent) | Use OPA Remote Server for automatic hot-reload |
| Production (fleet) | Use Foundry Control Plane to distribute policy updates → sidecar picks up changes via ConfigMap |
6. What is the difference between agent-hypervisor and agent-runtime?
6. What is the difference between agent-hypervisor and agent-runtime?
agent-hypervisor is the canonical upstream implementation; agentmesh-runtime (agent-runtime) is a thin re-export wrapper created to avoid a PyPI naming collision with Microsoft AutoGen’s agent-runtime package.| Aspect | agent-hypervisor | agent-runtime (agentmesh-runtime) |
|---|---|---|
| PyPI Package | agent-hypervisor | agentmesh-runtime |
| Role | Canonical implementation | Thin re-export wrapper |
| Why it exists | Primary development package | PyPI name collision avoidance with AutoGen |
| Import path | from hypervisor import Hypervisor | from hypervisor import Hypervisor (same) |
pip install agent-governance-toolkit[full], which includes the hypervisor/runtime subsystem. The individual package names are documented only to explain the PyPI naming.| Feature | Description |
|---|---|
| Execution Rings (Ring 0–3) | Graduated privilege levels based on trust score. Ring 0 = system (highest), Ring 3 = sandbox (most restricted). |
| Session Isolation | Multi-agent sessions with VFS namespacing and DID-bound identity. |
| Saga Orchestration | Multi-step transactions with automatic compensation (rollback). |
| Kill Switch | Immediate or graceful termination of runaway agents with audit trail. |
| Joint Liability | Attribution tracking across multi-agent collaborations with bonded reputation. |
| Temporary Ring Elevation (Sudo) | Agents can request temporary privilege escalation with a TTL that auto-expires. |
7. Is AGT geared towards Foundry agents or any agent type?
7. Is AGT geared towards Foundry agents or any agent type?
agent-governance-toolkit-core, agent-governance-toolkit-runtime, etc.) depend only on pydantic and cryptography — no Azure/Microsoft services required.AGT follows an adapter pattern: core governance packages are vendor-neutral, while framework-specific integrations are published as separate packages. This means:- Foundry agents get native middleware integration (
GovernancePolicyMW,CapabilityGuardMW,AuditTrailMW) — governance is invisible and automatic. - Non-Foundry agents (LangChain, CrewAI, OpenClaw, etc.) use adapters or the sidecar HTTP API — 2–3 lines of code.
- The governance capabilities are identical regardless of framework.
agt doctor to verify — it shows all installed packages and confirms none require cloud connectivity.8. How does AGT enforce governance at the application middleware layer?
8. How does AGT enforce governance at the application middleware layer?
GovernanceDenied is raised before any external call is made — the action never executes. If allowed, an immutable audit log entry is written.Security boundary note: AGT enforces at the application middleware layer, not at the OS kernel level. The policy engine and agents share the same process boundary. For OS-level isolation, run each agent in a separate container. See the Known Limitations page for full detail and recommended layered defence.9. What does "fail-closed" mean in AGT context?
9. What does "fail-closed" mean in AGT context?
- If policy files cannot be loaded at startup → actions are denied until policies are successfully loaded.
- If OPA/Cedar backend returns an unexpected error → the built-in fallback evaluates and denies if no explicit allow rule matches.
- If the policy evaluator has no policies loaded at all → the default action is
allow(permissive default).
10. How do I get an OWASP compliance attestation?
10. How do I get an OWASP compliance attestation?
agt verify --evidence ./agt-evidence.json --strict. This checks all 10 OWASP Agentic AI Top 10 controls and produces a signed attestation.--strict, it exits with code 1 if any control is not fully covered — suitable for blocking a CI pipeline.You can also embed the resulting badge in your README: