claudeers.
// Uncategorized / Others

failproofai

Observability and enforcement for AI agent harnesses. Capture every run and runtime reliability with policy enforcement. 40 built-in policies, a local dashb…

Actively maintained
100/100
last commit 11 days ago
last release 11 days ago
releases 142
open issues 23

Install with your AI

Paste into Claude Code, Cursor, or any agent — it reads the repo and wires the tool into your project.

Install and set up failproofai (npm project) into my current project.
Found on https://claudeers.com/failproofai
Repo: https://github.com/FailproofAI/failproofai
Homepage/docs: https://befailproof.ai
Detected install method: npm → npm install failproofai
Category: uncategorized. Platforms: cli, api.
Read the repo's README for exact setup and env vars, then install it and wire it into my project.

Claudeers Health Verdict:
active; community-verified: false. Confirm the source before running anything.
// or install directly (npm)
npm install failproofai
// or clone
git clone https://github.com/FailproofAI/failproofai

// compatibility

Platformscli, api
Operating systems—
AI compatibilityclaude
LicenseNOASSERTION
Pricingopen-source
LanguageMDX

Get your FREE $2.50 API credits to access TickAtlas financial data ↗
failproof ai

FailproofAI%2Ffailproofai | Trendshift

Translations: 简体中文 · 日本語 · 한국어 · Español · Português · Deutsch · Français · Русский · हिन्दी · Türkçe · Tiếng Việt · Italiano · العربية · עברית

Observability and enforcement for every harness your agents run in. Wherever your agents run, we see it — and we can say no. Failproof hooks 12 agent harnesses — coding CLIs like Claude Code and Codex, chat gateways like Hermes, self-hosted assistants like OpenClaw — capturing every run and blocking dangerous tool calls before they execute. 39 built-in policies. Zero latency. Runs locally.

Failproof AI in action


Supported harnesses

Twelve harnesses in two classes — ten coding CLIs, and two chat and assistant gateways (Hermes, OpenClaw). Same events, same policies, same session history, whichever one your agent runs in.

Agents that run in none of them report through the Python SDK, which gives you tracing, sessions and audits. Enforcement there needs a hook in your own runtime — talk to us and we'll map it.

Claude Code OpenAI Codex GitHub Copilot Cursor Agent OpenCode Pi
Hermes OpenClaw Factory Droid Devin CLI Antigravity CLI Goose

Install

npm install -g failproofai
failproofai policies --install   # or just run `failproofai` and accept the first-run prompt
failproofai

39 built-in policies activate immediately. Dashboard at localhost:8020. Disable the first-run prompt with FAILPROOFAI_NO_FIRST_RUN=1.


What it stops

PolicyWhat it blocks
sanitize-api-keysAPI keys leaking into the agent's context
block-env-filesReads of .env and other secret files
warn-repeated-tool-callsThe agent looping on the same call
block-sudoPrivilege escalation
warn-destructive-sqlDROP, TRUNCATE, unbounded DELETE
block-terraform / block-kubectlUnreviewed changes to live infrastructure
block-rm-rfRecursive file deletion
block-force-push / block-push-mastergit push --force, direct pushes to main

The first five apply to any agent that can call a tool. The last three are the developer favourites — coding CLIs are the harness class we cover deepest.

→ All 39 built-in policies


Your own policies

Drop a file into .failproofai/policies/ — it loads automatically, no flags needed. Commit it and the whole team gets it on next pull.

import { customPolicies, deny, allow } from "failproofai";

customPolicies.add({
  name: "no-production-writes",
  match: { events: ["PreToolUse"] },
  fn: async (ctx) => {
    if (ctx.toolInput?.file_path?.includes("production"))
      return deny("Writes to production paths are blocked.");
    return allow();
  },
});

Three decisions available to every policy:

DecisionEffect
allow()Permit the operation
deny(message)Block it — message goes back to the agent
instruct(message)Let it through, but add context to the agent's next prompt

→ Custom policies guide


Observability

