← Back to Leaderboard
FFailproofAI

FailproofAI/failproofai

A hook-based runtime layer for tracing and enforcing AI agent behavior

Open-Source AI AppQuickstart ↓
Engineering Health (Methodology)
A · 78/100
Maintenance Activity
● Updated today
Latest Release
v1.0.20
Commercial License Check
Custom / Check Repo

Automated SPDX check for reference only — not legal advice. Disclaimer

Maintenance35/35
Fork Adoption17/25
Release Cadence20/20
License Clarity6/20
DockerCLI
Total Stars
★ 10,527
24h Growth
+29
7d Growth
+275
Forks
593

GitHub Star History

Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.

FailproofAI/failproofai Star History (2026-04-06 - 2026-12-04) ALL-TIME STAR HISTORY (2026-04 – 2026-12) +10.5k in 242d · avg +43/day 11.1k 5.6k 0 2026-04-06: ★ 12026-04-25: ★ 572026-05-16: ★ 752026-06-06: ★ 1032026-06-27: ★ 1182026-07-18: ★ 1352026-08-08: ★ 6992026-08-29: ★ 1,5002026-09-19: ★ 3,6642026-10-10: ★ 5,0972026-10-31: ★ 7,0062026-11-15: ★ 8,9892026-12-04: ★ 10,527 ★ 10.5k 2026-04 2026-08 2026-12

Evidence-Backed Technical Brief

AI Deep Review

Architecture & Core Mechanics

Failproof is a hook-based reliability layer around existing agent harnesses, not an agent runtime. Adapters normalize 29 lifecycle events and canonicalize tool names and arguments before policy evaluation. They translate verdicts back into native contracts: Claude Code consumes JSON, Factory's droid uses exit code 2 to stop an action, and Hermes loads a Python plugin. OpenCode and OpenClaw integrate through in-process plugins rather than shell hooks.

