All Questions
Agents And Tool Use easy

A procurement agent needs manager approval before placing orders over a threshold, and managers typically respond within 10 to 60 minutes. How should the agent loop handle the wait?

  1. A Block the worker thread in a polling loop until the manager clicks approve or reject.
  2. B Persist the run state, suspend the loop, and resume it when the approval event arrives.
  3. C Let the model place the order now and send the manager a notice to reverse it if needed.
  4. D Hold the HTTP request open with a long timeout so the agent can continue in place.

One system design question a day, with spaced repetition so the ones you miss come back.

Get the app

Related questions