10 Nov 2026 · 3 min read

How we build with AI coding tools, and what to ask anyone who does

The rules we run AI coding tools under, what we measured, and five questions to ask anyone who uses AI to build your product.

Six AI coding tools, Claude Code, Codex, OpenCode, DeepSeek, Kimi and Grok Build, all reading one set of rules.

We use AI coding tools on our builds, often several at once. Left alone, they get in each other’s way. Two of them edit the same file, one repeats a mistake another already made, and the bill climbs.

cstack is the setup we built to stop that. It’s open source, and it’s how we run our own builds. If someone builds your product with AI, you can’t see from outside how they run it, but you can ask. The questions we’d ask in your seat are at the end.

One set of rules for every tool

cstack gives six AI coding tools the same rules: Claude Code, Codex, OpenCode, DeepSeek, Kimi and Grok Build. Change a rule once and all six read the new version.

When one tool fails in a way another could repeat, we write the failure down as a rule. Every later session, in any of the six tools, checks the rules before it runs a command or edits a file. One rule came from a command that sets work aside: run in a shared project, it swept up other sessions’ unsaved work along with its own. Between 18 September and 27 October 2026 we added 85 rules like that. By 27 October, 76 were active and 9 had been retired.

Each tool claims its files

Before a session edits a file, it claims it. If a second session tries to edit the same file in the same copy of the project, the second one is blocked. The two swap one handoff message covering what’s done and what’s left, and the one with less done steps back.

Diagram: tool A claims a file, tool B is blocked from it, A hands over, then B is allowed to edit it.

A second model reviews every change

Since 21 October 2026, no code change counts as done until Codex, OpenAI’s coding tool, has reviewed it. The reviewer gets only the change and a brief that asks for problems, so it stays on what changed.

We tested reviewers before choosing them. We took 5 real changes that passed their tests but held 17 bugs a later review caught. Claude Opus 5.5 at high effort found the most, 10 on its first run. Codex found 5, including one no other model caught. No reviewer found everything, so our reviews use more than one model.

The worst result was on security. Of 5 known bugs in database security rules, every model missed 4. Those rules still need a person to read them.

We measure what a task costs

AI tools charge by how much text they read and write, and the same model costs more when you set it to think harder. In a benchmark on 17 September 2026, we ran five tasks from real work, twice each, on Claude Opus 5 at four effort settings. Costs are at API list prices.

Low effort
US$0.33 a task
Highest effort
US$0.90 a task
Tasks with a right answer
96 to 100% at low, 100% at the highest
Writing, out of 10
8.0 at low, 6.8 at the highest
Bar chart of cost per task: US$0.33 at low effort, US$0.42 at medium, US$0.53 at high and US$0.90 at the highest.
Same model, four effort settings. Low effort still got 96 to 100% of the answers right.

Low effort cost well under half as much and lost 4 points on one task, so our helper agents run at low effort by default, and we keep high effort for text people read and for reviews. The same run tested a common pattern, a cheap model doing the work and Opus checking it. It scored 100% and cost US$0.78 a task, more than twice Opus 5 at low effort on its own.

These are small tests on our own work: five tasks, two runs each, on a model we have since moved on from. Treat them as our numbers. They may not carry over to someone else’s work.

What to ask anyone who builds with AI

  • Who reviews the code the AI writes: a second model, a person, or both?
  • Which AI services can see my code, and where is that written down?
  • What stops two tools, or two people, from changing the same file at once?
  • Which parts does a person read? Security rules should be on that list.
  • What does a task cost to run, and how did you measure it?

Our answer to the second one is a policy file. It says which outside AI services may see each folder, and any folder it doesn’t list counts as confidential, which means Codex only.

Ask these before you sign. A builder who runs a careful setup can answer all five in a few minutes.

Read the cstack case study

From the work

cstack

Keeps several AI coding tools from clashing, and cuts what they cost to run.

Read the case study

Next post

Your app might not need its own chat screen

Tempo lets people log workouts by telling Claude, the assistant they already use. How it works, and what is and isn’t live yet.

What could sink your build?

The Build Risk Check is free and takes two minutes. Answer eight questions and see the three biggest risks to your build.

Start a project