What do you want to do?
3 use cases
-
Install guardrails on your coding agents
Wire the hooks, then add a policy pack to enforce rules like blocking sudo, rm -rf and force pushes.
View 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.
-
Audit past agent runs for risky patterns
Open the local dashboard and run the offline audit to find risky behaviour in history already on your machine.
View prompt
With FailproofAI/failproofai, run `failproofai audit` and report the riskiest patterns it finds in my agent history, with the policy that would block each.
-
Write a custom policy in JavaScript
Drop a file into .failproofai/policies/ and use allow, deny or instruct to shape agent behaviour.
View prompt
Using FailproofAI/failproofai, write a policy file in .failproofai/policies/ that denies <my risky command> with a clear message back to the agent, following the README's allow, deny and instruct API.
Quick start with Failproofai
- Check you have what it needs: Node.js with npm; A coding agent installed on the machine.
- Open FailproofAI/failproofai on GitHub and read the README and license.
- Install with
npm install -g failproofai - Run
failproofai configto wire up your agents and the daemon - Run
failproofai policies add FailproofAI/policiesto choose what to enforce - Read any pack with policies show before adding it
These steps come from our top use case, Install guardrails on your coding agents, which also has a copy-paste agent prompt.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for FailproofAI/failproofai
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeAbout this repo
- Who it is forDevelopers who run coding agents and want hard limits on what those agents can do.
- Why it is hot8.2k stars, talked about in 2 AI sources we track
- LanguageTypeScript
- Sourcegithub.com/FailproofAI/failproofai ยท Back to Hot repos
Requirements
- Node.js with npm
- A coding agent installed on the machine
Add this badge to your README
Maintain Failproofai? Show readers where to find these use cases.
Markdown
[](https://dedupedai.com/use-cases/failproofai-failproofai/?utm_source=github&utm_medium=badge&utm_campaign=FailproofAI-failproofai)
HTML
<a href="https://dedupedai.com/use-cases/failproofai-failproofai/?utm_source=github&utm_medium=badge&utm_campaign=FailproofAI-failproofai"><img src="https://dedupedai.com/badge/FailproofAI/failproofai.svg" alt="Use cases on Deduped" height="20"></a>
A static image, no tracking script. About the badge
Questions about Failproofai
What is Failproofai?
Failproof AI is an npm CLI that puts guardrail policies on coding agents. It blocks risky actions such as rm -rf, force pushes and reads of .env files, supports custom JavaScript policies, and serves a local dashboard of agent runs. It is an open-source project on GitHub: https://github.com/FailproofAI/failproofai.
How do I use Failproofai?
Install with npm install -g failproofai; then run failproofai config to wire up your agents and the daemon; run failproofai policies add FailproofAI/policies to choose what to enforce. The use cases on this page give the full steps and a copy-paste agent prompt for each job.
Who is Failproofai for?
Developers who run coding agents and want hard limits on what those agents can do.
What can I do with Failproofai?
3 use cases so far, for example: Install guardrails on your coding agents; Audit past agent runs for risky patterns; Write a custom policy in JavaScript. Each has steps and a copy-paste agent prompt.
What do I need to run Failproofai?
Node.js with npm; A coding agent installed on the machine.
What are alternatives to Failproofai?
Other hot AI repos in Security and science: Codex Security, Chgnet, Semgrep, Mace, Syft.
Is Failproofai safe to run?
Deduped does not own, audit or vouch for it. Read the README and license, run it on your own systems first and review every command before you run it.