microsoft/agent-governance-toolkit

AI Agent Governance Toolkit — Policy enforcement, zero-trust identity, execution sandboxing, and reliability engineering for autonomous AI agents. Covers...

Owned by Microsoft

View on GitHub ↗Jump to charts ↓Open shareable report →

microsoft/agent-governance-toolkit has 6k+ stars and 1k+ forks on GitHub, is written in Python, and was last pushed on Oct 18, 2026. Data as of . Signed-in members get hourly updates — create a free account.

Summary Information

Updated 43 minutes ago
Added to GitGenius on May 28th, 2026
Created on March 2nd, 2026
Open Issues & Pull Requests: 93 (+2)
GitHub issues: Enabled
Number of forks: 1,140
Total Stargazers: 6,435 (+0)
Total Subscribers: 91 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 19.9 hours
Mean response time: 4.5 days
90th percentile: 11.7 days
Tracked items: 840

Maintainer activity

57 people did triage or write work on this repository in the last 12 months.

Counts unlabeled, assigned, unassigned, milestoned, demilestoned, locked, unlocked over the last 12 months. These are issue and pull request events that require triage or write permission. Commits and code review are not counted. labeled and renamed are excluded because GitHub issue forms record the issue author as the actor. Figures from October 18, 2026. This count is not comparable across projects: each project's automation decides which of these events a person emits. How this is counted.

How this project is maintained

Practically every issue opened in the past year has drawn a reply. 90% of open issues come from outside the core team, so the backlog reflects real-world use rather than internal planning. Work labelled "bug" is answered fastest, typically in about 6 hours, while "community" waits about 2 days. Almost all tracked open issues have seen activity in the last three months. 95% of issues opened in the past year have since been closed.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 40
New in 7 days: 9
Closed in 7 days: 9
Avg open age: 31 days
Stale 30+ days: 9
Stale 90+ days: 1

Recent activity

Opened in 7 days: 8
Closed in 7 days: 9
Comments in 7 days: 16
Events in 7 days: 50

Top labels

  • enhancement (291)
  • good first issue (174)
  • documentation (126)
  • bug (103)
  • needs-review:MEDIUM (99)
  • triage (64)
  • help wanted (54)
  • community (45)

Most active issues this week

Sign in to see which issues are moving.
Sign in

Detailed Description

The Agent Governance Toolkit is a Microsoft-maintained Python framework designed to enforce policy, identity, and execution controls on autonomous AI agents before they reach production. The repository addresses a critical gap in AI agent safety: while prompt-level safety measures are probabilistic and can be circumvented through adversarial attacks, the toolkit implements deterministic application-layer controls that make policy violations structurally impossible rather than merely unlikely. Every tool call, message send, and agent delegation is intercepted in code before execution, ensuring that actions denied by the governance kernel cannot occur at all.

The toolkit's core purpose is answering three operational questions for deployed agents: whether a requested action is permitted under active policy, which specific agent performed an action in multi-agent systems, and whether complete tamper-evident audit records exist for regulatory and incident response purposes. The repository explicitly grounds its approach in OWASP LLM01:2025 guidance on prompt injection and cites research showing 100 percent attack success rates against major models when using adaptive attacks, making model-layer defenses insufficient as a sole control mechanism.

The architecture is modular and layered, allowing teams to adopt components incrementally. The Agent OS package provides the policy engine and governance gate. The Agent Control Specification implements a stateless, deterministic, fail-closed policy decision runtime with a Rust core. Additional packages handle agent discovery and routing through Agent Mesh, execution sandboxing with privilege rings via Agent Runtime, reliability engineering through Agent SRE, compliance verification and policy linting via Agent Compliance, plugin governance through Agent Marketplace, reinforcement learning governance via Agent Lightning, and execution audit and command enforcement through Agent Hypervisor. Specialized capabilities include an MCP Security Gateway for tool poisoning detection and drift monitoring, Shadow AI Discovery to locate unregistered agents, a governance dashboard for fleet visibility, a PromptDefense Evaluator for prompt injection auditing, and contributor reputation screening for social engineering detection.

The toolkit supports multiple programming languages through dedicated SDKs: Python with the full feature set, TypeScript, .NET, Go, and Rust implementations covering core governance functions. Installation is available through PyPI for Python, npm for TypeScript, NuGet for .NET, cargo for Rust, and Go modules. As of version 4.1.0, 45 Python packages were consolidated into five distributions: core, runtime, SRE, CLI, and a full meta-package.

The repository shares contributors with airbytehq/airbyte, agentops-ai/agentops, and openclaw/openclaw, indicating cross-pollination within the agent framework ecosystem. The toolkit is available in multiple languages including English, Japanese, Simplified Chinese, and Korean, reflecting its intended global adoption.