Tools/microsoft/agent-governance-toolkit

agent-governance-toolkit

AI Agent Governance Toolkit: policy enforcement, zero-trust identity, execution sandboxing, and reliability engineering for autonomous AI agents. Covers 10/10 OWASP Agentic Top 10.

6.1k+69/wkemergingPythonMIT Licensetrending

The Lens

By Erik Loyd, SaaS CEO and former COO/CFO of an AWS Premier Partner.

Updated Aug 2026

Agent Governance Toolkit puts a policy check between your AI agent and every action it takes. Tool calls, resource access, and agent-to-agent messages all get evaluated against rules you write before anything runs. The distinction that matters: this is application-layer enforcement, not prompt instructions asking a model to behave, so a jailbreak in the conversation does not talk its way past it. MIT, maintained by Microsoft, free.

It is framework-agnostic on purpose, with adapters for LangChain, CrewAI, AutoGen, AWS Bedrock, Google ADK, and Azure AI among others, plus SDKs for Python, TypeScript, Rust, Go, and .NET. You get a CLI, a governance dashboard, and published specs mapped against the OWASP Agentic Top 10. Installation is a package manager command; the actual work is writing policy that reflects what your agents should be allowed to do, which nobody can do for you.

Someone shipping a weekend agent can skip this. Anyone putting an autonomous agent in front of production systems or customer data needs this or an equivalent, and there is no free-versus-paid decision to make because Microsoft ships the whole thing MIT with no commercial gate.

The catch is scope, and it is narrower than the marketing suggests. This governs what an agent does, not what a model says, so prompt injection that produces a bad answer rather than a bad action passes straight through and you still need a content safety layer beside it. It is also public preview, with breaking changes expected before GA.

Free vs Self-Hosted vs Paid

fully free

Free Tier

All of it. Policy enforcement, the governance dashboard, the CLI, every framework adapter, and all five language SDKs. MIT licensed with no feature gating.

Self-Hosted

The only mode, and it is light: install the package from PyPI, npm, or NuGet and run policy evaluation in-process alongside your agent. No separate control plane to operate. The real cost is the engineering time to author and maintain policy, which is ongoing rather than one-time.

Paid

No paid tier from this project. Commercial equivalents live inside larger platforms, such as Azure AI Content Safety and the guardrail features bundled into Bedrock and Vertex, which are billed per request and tied to those clouds.

Completely free and MIT with no commercial gate. Budget engineering time for policy authoring, not license cost.

What to do by team size

Solo
free; skip it for prototypes, add it before anything touches production
Small team
free
Medium team
free; this is the point where ungoverned agent actions get expensive
Large team
free, and public preview means pin versions and track breaking changes
Self-hosting ops:moderate

Get tools like this every Wednesday

One featured tool, three on the radar. No fluff.

Score
82/100 · A
Adoption23/30
Maintenance25/25
Community9/20
License15/15
Analysis10/10

A low score is not a verdict on quality. Young and niche tools start low by design. How we calculate scores

Trust Signals

Growing adoption: 1,058 starsPermissive license (MIT)

License: MIT License

Use freely, including commercial. Just keep the license.

Commercial use: ✓ Yes

About

Owner
Microsoft (Organization)
Backed by
Microsoft
Stars
6,140
Forks
1,083

Explore Further

More tools in the directory

Featured in The Open Source Drop #11