An operational safety and governance layer that sits between your AI agent's decision to act and the action itself. Classify risk, enforce proportional controls, block dangerous operations, and log everything. One layer in a defense-in-depth stack — framework-agnostic by design, shipping first on Claude Code.
GouvernAI uses two enforcement layers that adapt to each platform. The core architecture — probabilistic classification + deterministic blocking — is designed to work across any agent framework.
Structured instructions teach the agent an 8-step gate process. The agent reads, reasons, and classifies with judgment — handling nuanced decisions a regex can't. Adapts to each framework's skill/prompt format.
Hard constraint scripts run on every tool call. If a violation is detected, the action is blocked — the agent cannot override it. Implemented as PreToolUse hooks on Claude Code, with middleware/guardrails adapters planned for other frameworks.
Every action gets the same control at its tier. No per-action overrides. Universal, predictable, auditable.
We publish our threat model openly. GouvernAI is one layer in a defense-in-depth stack — not a security boundary. As the 2026 International AI Safety Report recommends: multiple safeguards compensating for weaknesses in any single control.
GouvernAI's dual-enforcement pattern — probabilistic classification + deterministic blocking — adapts to each platform's native extension points.
Full plugin with SKILL.md + PreToolUse hooks. Dual enforcement. 85 tests passing.
Standalone skill layer — drop SKILL.md into any Claude project. Probabilistic classification, no hooks required.
Standalone MCP server. Guardrails as middleware for any MCP-compatible agent or IDE.
Python guardrails hooks for the OpenAI Agents SDK. Same tier system, same controls.
Node-level guardrails for multi-agent orchestration frameworks.
Full dual-enforcement plugin or lightweight skill-only — pick what fits your workflow.
Full plugin — skill layer + deterministic hooks. Blocks dangerous operations even if the model skips classification.
# Add the marketplace
claude plugin marketplace add Myr-Aya/GouvernAI-claude-code-plugin
# Install the plugin
claude plugin install gouvernai@mindxo
Standalone SKILL.md — drop into any Claude project for probabilistic classification and audit logging. No hooks, no dependencies.
# Clone the skill repo
git clone https://github.com/Myr-Aya/gouvernai-skill.git