Coding agents

Plan, ask and fix

Your agent reads your code and your Usercase data to plan research, write questions for precise moments, and fix what people ran into.

Plan a research

Your agent asks whether you already know what you want to learn. If you don’t, it reads your project’s findings and where visitors left, and suggests two or three researches, saying which evidence comes from real visitors and which from virtual users. With no data yet, it offers to send a few virtual users first.

It then reads your code to write the tasks, their success conditions (the page that means done, or the exact button) and the route each task is meant to take, and shows you all of it at once. On your approval it walks each route in a browser and saves the research as a draft in your Inbox, where you create it.

A draft you discard, or don’t create within 30 days, loses its recorded routes and their screenshots.

Plan a Usercase research for our checkout

Record a task’s expected path

A research’s task results separate people who went straight from those who took a detour, once the task has an expected path. The task screen in the dashboard shows the command for it.

Your agent reads your code to work out the route each task is meant to take, tells you the route, and walks it in a browser. It walks it again in a fresh browser to make sure every step is found the same way, shows you the screenshots, and saves the path only after you approve it. Picking one item from a list (a product, a post) counts for any item of that kind. A local dev server is fine; only page paths are saved.

/mcp__usercase__path <research id>

Questions for a precise moment

New question in the dashboard picks one simple moment. For a moment made of several steps, such as “typed a search, opened no result, then did nothing for 10 seconds”, your agent writes it from your code and checks it against your recent real visits.

  • You wrote the question and want it to appear at a precise moment: in New question, choose Several steps and copy the command it gives you. Your agent asks when it should appear, writes the steps and sends them back to that window, where you save the question as usual.
  • You’re not sure what to ask: tell your agent who you want to hear from. It suggests the moment, the question and its answers, and saves it only after you approve, as a draft in your Inbox. Nobody sees it until you turn it on there.
Make a Usercase question for people who search and open no result

Fix a finding from a report

A research’s Report lists findings: problems people hit, each backed by what they did, what the screen showed and what they wrote. Each finding has a Fix with your agent command. Add real for the report of real people; without it, the report of virtual users is used.

Your agent reads the finding and any earlier fixes of it, finds the code behind it, and tells you the change it proposes before touching anything. After you approve, it makes the change, runs your checks and records the fix on the finding. It doesn’t commit, push or open a pull request unless you ask.

Once the change is deployed, mark it Live on site on the finding: the report compares people before and after the fix from then on. To check it with virtual users, run the same tasks again with research=<research id>.

/mcp__usercase__fix <research id> F1
/mcp__usercase__fix <research id> F1 real

Fix an issue

Issues from your questions’ answers have the same button in Issues. Your agent reads the question, what people chose and wrote, and any other issues with the same cause, then works the same way. Once the change is deployed, mark the issue reviewed. The question keeps running, so later answers show whether people still hit it.

Fix the top issue from Usercase