top of page

When Should an AI Agent Stop Trying and Return a Partial Result?

Oct 21
3 min read
Agent stop policy with bounded effort, no-progress detection and a verified partial-result handoff.

An agent searches again, receives the same unhelpful result and tries another nearly identical query. The activity log grows, but the task does not advance. Eventually the run ends without a usable explanation of what was completed.


AI agent stop conditions make bounded effort part of the workflow design. They should distinguish successful completion, useful partial completion, blocked work and genuine lack of progress. Stopping can be the correct outcome when continued action adds no reliable evidence.


Define completion before defining limits


Write the observable end state. For an illustrative project research task, completion might require a verified list of relevant documents, a supported comparison and a clear account of unresolved questions.


“Produce an answer” is too weak. It can reward a polished response even when essential evidence is absent.


Also identify consequential actions that require separate authorization. A stop policy must not encourage the agent to bypass a boundary simply because it is running out of time.


Use several kinds of budget


A practical plan can include elapsed time, tool-call count, repeated attempts and a limit on unresolved branches. These measure different things.


A framework-level limit is only one control. LangGraph's recursion-limit documentation describes stopping when a graph reaches its maximum steps before a stop condition, which can indicate a loop or a legitimately complex graph.


Increasing such a limit may allow more work, but it does not establish that the work is progressing. The application still needs a task-level decision about usefulness.


Define what counts as progress


Progress should add a verified result, resolve an uncertainty or complete an authorized step. Rephrasing the same unsupported conclusion is not progress.


For a research task, a newly read primary source may count. Reopening the same source without a new question may not. For a record update, a confirmed destination change counts; another attempted request with an unknown outcome does not automatically count as completion.


Record a small progress ledger with completed items, evidence references, unresolved items and the next discriminating action.


Detect repeated failure patterns


Identify patterns that should trigger a stop or a change of approach: the same permission denial, the same invalid request, repeated empty results from equivalent queries or a dependency outage with no approved recovery path.


A transient error can justify a bounded retry under the provider's guidance. A missing permission usually requires a different response. Do not treat every failure as a reason to repeat the same call.


For operations that may already have changed state, inspect the destination before retrying. Otherwise, persistence can create duplicate work.


Work through an illustrative no-progress case


Suppose an agent needs the current owner of a project. It searches the authorized directory, finds an outdated record and then discovers that the current directory is inaccessible.


The useful result is the verified historical owner with a clear date, plus the unresolved current-owner question. Repeating the inaccessible lookup twenty times does not make the historical record current.


The stop report should explain which access is missing and which next action would resolve the gap. It should not invent a current owner to make the task look complete.


Preserve work before returning


A partial result needs stable identifiers, evidence and status. Use the agent progress ledger guide to retain completed actions so a later continuation does not repeat them.


Separate confirmed success, confirmed failure and unknown outcome. “Attempted” is not a synonym for “completed.”


If the task produced a draft that has not passed review, preserve it as a draft and state why it is unfinished. Do not publish it merely because the effort budget is nearly exhausted.


Write a useful stop response


A compact response should state the achieved result first, then the remaining gap, the concrete reason and the next required input or action.


For example, an invented research report might say that seven source documents were verified, two questions remain unanswered, and the current policy document could not be accessed. The report should link the completed evidence where appropriate.


Avoid claiming that work will continue after the run has stopped unless a real continuation mechanism is in place and authorized.


Test limits without rewarding premature stopping


Include a task that can finish within the normal budget, a task with repeated identical failures and a task that makes slow but meaningful progress. Check that the policy handles each differently.


A very low limit can make an agent abandon useful work. An unlimited loop can waste resources or repeat side effects. Choose limits from observed tasks and revise them with evidence.


For a collaboration brief, define completion and one no-progress example. The FutureOS introduction describes the current prelaunch context without promising autonomous execution capabilities.


Prepared with AI assistance. Primary source and linked site context checked on October 21, 2026.


Comments


Commenting on this post isn't available anymore. Contact the site owner for more info.
bottom of page