Agentic Termination: How Autonomous Systems Know When the Work Is Done
An agent can be excellent at starting work and completely unequipped to end it. Starting has a clear trigger: a request arrives, a task appears, a goal is set. Ending does not. The agent has to decide, on its own, that the work is complete, and that decision is where quiet failures accumulate. Work that stops early ships with gaps. Work that never stops ships nothing at all. Termination is not the absence of effort. It is a designed finish line, and most agentic systems never write one down.
Why Termination Is Hard
Three confusions explain why agents are bad at stopping.
The first is tool success mistaken for outcome success. A tool returns a success code. The queue shows a completed job. The API responds. None of that proves the outcome exists. It proves a step ran. Agents that terminate on tool success declare victory at the earliest reliable signal, which is usually the least meaningful one.
The second is score thresholds mistaken for quality. A score is a proxy, and proxies terminate cleanly, so they are tempting. But a high score can hide a fabrication, and a genuinely better output can tie the old one on the same metric. A finish line drawn at a score will stop on the wrong side of good enough.
The third is the absence of a distinction between done and perfect. An agent that cannot tell the two apart keeps polishing, because every pass finds something to improve. The work is complete after the first pass. It is perfect after the tenth. The system that conflates them burns its budget on the ninth pass and never ships.
The Completion Contract
The design skill is to define the finish line before the work begins. A completion contract answers four questions. What does done look like? What evidence proves it? What is explicitly out of scope for this pass? And what happens if the line is not reached?
The contract must be checkable, not vibes-based. "Reads well" is not a criterion. "Every claim traces to a source, no fact was invented, the output is not a copy of the input" is a criterion. The contract also separates completion from perfection. Completion is the state where the output satisfies the requirements and is safe to hand over. Perfection is an unbounded direction. Only one of them can be a termination condition.
The fourth question is the one teams skip. When the finish line cannot be reached, the system needs a defined next move: escalate to a human, degrade to a partial result, or stop and report. A system with a finish line but no miss path does not terminate. It drifts.
How RoleFresh Terminates
RoleFresh, the AI job search platform, runs a resume rewrite pipeline that shows what a real completion contract looks like. The pipeline is prompt-first and fail-open. It does not stop because a score is low. It stops only on fabrication-shaped failures: empty output, a verbatim echo of the original, dropped lines. A score is a signal, never a gate, because a genuinely better rewrite often ties the original on the same metric.
The human is the acceptance gate. The editor offers accept and redo, and that is the only place where the work is declared done. The system does not grade its own homework and call it finished. It produces a candidate that is provably free of the failure shapes it can detect, then hands the final judgment to the person who owns the resume.
This is a sharp design choice. The system terminates on what it can verify, not on what it wishes it could verify. It knows the limit of its own judgment and puts a human exactly there.
How Story Engine and Bookbrary Terminate
Story Engine, the agentic book generation pipeline, and Bookbrary, the reader that displays its output, terminate in different places, and the gap between them is instructive. Story Engine writes a book as many segments. Its orchestrator tracks progress through defined states, bounds each segment with retries, and trips a circuit breaker after consecutive failures. A stop is a first-class outcome, not a crash.
Bookbrary holds the real finish line. It does not know how the book was produced. It only knows whether the page renders. At one point the pipeline finished cleanly, the queue reported success, and the reader displayed books with zero words. The content existed. It had never been aggregated and pushed. The generation side had terminated on its own success signal. The reader refused to.
The lesson is that a system can be correct about its process and wrong about its outcome. The honest finish line is the one the consumer can check. Story Engine's own success metric, the percentage of books completed without manual intervention, treats a stop as a measured event. The circuit breaker and the completion rate together answer the question the queue cannot: did the work actually finish?
How Darcron Terminates
Darcron, the autonomous AI software factory, runs a builder and blind-critic gauntlet loop. The loop is built to resolve its own disagreements, and its termination rule is a round limit. When the critic has not converged after fifteen rounds, the factory does not keep flipping coins. It moves the issue to a state called needs-input and stops.
That is termination as a handoff, not as a failure. The loop has a finish line for its own judgment, and when the line is not reached, the work does not die. It changes hands. The round limit converts exhaustion into a decision for a person, which is far better than either shipping a coin flip or running forever.
Key Takeaways for Agentic Termination
- T-TM1: Write the finish line before the work begins. A completion contract defines what done looks like, what evidence proves it, and what is out of scope. Without it, the agent stops at the first plausible signal.
- T-TM2: Terminate on outcome evidence, not tool success. A success code proves a step ran. It does not prove the outcome exists. Verify the result the consumer will see.
- T-TM3: Never terminate on a score alone. Scores are proxies and can be gamed, flat, or tied by genuinely better work. Use failure shapes and explicit criteria as the gate.
- T-TM4: Separate completion from perfection. Completion is the state where the output meets the requirements and is safe to hand over. Perfection is unbounded and cannot be a stopping condition.
- T-TM5: Give the miss path as much design as the success path. When the finish line is not reached, escalate, degrade, or stop and report. A system with a finish line and no miss path drifts.
An agent that cannot stop is not diligent. It is unfinished. The systems that scale are the ones that know what done means, prove it against evidence they do not control, and hand over at the exact point where their own judgment runs out.