Agent Governance Toolkit (AGT) enforces policy, identity, sandboxing, and reliability controls on autonomous AI agents in deterministic application code rather than in the prompt. Every tool call, message send, and delegation is intercepted before it leaves the agent, so an action the policy denies never executes. It addresses three questions: whether an action is allowed, which agent took it, and whether that can be proven to an auditor afterward.
Wrapping a tool function with the governance call evaluates a YAML policy on every call, writes the decision to an audit trail, and raises a denial when the policy blocks the action. The pipeline runs agent requests through a policy engine (YAML, OPA, or Cedar rules), an identity layer (SPIFFE, DIDs, and mTLS), and a tamper-evident audit log. Every layer is optional. Policy evaluation is delegated to the Agent Control Specification, a stateless, fail-closed decision runtime with a Rust core, and AGT keeps the host APIs and framework adapters around it.
SDKs exist for Python (the full stack), TypeScript, .NET, Rust, and Go, plus governance plugins for coding agents (Claude Code, Codex CLI, OpenCode, and GitHub Copilot CLI). Framework integrations include native middleware for Microsoft Agent Framework and Semantic Kernel and adapters or middleware for AutoGen, LangGraph and LangChain, CrewAI, OpenAI Agents SDK, Agent Development Kit (ADK), LlamaIndex, Haystack, Mastra, and Dify. Enforcement runs in the same process as the agent, so the project recommends a separate container per agent for OS-level isolation.
Each major component has a formal RFC 2119 specification backed by 992 conformance tests, and the controls are mapped to the OWASP Agentic AI Top 10, NIST AI RMF, the EU AI Act, and SOC 2. The project is in public preview and may have breaking changes before general availability.
Features
- Policy engine: deterministic, fail-closed allow or deny decisions on tool calls from YAML, OPA, or Cedar policies, with policy linting
- Agent identity: per-agent credentials with SPIFFE, DIDs, and mTLS, trust scoring, and delegation chains through Agent Mesh
- Execution sandboxing: Agent Runtime isolates execution with four privilege rings, and Agent Hypervisor adds execution audit and command denylists
- Audit and compliance: tamper-evident Merkle audit logs, decision records, OWASP verification, and evidence mapping for NIST AI RMF, the EU AI Act, and SOC 2
- Agent SRE: kill switch, SLO monitoring, error budgets, circuit breakers, and chaos testing
- MCP Security Gateway: detects tool poisoning, tool drift, typosquatting, and hidden instructions in MCP servers
- Prompt injection audit: a 12-vector PromptDefense evaluator and a CLI red-team scan that grades prompts
- Shadow AI discovery: finds unregistered agents across processes, configs, and repositories
- Governance dashboard: real-time fleet view of agent health, trust, and compliance
- RL training governance: Agent Lightning applies violation penalties during reinforcement learning training
- Coding-agent plugins: governance plugins for Claude Code, Codex CLI, OpenCode, and GitHub Copilot CLI
- Multi-language SDKs: Python, TypeScript, .NET (with an MCP server extension), Rust, and Go