COURSE 6 OF 8
Durable Agent Execution
Resume interrupted agents without repeating a consequential tool call.
Background reading
Free course previewComplete course
A checkpoint is not a transaction with a tool
An agent can call a tool successfully and crash before recording the result. Resuming from its previous checkpoint may repeat the call. Give each consequential action a stable operation ID. The tool must use that ID to return the original result when the same action is retried.
Store thread and tenant identity explicitly. Check authorization in the tool boundary; a model-generated argument must not decide which customer data the caller may access.
Continue learning
See Pro plansContinue with Pro
Get Pro on codebaobab.com.
What you will learn next
- 01Control the work an agent may do
- 02Further reading
- 03A refund tool times out
- 04Review
- 05References