# FailproofAI ## Docs - [Architecture](https://exosphere-auto-translate-docs-20260623-1106.mintlify.site/architecture.md): How the hook handler, config loading, and policy evaluation work internally - [Built-in Policies](https://exosphere-auto-translate-docs-20260623-1106.mintlify.site/built-in-policies.md): All 39 built-in policies that catch common agent failure modes - [Audit past sessions (beta)](https://exosphere-auto-translate-docs-20260623-1106.mintlify.site/cli/audit.md): Count how often the agent did wasteful or risky things across past transcripts - [Sign in](https://exosphere-auto-translate-docs-20260623-1106.mintlify.site/cli/auth.md): Sign in to FailproofAI from the CLI to enable reminders and personalized features - [View sessions](https://exosphere-auto-translate-docs-20260623-1106.mintlify.site/cli/dashboard.md): Launch the dashboard to browse agent sessions and manage policies - [Environment variables](https://exosphere-auto-translate-docs-20260623-1106.mintlify.site/cli/environment-variables.md): Configure failproofai behavior with environment variables - [Hook handler (internal)](https://exosphere-auto-translate-docs-20260623-1106.mintlify.site/cli/hook.md): The subprocess Claude Code calls on each tool event - [Install policies](https://exosphere-auto-translate-docs-20260623-1106.mintlify.site/cli/install-policies.md): Enable policies so they run on every agent tool call - [List policies](https://exosphere-auto-translate-docs-20260623-1106.mintlify.site/cli/list-policies.md): See which policies are enabled, their parameters, and custom policies - [Uninstall policies](https://exosphere-auto-translate-docs-20260623-1106.mintlify.site/cli/remove-policies.md): Remove hook entries from Claude Code's settings - [Check version](https://exosphere-auto-translate-docs-20260623-1106.mintlify.site/cli/version.md): Print the installed failproofai version - [Configuration](https://exosphere-auto-translate-docs-20260623-1106.mintlify.site/configuration.md): Config file format, three-scope system, and merge rules - [Custom Policies](https://exosphere-auto-translate-docs-20260623-1106.mintlify.site/custom-policies.md): Write your own policies in JavaScript - enforce conventions, prevent drift, detect failures, integrate with external systems - [Dashboard](https://exosphere-auto-translate-docs-20260623-1106.mintlify.site/dashboard.md): Monitor agent sessions, review tool calls, and manage policies - [Examples](https://exosphere-auto-translate-docs-20260623-1106.mintlify.site/examples.md): How to set up hooks for Claude Code and the Agents SDK - [For agents](https://exosphere-auto-translate-docs-20260623-1106.mintlify.site/for-agents.md): Add Failproof AI knowledge to your coding agent in one command. Works with Claude Code, Cursor, Windsurf, and more. - [Getting started](https://exosphere-auto-translate-docs-20260623-1106.mintlify.site/getting-started.md): Install failproofai, enable policies, and let your agents run reliably - [Failproof AI](https://exosphere-auto-translate-docs-20260623-1106.mintlify.site/introduction.md): FailproofAI gives AI agents 39 built-in failure policies that catch loops, secret leaks, destructive tool calls, and more in a single install. - [Package Aliases](https://exosphere-auto-translate-docs-20260623-1106.mintlify.site/package-aliases.md): Registered typosquat-prevention aliases and how they work - [Testing](https://exosphere-auto-translate-docs-20260623-1106.mintlify.site/testing.md): Unit tests, E2E tests, and test helpers ## Optional - [GitHub](https://github.com/failproofai/failproofai) - [npm](https://www.npmjs.com/package/failproofai) - [Discord](https://discord.gg/2zjBZP7yQJ)