agent-governance

Enforce governance policies on AI agent tool usage with audit trails.

1|1|Updated May 3, 2026
One-click install
npx skills add https://github.com/matt-riley/agent-skills --skill agent-governance-matt-riley
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: agent-governance
Source: https://github.com/matt-riley/agent-skills/tree/main/skills/agent-governance
Command: npx skills add https://github.com/matt-riley/agent-skills --skill agent-governance-matt-riley

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Governance patterns to enforce safety, policy, and accountability across AI agent tooling and workflows, reducing risk from tool misuse and unsafe prompts.

Core Features & Use Cases

  • Define and compose governance policies (allowed tools, blocked patterns, rate limits, and human approvals) to enforce safe agent behavior.
  • Apply tool-level governance via decorators and wrappers, with append-only audit trails for compliance and debugging.
  • Framework integration scaffolding for PydanticAI, CrewAI, OpenAI Agents SDK, LangChain, and AutoGen to wire governance into existing agent architectures.
  • Maintain trust scores and robust audits across multi-agent interactions to support governance and risk management.

Quick Start

Configure a sample GovernancePolicy and apply the govern decorator to a tool function to see enforcement, auditing, and safety checks in action.

Frequently Asked Questions about agent-governance

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I enforce policy and safety rules on AI agents?

To enforce policy on AI agents, define a GovernancePolicy with allowed tools, blocked patterns, and rate limits. Apply it to tool functions using a govern decorator, which intercepts actions and blocks unsafe prompts before execution.

Can I add an audit trail to AI agent tools for compliance debugging?

Yes, you can add an audit trail to AI agent tools using built-in wrappers. The governance mechanism logs all tool usage interactions in an append-only format, providing a robust record for compliance verification and debugging.

Does this governance skill work with CrewAI and LangChain frameworks?

Yes, this skill provides framework integration scaffolding for CrewAI and LangChain, alongside PydanticAI, OpenAI Agents SDK, and AutoGen. These adapters wire governance policies directly into existing agent architectures.

What is the best way to manage trust scores across multi-agent interactions?

The best way to manage multi-agent trust scores is using the built-in governance model. It calculates and maintains trust metrics across multi-agent interactions, supporting ongoing risk management and accountability.

How do I require human approval for specific AI agent tool usage?

To require human approval for tool usage, configure your GovernancePolicy to include human approval rules. The govern decorator then enforces these rules, pausing execution to request manual authorization for specified actions.

How do I prevent unsafe actions when coordinating multiple AI agents?

To prevent unsafe actions in multi-agent coordination, apply governance policies that enforce intent classification and tool control. This restricts unauthorized actions and maintains a robust audit trail across all agent interactions.