14/17
Part 6 of 7 · The worked exampleLearn and do

A worked example: the shop's returns agent, designed out loud

The prompt, from a candidate's Anthropic round: a tooling scenario in which the model must plan, then call a tool. How would you build it (1 report)? Answer it with the returns agent.

Clarify what the agent may do, then build the loop around it

1. Clarify. Which actions are irreversible? Refunds. What may the agent never do? Change an address or cancel an order. What's the refund limit before a person approves? How fast must it answer, and what happens when a tool is down?

Predict

The agent should never cancel orders. What's the surest way to enforce that?

Pick an answer above to see the rest
Predict

Which of these is the model's job in the returns agent, not the harness's?

Pick an answer above to see the rest