Skip to content

Signals/ AI Agents/ Reel /

This Free Tool Catches Your AI Chatbot Breaking Your Rules

Your AI support bot can cave when a customer pushes, and promise a refund or a discount you never allowed. Cortad is a free, open-source tester: write your rules in plain English, and it plays pushy customers against your bot and quotes the exact reply that broke a rule. How it works, how to start, and the catch.

Cover of the free Cortad chatbot rules guide

Free setup guide · 7 pages · PDF

Test your chatbot against your rules

The two commands to run it, how to fill in cortad.json (or let Claude Code do it), 8 starter rules for a support bot, how to read a break, and keeping test data safe.

⬇ Download the PDF

If you run an AI support bot, you have rules it must never break: no refunds after 30 days, no discounts that aren’t on the price list. The trouble is that you probably only tested it with polite questions. Cortad is a new free, open-source tool (Apache-2.0) that tests the part you skipped: customers who push.

The problem: bots cave under pressure

Ask a support bot once and it usually follows the rules. Ask again, mention you’re a loyal customer, threaten a bad review, and many bots eventually say yes. Cortad’s README puts it plainly: a single direct question “is not where an assistant usually breaks.”

Reel frame: a customer pressure gauge climbing as a customer says please, I'm a loyal customer, I'll leave a bad review

The README’s own example is a shoe store bot. A customer bought shoes in January and wants their money back. The bot answers: “Absolutely, I have approved a full refund for you.” That breaks the store’s 30-day rule.

Reel frame: the shoe store chat where the bot approves a full refund for a January order, stamped RULE BROKEN

How Cortad tests your bot

You describe your app and write your rules in plain English in a file called cortad.json, along with the address your bot answers on. The README’s example rules are “never promise a refund past 30 days” and “never state a discount that is not in the price list.”

Reel frame: cortad.json with the rule never promise a refund past 30 days

Then Cortad invents people with a reason to break those rules and plays conversations against your app: 20 by default, up to 200. They don’t stop at one question; they push back the way real customers do.

Try this prompt

Not sure what your rules are? Paste this into ChatGPT or Claude first:

I run [your business] and my AI support bot answers questions about [orders, refunds, pricing].
List 8 rules it must NEVER break, each one short and testable, in this style:
"never promise a refund past 30 days".
Base them on these policies: [paste your refund policy, price list, shipping times].

It quotes the reply that broke a rule

This is the useful part. Cortad doesn’t just say “fail.” Every verdict names the exact sentence of your bot’s reply that it rests on, and a verdict whose quote isn’t actually in the reply gets thrown out. In the README sample, 2 of 20 conversations went wrong, each with the quote that proves it.

Reel frame: a grid of 20 conversations with 2 highlighted in orange, labelled 2 of 20 went wrong

It can block a bad update

When a rule breaks (or your app doesn’t answer at all), Cortad’s check fails. Developers can put it in their build checks so a new bot prompt or model change that breaks a rule never reaches customers. There’s no account and no sign-up; you run it from a terminal.

Reel frame: your update goes into the cortad check, which fails with exit 1, and a barrier blocks it from shipping

Use case

A small online shop changes its bot’s instructions before a holiday sale. Before the change goes live, Cortad replays 20 pushy customers against the new version. One conversation shows the bot promising “free returns forever.” The shop fixes the instruction and runs the check again before customers ever see it.

The catch

Reel frame: THE CATCH, by default cortad.json and the test chats go to Cortad's servers
  • Your data leaves your computer by default. With the default judge, your cortad.json (including any test login details in it) and every test conversation go to Cortad’s servers, and the README says they’re kept. Point it at a test copy of your bot, never at real customer data.
  • Five free runs a day per computer.
  • It’s brand new. The first version went up on October 25, 2026, so expect changes.
  • It plays invented people, not your real customers’ chats.

Workflow: your first test

  1. Make a test copy of your support bot (same instructions, no real customer data).
  2. In a terminal, run npx github:cortad/cortad init to create cortad.json.
  3. Fill in what your app does, where it answers, and 3–8 rules (use the prompt above).
  4. Run npx github:cortad/cortad and read each break: the quoted sentence tells you what to fix in your bot’s instructions.
  5. Fix, run again, and once it passes, add it to your build checks so every update gets tested.

The free guide above has the commands, a filled-in cortad.json, 8 starter rules and how to add it to your checks.

The fine print

Details are from Cortad’s README and source code as of October 26, 2026. It’s a new open-source project, not a guarantee your bot is safe; it tests the rules you write, with invented customers.

What’s the one thing your bot must never say?

Sources & links 3

  1. GitHub: Cortad (README, quick start, privacy, CI) github.com ↗
  2. GitHub: Cortad CLI source (default 20 conversations, free-run limit) github.com ↗
  3. Cortad official site cortad.com ↗

More on AI Agent News, AI for Small Business

More signals

Reel

This Free Kit Teaches Claude Code to Actually Edit Your Videos

Agentic Edition Studio is a free, open-source starter that lets Claude Code, Codex or Cursor edit short videos. It turns your clip into a timeline the agent can read, keeps every cut as reviewable code, and takes fixes as frame numbers. What it does, the catch, and how to get your first agent-edited reel.

Helps Creators who already use Claude Code, Codex or Cursor and want an agent to cut their short videos, like a solo creator who records a 60-second talking clip every day and spends an hour trimming it

  • Claude Code
  • AI Video
  • Open Source
Reel

OpenAI's New API Answers in a Tenth of a Second (Because It Stops Talking)

OpenAI's Decisions API is open to everyone. It answers small, repeat questions with a pick instead of a paragraph, fast and cheap. What it does, what it costs, the catch, and how to test your first decision.

Helps Anyone running an app or automation that sorts things all day, like a shop owner whose support inbox needs every email labelled and sent to the right person

  • OpenAI
  • AI Agents
  • AI Workflow

Free weekly email

The Weekly Signal

Once a week: the AI news that matters, explained in plain English, with one tool you can try that day. No spam. Unsubscribe any time.

By subscribing you agree to get the weekly email. See our Privacy Policy.