About Agent Guardrails
Agent Guardrails is an MCP server published by logi-cmd in the Blockchain category: 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. Conduid read 11 tools from its source: check_after_edit, explain_change, finish_agent_native_loop, plan_rough_intent, query_archaeology, read_daemon_status and 5 more. It is published to npm as agent-guardrails and starts with npx.
The repository has 28 stars and 2 forks, and its last commit was on 16 Aug 2026. Conduid has no tagged release on record for it. It passes all 1 static checks Conduid ran on the repository. Its topics include agent-guardrails, ai-safety, cli, code-quality, code-review and devtools.
Install
claude mcp add agent-guardrails -- npx -y agent-guardrailsnpx -y agent-guardrailsgit clone https://github.com/logi-cmd/agent-guardrailsTools (11)
check_after_editREQUIRED: Call this IMMEDIATELY after EVERY file edit (Write, Edit, MultiEdit). Returns lightweight status + any guardrail violations found. Uses daemon cache for speed (< 2s). DO NOT proceed with more edits until you see the result.explain_changeGenerate a human-readable explanation of what was changed and why. Call after finishing edits to get a change summary for the user.finish_agent_native_loopCall this when task is COMPLETE. Runs final guardrail check, writes evidence, and returns a reviewer-friendly summary with scope, risk, and next actions. MUST call this before telling the user the task is done.plan_rough_intentCall this when the user provides a vague or imprecise task description. Parses the intent and suggests a concrete task contract with scope, test commands, and risk level.query_archaeologyQuery code archaeology notes to understand why code exists. Use when you need historical context about past changes before modifying unfamiliar code.read_daemon_statusCheck if the guardrails daemon is running and get its latest check result. Use when you want to know background check status without triggering a new check.read_repo_guardrailsCall this FIRST when starting work in a repo. Reads repo guardrail config, allowed paths, protected paths, and policy summary. Use before planning any changes.run_guardrail_checkRun a full guardrail check. Use when you need detailed check results (e.g., before commit, or when check_after_edit reports warnings). Returns all findings with file-level details.start_agent_native_loopCall this when beginning a task. Creates a bounded task contract from the user's request, writes it to disk, and seeds evidence files. Returns contract details with initial guardrail status. MUST call this before making any code changes.suggest_task_contractBootstrap a task contract and runtime session from a natural-language task request.summarize_review_risksSummarize a guardrail check result into status, top risks, and next actions. Call after run_guardrail_check when you need a concise risk summary.Security checks
- ✓README presentThe repository's README runs to about 822 words.
5 checks have not been run yet.
README
The repository's README runs to about 822 words. The original in the repository is authoritative.
Read full README