Your coding agent

The tools Cortad gives your coding agent

What status, test, behavior, search, verify, connect and tell do, when your coding agent calls each one, and what it learns about how your app behaved.

After the connect command, Claude Code, Codex, Cursor and Copilot have these tools. After an automated audit, a coding agent reads behavior. What it can and cannot change is on How it works.

status

What to know about this app right now. Asked for nothing, it says where things stand: the connection, which AI features answer, an audit playing or just finished, your live app going wrong, and what waits on you.

Asked about one thing, it gives that in full:

About What comes back
repository What Cortad found in your code, how each endpoint answered, and your plan
run Where an audit or a verify stands
production Your live app in numbers, and what is wrong in it now
outcomes What your app counts as a good ending, and how often it is reached
warehouse A question over your live app's own events
users Who uses your live app and how, before your agent edits what they use: their personas, conversations, the behavioral questions and their answers, visits, and what people did after each answer. Your agent gets ready answers or asks its own question of the same tables. Users are numbers, never names or emails, and no conversation's words are in it

It starts nothing. A coding agent calls it at the start of a session, right after a connect, and before a commit that changes prompts, tools, models or retrieval.

test

The one call after a change. Your coding agent says what it built in a sentence. Simulated users then talk to your app on your machine, and every reply is asked its behavioral questions.

  • features names the AI features to test, where your app has more than one, and is kept until another test names a different one. Sent alone, it records the choice and starts nothing.
  • conversations sets the most conversations an audit may play, for a first look that spends less on your model key.
  • endpoints sends one test request to those endpoints and plays no conversations, to try a failed endpoint again.

test answers at once with what it started; status about run follows it.

Some endpoints need a signed-in user. Cortad can make one test account through your app's own sign-up, only with your yes. Once you give it, your coding agent records it in a shell:

npx cortad@2.1.1 test --account make

behavior

How your app behaved with its users. Asked for nothing, it reads the latest finished audit, top down:

  1. How many simulated users, of how many personas, achieved their goal.
  2. Each persona, largest first: who its users are, how they behave, what your app did well with them and where it gave way, each with how often and the conversations that show it.
  3. Your app's habits across personas: what it does well, where it gives way, and the habit behind it.
  4. Last, where each problem comes from in your code, with the id verify takes.
Ask with What comes back
at Another point: an audit's id, a commit an audit played on, or production
persona One persona in full, with its conversations
against What got better, worse, new or gone for each persona, compared with previous, production, an audit's id or a commit. Compared with production, it also says where simulated users behave unlike your real ones
history Every audit by commit and every day of production, newest first, with what changed since the one before

Read the behavior shows one persona as it prints.

Finds conversations by what they mean, across audits and production: who asked, what, how it ended and what your app said, with how many of all conversations are about it. where keeps it to simulation, production or one audit's id, persona to one persona, and limit sets how many come back.

verify

Whether a behavior moved after a fix.

It takes a problem's id from behavior, such as finding:1. Read the behavior walks through it.

connect

Sets up your live app one step at a time, the same as npx -y cortad@2.1.1 intelligence in a terminal. It brings in the recent messages you chose on Set up Cortad, so Cortad can learn your personas from them, and writes both keys into your git-ignored env file. Then it prints the change for your coding agent to make: the SDK for Node or Python, or one signed request for any other language, and the page tag. It edits no code, and asks before it adds the key to your production host.

tell

One of five things in a call:

  • A note to the Cortad team about Cortad itself: a result that read wrong, something no tool gave, or what worked.
  • That a problem's question misjudges your app, with the problem's id, the reason and, if your agent has one, a better wording. The problem and its rate stay as they are, and the note goes to the account owner.
  • What your app counts as a good ending, found in its code, such as a sign-up route or a checkout. You approve it in the browser before it counts.
  • Behavioral questions your live app's answers should be asked, where conversations went badly with no question failing. You say yes or no to each on Behavioral questions.
  • An address of yours that should receive each incident in your live app, as signed JSON.

Nothing about an audit or its questions changes.

Updated

↑↓Select↵OpenescClose