Enforcement is one half. The other half is seeing what the agent actually did.

Run failproofai with no arguments and it serves a dashboard on localhost:8020 reading the run history already on your machine — no account, no signup, nothing leaving the box. You get the session list, the sequence of model calls, tool calls and hook decisions inside each run, what was blocked and what the policy told the agent, and an offline audit (failproofai audit) that scans your history for risky patterns and suggests policies to stop them.

→ Local dashboard · Read a trace · Local audit

Failproof AI Observability is the hosted side of the same data model, for teams running agents across a fleet: every run from every harness in one place, an execution graph with parallel sub-agents on their own lanes, p50/p95/p99 latency for models, tools and hooks, per-model cost and context-window tracking, error tracking, SQL over your own traces with shareable dashboards, evaluations scored by your own service, scheduled audits that turn recurring failures into evidence-backed findings, and alerts routed to Slack, email or a signed webhook. Self-hosting in your own cluster is available on the Enterprise plan.

→ Sessions · Audits · Book a demo


Documentation

Start
QuickstartInstall, connect a harness, see the first run
ConceptsHow the hook system works
Supported harnessesAll 12, and what each one can enforce
Observe
SessionsFollow a run: models, tools, errors, latency
Read a traceWhat the execution graph is telling you
AuditsFind failure patterns across many sessions
Local dashboardlocalhost:8020, no account needed
Enforce
Built-in policiesAll 39 policies with parameters
Custom policiesWrite your own
ConfigurationConfig scopes and merge rules
Instrument your own agent
Python SDKReport runs from an agent with no harness
Policy SDKallow / deny / instruct reference

License

MIT with Commons Clause — free for internal and personal use; commercial resale of failproofai itself requires a separate agreement. See LICENSE for the full text.


Contributing

See CONTRIBUTING.md. New policies, edge cases, and translations all welcome.

Build before you start. Run bun install && bun run build first. This repo runs failproofai's own hooks on itself, and they resolve the failproofai import against the compiled dist/ bundle — without a build you'll hit Cannot find package 'failproofai' hook errors. Rebuild after changing src/. See Build before the in-repo dev hooks will work.


Built with ❤️ by befailproof.ai in SF and Bengaluru.

// faq

What is failproofai?

Observability and enforcement for AI agent harnesses. Capture every run and runtime reliability with policy enforcement. 40 built-in policies, a local dashboard, no account required with a generous free cloud plan. It is open-source on GitHub.

Is failproofai free to use?

failproofai is open-source under the NOASSERTION license, so it is free to use.

What category does failproofai belong to?

failproofai is listed under uncategorized in the Claudeers registry of Claude-compatible tools.

4 views
★ 5,146 stars
unclaimed
updated 23 days ago

// embed badge

failproofai on Claudeers
[![Claudeers](https://claudeers.com/api/badge/failproofai.svg)](https://claudeers.com/failproofai)

// retro hit counter

failproofai hit counter
[![Hits](https://claudeers.com/api/counter/failproofai.svg)](https://claudeers.com/failproofai)

// reviews

// guestbook

0/500

// related in Uncategorized / Others

🔓

Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.

// uncategorizedn8n-io/⟨TypeScript⟩★ 205,721◷ NOASSERTION[ claude ]
🔓

The agent engineering platform.

// uncategorizedlangchain-ai/⟨Python⟩★ 146,945◷ MIT[ claude ]
🔓

FULL Augment Code, Claude Code, Cluely, CodeBuddy, Comet, Cursor, Devin AI, Junie, Kiro, Leap.new, Lovable, Manus, NotionAI, Orchids.app, Perplexity, Poke, Q…

// uncategorizedx1xhlol/★ 143,887◷ GPL-3.0[ claude ]
🔓

100+ AI Agent & RAG apps you can actually run — clone, customize, ship.

// uncategorizedShubhamsaboo/⟨Python⟩★ 140,637◷ Apache-2.0[ claude ]

// built by

→ see how failproofai connects across the ecosystem