TECHNOLOGY

Interrupting an agent does not reverse an external action

In this article
THE QUICK TAKE

An interrupted agent turn leaves a separate question about any external action already dispatched; reconcile that outcome before retrying.

Locate the irreversible boundary

A child preparing a purchase draft requests an external reservation. Before its response arrives, the coordinator interrupts the child because the user changes the delivery address. Stopping reasoning and stopping the reservation are different operations. The Responses guide defines interrupt_agent as interrupting an active turn without deleting its context. It does not document that this action reverses effects already performed by an application-defined function. Treat the reservation outcome as a separate fact to establish.

Track dispatch and outcome separately

A proposed application ledger records the business operation identity, exact arguments, dispatch status and observed external result. If interruption occurs before dispatch, the function may remain unexecuted. If it occurs after dispatch but before acknowledgement, the state is uncertain until reconciled. Marking both cases “cancelled” makes a later retry unsafe. This ledger is an application design recommendation, not a newly claimed OpenAI API field or an assertion that every external service provides a cancellation endpoint.

Put review before execution

The SDK guardrail guide describes approval interruptions that pause a run before a reviewed tool executes, then resume from saved state after a decision. That is distinct from trying to undo an already-dispatched action. For a reservation, review should bind the actual account, item and address at the tool boundary. A subsequent user correction can invalidate the pending action, but the application still needs to determine whether it was executed before deciding what corrective operation is possible.

Test the uncertain interval

A useful fault-injection protocol delays the external response after accepting a reservation, then interrupts the specialist. Verify that recovery queries the operation record or otherwise reconciles the outcome before issuing a replacement. Also test rejection before dispatch and a confirmed failure. The running guide distinguishes expected pauses from runtime failures and explains continuation state. These tests evaluate application behavior; they do not claim that the provider guarantees exactly-once business execution or that interruption latency has been measured here.

Report what actually stopped

For scenarios through May 6, 2027, a final report should distinguish “agent interrupted,” “operation not sent,” “operation confirmed” and “outcome still uncertain.” Call identity helps preserve the link to the request, while Delegated approval scope gives related permission context from another runtime. The user needs an accurate business state, not a reassuring interpretation of a control-plane event. Recovery is complete when the artifact and external record agree with the revised authorized task.

A possible six-month capability

An editorial scenario by May 6, 2027 is an interruptible delegated workflow that resumes permitted work without duplicating an already accepted external action. The operation ledger and reconciliation path enable it. This requires a way to identify the downstream outcome. An opaque service with no usable operation identity or status evidence is counterevidence: such a stage cannot safely acquire the same degree of autonomous interruption and recovery.

Earn rental income from GPUs

Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.

Explore GPU hosting
← All articles