agent-governance-toolkit  by microsoft

AI Agent Governance Toolkit for secure and reliable autonomous agents

Created 2 weeks ago

New!

294 stars

Top 90.1% on SourcePulse

GitHubView on GitHub
Project Summary

Summary

This toolkit provides runtime governance for AI agents, addressing all 10 OWASP Agentic Top 10 risks. It offers deterministic policy enforcement, zero-trust identity, execution sandboxing, and reliability engineering for autonomous AI agents. Designed for engineers and power users, it enhances agent security and reliability across diverse technology stacks with zero vendor lock-in.

How It Works

The system implements runtime governance through deterministic policy enforcement, evaluating every agent action against defined policies before execution at sub-millisecond latency. It employs a zero-trust identity model using Ed25519 credentials and SPIFFE/SVID support, coupled with a 4-tier privilege ring execution sandboxing system. Agent SRE capabilities include SLOs, error budgets, and chaos engineering. The toolkit supports OPA/Rego and Cedar policies and integrates with over 12 agent frameworks, offering a flexible, stack-agnostic solution.

Quick Start & Requirements

Installation is straightforward via package managers: pip install agent-governance-toolkit[full] (Python), npm install @agentmesh/sdk (TypeScript), or dotnet add package Microsoft.AgentGovernance (.NET). Standard development environments for Python, TypeScript, or .NET are required. Comprehensive documentation, including quick-start guides, SDK details, and step-by-step tutorials covering policy, identity, integrations, compliance, SRE, and sandboxing, is available.

Highlighted Details

  • Deterministic Policy Enforcement: Actions evaluated with sub-millisecond latency (<0.1 ms).
  • Zero-Trust Agent Identity: Features Ed25519 credentials, SPIFFE/SVID support, and trust scoring (0-1000).
  • Execution Sandboxing: Utilizes a 4-tier privilege ring system, saga orchestration, and termination control.
  • Agent SRE: Integrates SLOs, error budgets, replay debugging, and chaos engineering.
  • Broad Framework Integration: Supports 12+ agent frameworks like LangChain, CrewAI, AutoGen, and OpenAI Agents.
  • OWASP Coverage: Dedicated controls for all 10 OWASP Agentic Top 10 risks.

Maintenance & Community

Feedback and bug reports are managed via GitHub issues. Contributing guides and community resources are provided for support and engagement.

Licensing & Compatibility

Licensed under the MIT License, permitting broad use. Designed for compatibility with numerous agent frameworks and platforms (AWS Bedrock, Google ADK, Azure AI, LangChain, etc.), emphasizing zero vendor lock-in.

Limitations & Caveats

Users are advised that operating with third-party agent frameworks or services carries inherent risks. It is the user's responsibility to manage data sharing practices, data flow across compliance/geographic boundaries, and understand any related implications.

Health Check
Last Commit

14 hours ago

Responsiveness

Inactive

Pull Requests (30d)
142
Issues (30d)
158
Star History
294 stars in the last 17 days

Explore Similar Projects

Starred by Wes McKinney Wes McKinney(Author of Pandas), Chip Huyen Chip Huyen(Author of "AI Engineering", "Designing Machine Learning Systems"), and
22 more.

autogen by microsoft

0.6%
56k
Agentic framework for multi-agent AI applications
Created 2 years ago
Updated 1 day ago
Feedback? Help us improve.