Rulebook vs Promptfoo
Last updated November 22, 2026
AI security testing vs support-bot coach
Promptfoo is an AI security and testing tool for developers and security teams, with an open-source command-line tool and an enterprise platform. Rulebook is for the people who own a support bot: it finds where the bot breaks its rules and fixes the rule sheet.
Choose Rulebook when you want support people to test and fix the bot in a browser, without writing test files.
Which one fits
Rulebook is best for
- Support bots, tested with sneaky customers aimed at your own rules: refunds, discounts, policies.
- People who don't write code: everything happens in the browser in plain language.
- Getting the fix too: a rewritten rule sheet, retested, sent as a pull request.
Promptfoo is best for
- Developers and security teams testing AI apps, agents and RAG systems.
- Broad security testing: prompt injection, jailbreaks, data leaks.
- Running tests from the command line and in CI, with an open-source core.
Side by side
Made for
Rulebook: Customer support bots.
Promptfoo: AI apps, agents and RAG systems.
Day-to-day users
Rulebook: Support, product, founders, with engineers reviewing.
Promptfoo: Developers and security teams.
Setup
Rulebook: Sign in with GitHub, paste the rule sheet, add a few situations.
Promptfoo: Install the command-line tool and write a test config, or use their platform.
Main jobs
Rulebook: Score, break, fix and train the bot, then send the change as a pull request.
Promptfoo: Red teaming, evals, code scanning and guardrails.
Price
Rulebook: Free for the whole team on your own AI keys, with unlimited runs. A $59 a month plan with the AI included is coming soon.
Promptfoo: Free open-source tool; enterprise plans on request.
What we say about Promptfoo comes from their website, checked on November 22, 2026. If something here is out of date, tell us and we'll fix it.