The Adaptive Alchemist logoThe Adaptive Alchemist
The Adaptive Alchemist logo

Teaching AI when to think, act, and stop

More reasoning isn't always better. Autonomous systems need to decide when another step is worth its cost, and when the right move is to act, test, or ask.

·9 min read
Teaching AI when to think, act, and stop

Imagine an AI agent investigating a production incident. A release that went out an hour ago has pushed checkout errors up. The agent can read deployment history, logs, traces and dashboards, and it can turn off the new feature through the rollout system.

It has evidence pointing at the release, but not the root cause. It could spend ten more minutes narrowing down the failure, run more diagnostics, ask a second agent to read the suspicious code, or turn the feature off and investigate afterward. All four are reasonable. They aren’t worth the same at that moment.

If turning the feature off is safe and restores checkout, ten more minutes of analysis buys a more satisfying explanation at the cost of hundreds of failed purchases. If the flag also gates a schema migration that new orders have already been written through, switching it off could strand those orders in a state the old code can’t read, and the investigation becomes the cheap option. Waiting has a price in both cases, and it rises while the agent thinks.

Google’s SRE book tells on-call engineers to make the system work as well as it can before hunting for root cause in a major outage. That advice assumes a person weighing the tradeoff. The agent has to weigh it itself, at every step, often with nobody watching.

Reasoning about the incident is the easy part. The hard part is deciding whether the next increment of reasoning is worth more than the alternatives. We’re increasingly letting models choose which work comes next, and knowing when to stop comes with that freedom. An autonomous system that can’t decide when to stop is only consuming its budget, no matter how independent it looks.

Reasoning has an opportunity cost

An agent can always do one more thing: another search, another file, another candidate fix, another model asked to critique the draft. Any of those might improve the result. Each also spends time, money, context window and eventually someone’s attention, whether or not it changes what should happen next.

Inference is the easiest cost to measure. It’s often not the most consequential. A cheap investigation is expensive when it delays a mitigation that was already justified. An expensive verification is a bargain when it prevents an irreversible mistake. What counts is what the next step adds compared with the other steps available.

None of this started with language models. Stuart Russell and Eric Wefald laid it out in Do the Right Thing in 1991: computation has a cost, so choosing which computation to run is itself a decision, worth whatever improvement it’s expected to produce in the action you eventually take. They called it rational metareasoning. Language models made it run thousands of times a day, inside systems nobody steps through by hand.

The next step has alternatives

Reasoning budgets, effort levels and token caps all treat an agent’s choice as thinking longer versus stopping. An agent usually has more options. It can think, working over the evidence it already holds. It can investigate, acquiring new evidence through a tool, a test or an independent check. It can act, executing an authorized step and watching what happens. Or it can hand control back, because more autonomous effort isn’t justified, permitted or likely to help.

Their economics differ a lot. Thinking is cheap per step and runs on evidence the agent already has, which is exactly where it runs out. One log query scoped to the failing endpoint, or one question to the engineer who wrote the code, can settle in seconds what another twenty thousand tokens of analysis can’t.

An agent can reason for a long time over incomplete evidence without ever producing the missing fact.

A small, reversible action often produces better evidence still. When the fallback is safe, disabling the feature for a small cohort and watching the error rate tells the incident agent more about the release than rereading the diff. The experiment is only as safe as the environment it runs in.

Information is worth what it changes

Decision theory has called this the value of information since Ronald Howard’s work in the 1960s. A finding can be accurate, interesting and expensive and still be worth nothing, because it doesn’t move the decision. Its worth depends on how likely it is to change the preferred action, how much rides on that change and what it costs to get.

If the evidence already justifies a safe, authorized rollback, finding the exact defective function first adds almost nothing. If rolling back could strand orders mid-migration, the same investigation might be the most important thing the agent does all day.

The amount of uncertainty doesn’t tell you which case you’re in, and neither does the model’s confidence. An agent can be highly confident about an action it isn’t authorized to take, and deeply uncertain about one whose worst outcome is a cheap, recoverable blip. Reasoning effort, information value and action risk sometimes move together, but they’re separate quantities, and tracking one tells you little about the others.

The checkpoint question that does the most work is plain: What could the next investigation reveal that would change what we do? If there’s no credible answer, the investigation needs another justification or it should stop.

That doesn’t mean computing expected value before every tool call. The probabilities are usually guesses. Making the competing costs explicit is the useful part.

Continuing can make an agent worse

More reasoning often helps on hard problems. It also has failure modes that look like diligence from the outside.

A 2026 study of prompt-induced waste in coding agents tested what happens when you ask agents to deliberate harder. An instruction to develop several approaches and compare their tradeoffs raised reasoning tokens 2.4 to 7.4 times across six open-weight models, with no measurable gain in success. The agents typically elaborated a few approaches, threw away all but one and implemented that one. On these bounded tasks, asking for more thinking bought several times more reasoning, not better results.

That’s waste: extra work that changes nothing consequential. Distraction is different. It’s the agent pursuing something adjacent to its task, like the coding agents Google found chasing bug references in code comments nobody asked them about. In the affected sessions, those detours added 70% more steps. Error amplification is the most dangerous. Another round of self-critique, or a second model reviewing with the same premise, makes the agent more confident in a wrong answer instead of testing it.

Waste needs a stopping signal, distraction needs scope and amplification needs evidence from outside the agent’s own reasoning. Reasoning pays when the way it’s spent raises the odds or quality of a good result by more than it costs.

A budget isn’t a strategy

In Your next hour of thinking has to earn itself, I argued for funding investigation in tranches, with checkpoints fixed in advance. That works for a person who checks in a few times a day. An agent faces the same choice dozens of times a minute.

