Skip to main content
Install the local CLI with npm install -g failproofai. Run it with no arguments to open the local policy dashboard. The package requires Node.js 20.9 or newer. Bun 1.3 or newer is supported for development and source installs. failproofai configure and failproofai setup are aliases for failproofai config; failproofai p is an alias for failproofai policies.

Set up a machine

Run failproofai without arguments to open the local policy dashboard.

Configuration flags

Local pauses suspend builtin, custom, and convention policies for one session. They always expire and do not disable Cloud-managed policies. block-self-pause prevents an instrumented agent from using this escape hatch itself.

Policy flags

Delivery and maintenance flags

failproofai update should be run after npm install -g failproofai@latest; it performs home-layout migrations, installs the matching daemon binary, and restarts the service. --no-daemon performs only the layout migration.

Harness paths

Supported harness names are claude, codex, copilot, cursor, opencode, pi, hermes, openclaw, factory, devin, antigravity, and goose. Labels namespace derived agent IDs when two roots contain copies of the same project. Overlapping roots and duplicate labels are rejected to prevent duplicate collection or cursor corruption. Extra-path configuration reloads without a daemon restart. Container environments can replace file-configured extra paths with a comma-separated variable named FAILPROOFAI_<HARNESS>_EXTRA_PATHS, for example:

Environment variables

Use configuration files for persistent machine behavior. Environment variables are most useful for containers, tests, and one process. Agent-specific home variables such as CLAUDE_PROJECTS_PATH, CURSOR_HOME, HERMES_HOME, and OPENCLAW_HOME override where Failproof AI discovers local sessions for that harness.

Pause or remove a machine safely

A local session pause does not disable Cloud-managed policies. Restore Cloud deployments through the Cloud enforcement workflow when the rollout itself is the problem. Before removing the npm package, remove installed hooks and the daemon:
Run failproofai <command> --help for version-specific details.
Run failproofai uninstall before npm rm -g failproofai; npm does not remove installed agent hooks or the daemon service.