LEARN. PRACTICE. EXPLAIN.
Learning paths & interview practiceP
Forward Deployed Engineer
MCP & agentsAdvanced10 min

The agent kept retrying until it exhausted the budget.

  1. 1Your approach
  2. 2The follow-up
  3. 3Reflect & learn
THE INTERVIEWER ASKS

The scenario

An autonomous agent tasked with updating a customer record retried a failing tool call 47 times before hitting a cost limit, making no progress and generating a large API bill. Design safe agentic loop behaviour.

How would you approach it?

Explain your assumptions, your approach, and why you chose it.

Loading your notes…0 / 12,000
No timer. Think it through.
AlifBay Prep