The local hot path runs through failproofaid, a Rust daemon with a pre-warmed policy worker behind an owner-only Unix socket. The daemon also handles telemetry shipping and policy synchronization for Cloud. The npm manifest exposes failproofai and failproofaid, with sql.js as its sole declared dependency; the Cargo workspace spans crates/*. The source tree separately includes the SDK and Hermes, OpenClaw, and Pi integration directories.

Key Capabilities & Differentiators

Failproof can block a tool call before execution, inject context at prompt time, or request another turn when an agent tries to stop. A shared policy API supports deterministic JavaScript checks and Jev, a classifier for yes/no judgments grounded in the user's request. Pre-tool blocking is verified across all 12 supported harnesses; turn-end enforcement is verified on eight. The local policy check measures about 0.7 ms at p50.

Cloud connects session replay and SQL analysis to failure clustering, recurring evaluations, and alerts via Slack, email, or signed webhooks. It can draft a policy from an audit finding, test it on historical tool calls, and deploy it in observation or enforcement mode. The FIRE study's 37% to 69% task-success result applies to failures recognized by a policy, not to agent workloads generally.

Trade-offs & Limitations

Compared with a trace-only platform, Failproof adds intervention on the runtime path. Compared with bespoke per-harness hooks, it reduces duplicated adapter and policy maintenance. The trade-off is that real coverage depends on the hooks a harness exposes and honors. Treat enforcement as an application-layer control, not a sandbox: a path rule for structured edits does not automatically inspect equivalent shell commands.

Local JavaScript checks suit explicit constraints and avoid a classifier round trip when they do not call a model. Use decision-model checks for cases that need context, and measure their latency and error rates separately. Cloud adds audit and fleet rollout but introduces trace-export review. Inspect the root LICENSE before redistribution, and verify retention and hosting requirements before making Cloud part of a compliance-sensitive workflow.

Hardware & Deployment Guide

The npm package declares Node.js 20.9+ and Bun 1.3+ engine floors. The standard onboarding path is npm install -g failproofai, then failproofai config to discover harnesses, install hooks, start the daemon, and connect to Cloud. Configuration applies defaults noninteractively in CI or containers. failproofai backfill --since 7d uploads supported harness history; review data-handling rules before running it.

Local .failproofai/policies/ files provide a JavaScript policy path, but audits and fleet policy rollout are part of the connected Cloud workflow. Dockerfile.docs is present; it does not establish a self-hosted Cloud stack or a production container topology. Stable v1.0.18 ships Self Reports and an agent-settings guard; Python SDK v0.0.1b7 adds session-scoped self_report events.

Adapter contract: 29 canonical events, with normalized tool names and arguments and harness-specific verdicts.
Enforcement coverage: pre-tool blocking verified on 12 harnesses; turn-end gates on eight.
Local hot path: Rust daemon, pre-warmed policy worker, and owner-only Unix socket; about 0.7 ms p50 per check.
Policy rollout: test drafted rules on historical tool calls, then observe matches or enforce.
Failure analysis: Cloud links audit findings to session evidence and supports recurring evaluations and alerts.
SDK boundary: Python and TypeScript support custom-agent telemetry; enforcement requires a runtime hook.
Best For

Teams running supported agent harnesses that want to turn recurring, traceable failures into tested runtime policies.

Skip If

You need hard isolation, uniform enforcement across arbitrary runtimes, or verified offline self-hosting of the full audit and rollout workflow.

Reviewed on 2026-12-02 · Grounded in GitHub README, root file tree & releases · Newer release v1.0.20 (2026-12-03) shipped after this reviewMethodology

Quick Start & Installation

DockerCLI
npm install -g failproofai
failproofai config                # hook your agents, connect to Failproof Cloud (free)
failproofai backfill --since 7d   # bring in the last week of runs already on disk

Comparison vs. Top Agents & Frameworks Alternatives

Full comparison →
RepositoryStars7d TrendStackLicenseCore Positioning
failproofai ★10.5k+275TypeScript—A hook-based runtime layer for tracing and enforcing AI agent behavior
hermes-agent268.1k+1.5kPythonMITSelf-hosted Python agent with persistent memory and automation across chat and C
lobehub86.4k+237TypeScript—A self-hostable agent workspace for team tasks, shared context, and MCP tools
n8n213.1k+787TypeScript—Visual Node.js platform for self-hosted workflows and multi-step AI agents

AI Context Briefing (for Claude / Cursor / Windsurf)

Standardized architecture summary & quickstart commands ready to paste into coding agents.

Raw .md ↗
curl -sL https://repoforai.com/repo/FailproofAI/failproofai.md

Embed Star History Chart & Badges in README.md

Full-history Star History SVGs and velocity cards on GitHub Camo: drop-in replacement for OSSInsight and Star History widgets.

FailproofAI/failproofai Star History on RepoForAI

Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).

Frequently Asked Questions about failproofai

How does a policy reach an agent, and what changes for a custom runtime?

A supported harness sends events through shell hooks or native plugins. Failproof normalizes the event, tool name, and arguments, evaluates policy, and translates the verdict back into the harness's native form. Custom agents can send traces through the Python or TypeScript SDK, but must wire an enforcement hook into their own runtime.

Do I need a GPU, and how should I size a rollout?

The local policy path uses a Rust daemon and a pre-warmed worker; there is no stated GPU or VRAM prerequisite for that path. The measured figure is about 0.7 ms p50 per policy check, not a tail-latency bound or a budget for policies that call another model. Size a pilot around event rate, concurrent sessions, trace volume, and any external model calls.

Can we redistribute it commercially or keep all session data on our own infrastructure?

The root contains a LICENSE file, but the supplied metadata does not identify its terms. Verify the file before redistribution or commercial embedding. Local JavaScript policy execution is distinct from self-hosting the full Cloud workflow, which is not established here. If you connect Cloud, review what prompts, tool results, and historical sessions may leave the host before enabling upload or backfill.

Why use this instead of a tracing tool or native harness hooks?

Compared with trace-only observability, Failproof can intervene before a tool runs or, where supported, send an agent back to finish a turn. Compared with maintaining hooks separately, it provides a shared event and verdict model, but still depends on each harness honoring the hook. Neither mechanism replaces OS permissions, credential scoping, or infrastructure access controls.

Upstream README & Documentation

This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.

Maintaining FailproofAI/failproofai? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature FailproofAI/failproofai on Homepage & Alternatives ($19)
WEEKLY BREAKOUT DIGEST

Top 10 Breakout Open-Source AI Repos, Every Thursday

Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.

Zero spam · 1-click unsubscribe · Privacy Policy

Saved in your browser · Export Markdown RFC tables or jump into /vs compare