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.

Official answer available

Preview the opening of the answer, then unlock the full walkthrough.

I would model the workflow as explicit states like waiting, ready-to-resume, blocked, and completed. That lets the system restart from...

Related Questions