An agent crashes after a tool succeeds. How should it resume?
Understand the idea, explain it in your own words and use the rubric to find your next learning gap.
The idea behind the question
Durable state and external side effects are not automatically atomic. A checkpoint must distinguish a planned operation, an executed operation and an uncertain outcome after a crash.
An assistant creates a support ticket, loses the network response and restarts from the preceding step.
A practical way to learn it
Draw a checkpoint timeline for ticket creation and mark where recovery must query external state instead of repeating the action.
Open online notepadThe related tool opens separately; your interview answer stays here. Written practice is self-guided, without automatic code grading.
Build an explanation you understand
- State what the concept does in plain language.
- Apply it to the example and make your assumptions explicit.
- Explain a trade-off, failure case and how you would test it.
- Distinguish your actual experience from a proposed approach.
How would you explain it?
Single-question timers reset on refresh. Full mock sessions can resume from this browser.
Strengthen your explanation
Compare reasoning, not identical wording. Reference answers describe a possible approach; replace hypothetical statements with truthful details from your own work.
One way to answer
I would assign stable operation IDs and record intent and observed outcomes in durable workflow state. A retried side-effecting tool should support idempotency or a reconciliation lookup that can establish whether it already completed. I would not let the model infer success from an incomplete transcript. Resume logic would restore authorization context and validate that any pending approval is still applicable. I would test crashes before execution, after execution and before checkpoint persistence. Where exactly-once effects cannot be guaranteed, I would state the limitation and provide a safe reconciliation or human-review path.
What a strong explanation should cover
Tick only the points your own answer addresses. This is self-assessment, not AI scoring.
0 / 3 points self-reportedWatch out for
- Replaying a successful external action just because no response was saved.
Now go one level deeper
- What if the tool has no idempotency support?
- Can an approval from yesterday authorize a changed request today?
Further reading
Further-reading links support learning; the reference is Sukoaa-authored, not an official employer answer key.