Materials / Notes

When code got cheap, review became the bottleneck

Bringing AI-assisted development into a large company made writing code cheap. It still had to be reviewed and tested, so the bottleneck simply moved. Here is what we tried, what it cost, and the one idea we kept.

3 min read3 Sep 2026Ilia Poliakov

Agents in a chat, reviewing each other

People trusted AI output because of its volume and speed, and at the same time it got harder and harder to keep the attention a proper review needs. The fix we reached for was the one AI evangelists show on stage: a chat where agents talk to each other and one reviews another. People stepped in only when the agents disagreed. In that setup one vendor's assistant reviewed code that another vendor's model had written.

What we learned:

  1. It works best when the models are genuinely different, so they bring different points of view.
  2. Tokens drop when not every agent gets the full context.
  3. The main drawback: the agents found corner cases, and fixed them, that would never reach a user. The codebase kept growing and efficiency went down, because past a certain complexity AI struggles (which is why strict frameworks and small services suit it better). Tokens went up enormously, and we did not roll it out across the company.

The same idea in a startup

Later a startup asked for the same approach. A startup cannot pay for several models, so the chat of agents was even less useful: with one model behind every role, different instructions changed little. The agents shared roles in a chat, and it felt like voices inside one head: interesting, and mostly noise.

One working idea survived: managing the context and the tokens.

What we built instead

A hard-coded orchestrator of Claude Code sessions, with explicit switching of context between them: an input and output protocol from one session to the next, style instructions, a system prompt, and a model chosen per stage. The work is a series of stages, each its own session, each with a strict protocol: what context it gets, what it may not do, which tools it may use.

It needs feedback loops: for example, watching where sessions struggle, weighing the restrictions, and suggesting the tools or permissions to add. Less spectacular than a chat of agents, but controlled, cheaper and easier to reason about.

Why it is closer to project management

Building with AI this way is more like managing a project than writing code: you set up a flow with restrictions, so you stay in control, and instructions, and then you build the corrective flows. The orchestrator is where the know-how lives. The more work moves into a scripted orchestrator, the cheaper each feature gets. The less unneeded context each session gets, the fewer tokens it eats. More restrictions mean more control, and the feedback loop that tunes them is know-how of its own.

First posted on LinkedIn →