A cap on tokens, tool calls, time or spend still matters, because it stops a runaway loop at 3am. It says nothing about whether the allowance is spent well. An agent allowed twenty tool calls can waste all twenty. One allowed two can stop just before the verification that would have caught its mistake.

The cap is a constraint. The strategy is whatever decides how to spend inside it: an objective with a success signal the agent doesn’t grade alone, a record of what’s been established, and explicit conditions for acting, escalating or stopping. Renewal should depend on expected progress, because unfinished work always wants more budget.

Checkpoints shouldn’t fire only on a clock either. New evidence that could change the decision, a stalled approach, a nearby budget boundary or a jump in the cost of delay are all reasons to stop and compare options.

The agent shouldn’t grade its own progress

An agent will tell you it’s close, that the current line of investigation is promising or that it has the answer. Those reports come from the same process that might be stuck, so they’re least reliable exactly when you need them.

Progress needs evidence the system can observe. For a coding agent, that’s a reproduced failure or a test that now passes. For a research agent, it’s an independently corroborated finding or a recommendation that changed. For an operations agent, it’s a transaction the processor confirmed. Work attempted, evidence obtained, claims verified and outcomes achieved are different things. An agent that has made forty tool calls has attempted a lot and may have established nothing.

An agent can’t manage its own investigation by narrating how productive it feels.

Some of those checks are deterministic. Others need an evaluator or a person. A second model isn’t automatically independent, since it can share the first one’s blind spots and premise. Independence comes from different evidence, not a different prompt.

Thinking Before Thinking, a 2026 paper, tests this separation directly. A controller decides which partial work to build on, whether to restart and when to stop, while workers do the task. With the same workers and compute budget as a direct control agent, it gained 3.6 to 4.2 points on average across three frontier models and kept improving as budgets grew. Controller overhead hurt performance at smaller budgets. The larger finding holds: how an agent allocates its computation changes how well it performs, even when the underlying models and budget stay the same.

The same separation ran through Autonomy is an architectural property: the agent proposes, the system decides what executes. The agent can argue for more effort. The control process should weigh that argument against observable progress, remaining resources and the alternatives, and wherever possible rest on evidence the agent can’t manufacture by describing its own work. Separation alone doesn’t guarantee good judgment, since the controller can make the same mistakes. Authorization stays a hard boundary no matter how good the expected value looks.

Stopping is a capability

Most systems treat stopping as what happens when something breaks: budget exhausted, error hit, agent gave up. Stopping for the right reason is one of the most useful things an autonomous system can do.

An agent can stop because the criteria are met, because more work won’t change the decision, because acting now beats investigating or because what’s left needs evidence or authority it doesn’t have. Some stops leave the uncertainty unresolved, and the agent should say so plainly.

An incident agent that confirms the fallback is safe, disables the feature within its authority, hands the on-call engineer what it ruled out and what it couldn’t, and stops, did its job. An agent that keeps generating hypotheses until its context window fills looks busier and leaves everyone worse off.

A stopping rule that kills difficult but promising work is a bad stopping rule. Some problems need sustained investigation before they produce useful evidence, so the target is stopping when continued effort is no longer justified, whenever that turns out to be. Good stopping rules separate that work from repetition, and the usual tell is whether the agent is still producing new evidence or recombining what it has.

Measure decisions, not effort

Cutting tokens and maximizing task success are both easy targets, and neither is what a business wants. For comparable tasks, look at the quality and consequences of final decisions next to the total cost in compute, tools and elapsed time. Track how much useful information each extra step produced, how often stopping decisions held up, whether escalations arrived on time with enough context and how much repeated work or preventable harm crept in.

The experiment I’d want any team to run is simple: same model, same tasks, fixed effort against adaptive checkpoints. Measure whether the extra effort improves outcomes, and check specifically whether the adaptive version kills hard but promising work too early. That failure stays invisible unless someone looks for it.

Fewer decisions that need to be right

I started this series with a contradiction in my own behavior. I’d spent years building systems that let teams act without being right in advance, and I still caught myself trying to think my way to certainty before ordinary decisions.

Everything since has pulled on that thread, from pricing the next hour of investigation to building environments where mistakes are cheap and authority is enforced rather than assumed.

Now we’re building systems that think and act for us, faster than anyone can supervise step by step. They can make my mistake at scale, treating more effort as more value or acting before the consequences are understood.

Making them think less won’t fix that, and neither will letting them think indefinitely. They need a way to recognize when the next step is worth taking, inside an environment where being wrong doesn’t automatically become catastrophic.

That’s the principle connecting all six articles. Design systems in which fewer decisions need to be correct in advance, then give the agents inside them the evidence to decide which of the remaining ones deserve another minute.


Further reading

Do the Right Thing: Studies in Limited Rationality by Stuart Russell and Eric Wefald: The original case for treating computation as an action with costs and value, written three decades before anyone asked a language model to think harder

Site Reliability Engineering edited by Betsy Beyer, Chris Jones, Jennifer Petoff and Niall Richard Murphy: Google’s practice of stopping the bleeding before root-causing, the incident version of choosing action over more analysis

The Principles of Product Development Flow by Donald Reinertsen: Cost of delay and the economics of waiting, the half of the tradeoff agents rarely price

Thinking Before Thinking: Scaling Agentic Inference Through Meta-Reasoning by Paras Dahal and colleagues: What happens when a controller, not the workers, decides how an agent spends its budget, including where that overhead doesn’t pay

Subscribe to the newsletter

Get notified when new articles are published

Share:

Written by