logi-cmd/agent-guardrails
Merge gates and safety checks for AI coding agents. Works with Claude Code, Cursor, Windsurf, Codex via MCP. Detect scope violations, missing tests, and risks before merge.
Platform-specific configuration:
{
"mcpServers": {
"agent-guardrails": {
"command": "npx",
"args": [
"-y",
"agent-guardrails"
]
}
}
}Add the config above to .claude/settings.json under the mcpServers key.
[π¨π³ δΈζη](./README.zh-CN.md) | [π¬π§ English](./README.md)
agent-guardrails is a merge gate for AI-generated code. It checks that AI changes match expectations *before* you merge.
agent-guardrails is aimed first at overseas solo developers and small teams already using AI coding tools.
It is not primarily for one-off toy prompts or teams looking to replace their coding agent entirely.
AI coding tools already generate plenty of code. The paid opportunity is not "more code generation." It is:
OSS should remain a real merge gate. Paid tiers should help users get to a safe merge faster, more consistently, and with less cognitive overhead.
# 1. Install
npm install -g agent-guardrails
# 2. Set up in your project
cd your-repo
agent-guardraLoading reviews...