{
 "schema_version": 1,
 "generated": "2026-11-09",
 "id": "failproofai-failproofai--install-failproofai-guardrails-for-coding-agents",
 "repo": "FailproofAI/failproofai",
 "repo_url": "https://github.com/FailproofAI/failproofai",
 "repo_slug": "failproofai-failproofai",
 "title": "Install guardrails on your coding agents",
 "page_title": "How to install guardrails on your coding agents with Failproofai",
 "summary": "Wire the hooks, then add a policy pack to enforce rules like blocking sudo, rm -rf and force pushes.",
 "who": "A developer letting agents run commands on a real machine.",
 "problem": "One bad command from an agent can delete files or push to main.",
 "outcome": "Agents that are blocked from the risky actions in the pack you chose.",
 "steps": [
  "Install with `npm install -g failproofai`",
  "Run `failproofai config` to wire up your agents and the daemon",
  "Run `failproofai policies add FailproofAI/policies` to choose what to enforce",
  "Read any pack with policies show before adding it"
 ],
 "agent_prompt": "Using FailproofAI/failproofai, run `npm install -g failproofai`, `failproofai config`, then `failproofai policies add FailproofAI/policies`, and summarize which policies are now active on my machine.",
 "agents": [
  "claude-code",
  "codex",
  "cursor",
  "gemini-cli"
 ],
 "difficulty": "Beginner",
 "time": "10 minutes",
 "basis": "readme",
 "caveat": "",
 "category": "Security and science",
 "tags": [
  "Security and science"
 ],
 "lang": "typescript",
 "requirements": [
  "Node.js with npm",
  "A coding agent installed on the machine"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [
  {
   "tag": "system",
   "notice": "It installs hooks into your agents; setup picks no policies until you add a pack."
  },
  {
   "tag": "trust",
   "notice": "Read a policy pack with policies show before adding one from another owner."
  }
 ],
 "best": true,
 "score": 1.0,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/failproofai-failproofai/install-failproofai-guardrails-for-coding-agents/",
 "md": "https://dedupedai.com/use-cases/failproofai-failproofai/install-failproofai-guardrails-for-coding-agents/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/failproofai-failproofai--install-failproofai-guardrails-for-coding-agents.json",
 "api_version": "v1"
}
