Documentation

Stop AI agents from making irreversible mistakes

  • FINTECH — $340K wire to an OFAC-sanctioned shell company. Penalty: $500K+.
  • LEGAL — $2.4M contract signed with unlimited liability in section 14.3.
  • HEALTHCARE — Psychiatric records pulled with no treatment relationship. Fine: $1.5M.

One model. One guess. No review. consensus.tools makes multiple specialist agents evaluate every high-stakes decision before it executes.

Zero to Hero — 5 minutes

Build a guard system where 3 AI personas evaluate a customer service response before it sends. Legal reviewer catches unauthorized commitments. Compliance catches policy violations. CX analyst flags tone issues. The email gets blocked.

pnpm add @consensus-tools/core @consensus-tools/policies
Start the tutorial →

7 built-in guard types

send_emailUnauthorized pricing guarantees, legal commitments
code_mergeSQL injection, failing CI, missing tests
deploymentMissing rollback plan, schema incompatibility
support_replyUnauthorized refund promises, tone issues
agent_actionHigh-risk API calls, data mutations
permission_escalationOff-hours admin access, scope violations
publishPII exposure, blocked-word lists