AI reliability vs. the cost of error, and three ways to move the line
Table of Contents
In my previous post, Code is free, trust is scarce, I argued that trust becomes the scarce resource once AI writes most of the code. Since then, the question I get the most is about the practical implications of it: which tasks can we trust and delegate to AI today, and how do we trust and delegate more tomorrow? I articulate my answer through the trust frontier framework.
I think about it with a risk-based approach: we can delegate a task to AI when the expected risk is low enough. Expected risk is how likely the AI is to be wrong, multiplied by what a mistake costs us. This post turns that idea into a simple and actionable framework, and shares what we are doing in my teams to move tasks across the trust frontier.
When to delegate to AI: reliability vs. cost of error
Most debates about AI focus on the first half of that equation: is the model, or harness, good enough? But I believe the second half matters just as much. A task is easy to delegate to AI if errors are likely to be caught, or if they are easy to undo.
The cost of error has three drivers:
- Reversibility: can we undo it quickly? Jeff Bezos has made the two-way doors concept quite famous in 2023
- Blast radius: does it hit a draft, an internal tool, one customer, or everyone?
- Verifiability: how long does a human need to check the output?
This explains why we already let AI write code. Code goes through review and testing before it reaches production, so most mistakes are caught early and cost little. It also explains why teams use AI more on simple tickets than on complex ones: a mistake buried in a large refactoring takes much longer to spot and untangle.
The trust frontier
Put those two variables on a grid. The horizontal axis is the cost of an undetected error. The vertical axis is AI reliability ; this is evaluated in your own context as it depends on your tasks, your tooling, etc.
The diagonal is the trust frontier. Tasks above it can be delegated: AI decides and acts, and humans audit samples to keep measuring AI reliability. Tasks below it keep a human in the loop: AI drafts, and a person checks and decides. Raising AI reliability moves a task up. Lowering the cost of error moves it left. Both push it across the line.
Start in the bottom-left corner, where errors are cheap and easy to verify: internal tools, non-critical services, well-monitored systems with a small blast radius. There, we can delegate a lot and learn how AI behaves on our work. Those learnings, and the evaluations we build along the way, are what later justify delegating riskier tasks.
Trust must be measured, not felt: Reliability is the error rate on a sample of our own tasks, and it varies a lot based on the contextd. An agent that handles a small AI-native codebase perfectly can still fail on a legacy codebase with a lot of debt and no documentation. So we measure it per task type. This does not need fancy tooling to get started: labels on the tickets AI handled, and on the ones where it failed, are enough for a script to compute the rate from Jira or GitHub.
The free ride: models moved the line for us
Over the last year, many tasks crossed the trust frontier with little effort from us, because AI coding agents got better very fast. METR measured that the length of tasks AI agents can complete doubles roughly every seven months.
Our own guidelines show it. Until a few months ago, the rule in my teams was that a human reviewed everything AI produced before sharing it with anyone: before asking a peer for a review or before sending it to QA. Today, the rule is “AI-first intent”: Try with AI first. If it does not work, fix the AI setup so it gets it right. Only do it yourself if that really fails.
Some pull requests no longer get a manual code review at all. They are small, low-risk changes in well-tested areas that agents can validate end-to-end, and we do it even more on internal tooling or on projects that don’t have users yet. That is the bottom-left corner of the grid. We review the intent through the PR description, and the evidence that QA was done properly through the screenshots and reports the agents attach. Part of that shift was made possible thanks to the work we put in, which I cover below. But a fair part came from each model release moving a batch of tasks up the grid, for free.
That free ride has two limits. First, it only works on the vertical axis. A better model does not make a production database easier to restore, or a customer-facing change faster to verify. Second, if we only wait for the next model, we never learn where our own line sits. When a new model comes out, we can’t tell which tasks are now safe to delegate to AI, because we never measured.
Consistent agentic systems raise reliability
The first lever we control is building agentic systems that run the same process on every task. This is why we built our internal “agentic delivery pipeline”, a library of AI skills and agents, and why we keep iterating on it: every ticket goes through planning, implementation, code review and QA, each handled by a separate agent in an orchestrated flow. I described it in my post on AI adoption and in Code is free, trust is scarce.
This consistent process helps teams to see repeated successes, and it lets reliability compound. To begin with, teams were running each step of the agentic delivery pipeline one by one, and reviewing the output of each step before continuing. This hands-on approach built trust and also ensured we made each step very reliable before orchestrating them altogether: a chain is only as strong as its weakest link. It is how we spot drifts and fix them early, a important learning I already faced when automating end-to-end tests with AI. Whether the system is successful in implementing something autonomously or not, those iterations move tasks up on the graph: the system becomes more reliable and more trusted.
Building trust in AI agents, one story point at a time
Even with a reliable system, engineers need to see where the line sits for themselves before they trust it.
Normalizing the skills and agents can move tasks left on the grid. Each pull request comes with its evidence: the plan, the review findings, and a QA report with screenshots. We invested a lot on getting consistent and well-formatted reports for each step such that a human can check them in minutes rather than going through unformatted AI verbose. It helps everyone understand, task after task, what our tooling is capable of today and what it can be trusted with or not, so they know where the line sits.
Moving along the trust frontier is a journey and you should start in the bottom left corner. Some teams first applied “AI-first intent” strictly on every ticket of 1 or 2 story points: AI implements, reviews and tests it first. As mentioned before, during this evaluation phase, engineers still review every ticket deeply. When the AI gets something wrong, they see it, and they fix the context or the skill so it does better next time. Once the team trusts a ticket size, engineers review those tickets less and move up to the next size: 3 points, then 5, then EPIC,…
Trust must have a practical definition here, so that it is measured and not guessed. For instance, the defect rate must be low enough to have no long-term impact on the codebase or the product, they must be easy to fix, and too few to disrupt operations. So far, in my experience, this approach ensured they are also fewer than when we worked without AI at all.
As the complexity of tasks you delegate to AI increases, at some point, it will stop working well. But because engineers still review the new level deeply, they will see exactly where and why. Then the team decides what to improve: better context, a missing skill, a clearer ticket format. Or it accepts that this level keeps a human in the loop for now.
I like this approach because the team draws the line from its own evidence, within their own context. Nobody has to be convinced by a manager, a vendor demo or an AI-frontrunner colleague. Trust grows ticket by ticket, measured, not felt.
Models will likely keep giving us a free ride for a while. But the teams that delegate the most to AI will be the ones that also build the systems and the evidence to move the line even faster themselves.
I am Mathieu Lamiot, a France-based tech-enthusiast engineer passionate about system design and bringing brilliant individuals together as a team. I dedicate myself to Tech & Engineering management, leading teams to make an impact, deliver value, and accomplish great things.