Design the state model for a long-running agent that pauses for human input.
Instruction: Explain how you would model state for an agent that can wait hours or days for approval or missing data.
Context: Assesses whether the candidate can design a practical architecture and explain the main tradeoffs. Explain how you would model state for an agent that can wait hours or days for approval or missing data.
Updated
Official answer available
Read the opening below, then unlock the full answer and practical guidance.
I would treat the pause as a durable workflow state. The checkpoint would record the goal, completed steps, pending action, workflow version, deadline, and whether we are waiting for information or approval...
Your preparation path
Work through these questions in order. Read the answer aloud, then explain it in your own words.
1. Start with the foundations
Build the vocabulary and explain the core decisions.
2. Apply it to a real workflow
Practice diagnosis, validation, and everyday tradeoffs.
3. Prepare for senior discussions
Explain failure boundaries, recovery, and production choices.
- Design an agent that can resume after partial failure without repeating side effects. Member answer
- After a model upgrade, how would you decide which agent-harness rules to remove? Member answer
- An agent's execution container dies halfway through a task. What survives, and how does it recover? Member answer
Related Questions
-
easy
-
easy
-
easy
-
easy
-
easy
-
easy