Turn a vague agent design prompt into a defended design in ten minutes
In an agentic design round, spend the first ten minutes on scope, success measures and where each step belongs: plain code, an agent, an agent acting within limits, or an agent that proposes for a person to approve. Drawing that authority line early is what separates a system design from a framework diagram.
21 MIN
By AIAgentInterviews · Updated
TL;DR: Do not start drawing boxes. Ask what the system must achieve and how success is measured, list the steps, and place each one: code if it needs no judgement, an agent if it does, limits or approval if it writes something hard to undo. Then design the loop, tools and evaluation around that placement.
Where you are. Module one, lesson one. You are about to hear a deliberately vague prompt, and the next ten minutes decide most of the round.
The prompt is vague on purpose
The prompt may be one sentence: "Design an agent that handles employee expense reports." It leaves out who submits them, how many arrive, what happens today, what the company's policy says and what counts as success. That is deliberate. Part of what the round tests is whether you find those things out before designing, because the same gap on the job produces an agent that solves the wrong problem.
This lesson assumes a design round of about an hour with one interviewer. If yours is shorter, compress the first phase but keep it; skipping it costs more time later than it saves.
In plain language. An acceptance criterion says what a successful outcome must demonstrate. An authority boundary separates what the agent may propose from what the system permits. An assumption is a temporary choice you make explicit so the interviewer can change it.
Minutes zero to five: scope and success
Ask a few questions that change the design, not every question you can think of. For expenses, these matter most:
- Who uses it and how many reports a day? (Tens a day and thousands a day are different systems.)
- What happens today, and what is the pain? (If people wait two weeks for reimbursement, latency matters; if fraud slips through, accuracy does.)
- What may the system do on its own, and what must a person still do? (This is the authority question, and the interviewer will usually leave it open.)
- How will we know it works? (Name a measure: share of reports processed without a person, policy breaches caught, error rate on reimbursements, each with how it is measured.)
Write the answers where the interviewer can see them. You will point back to them for the rest of the round.
Minutes five to ten: place every step
List the steps the work actually involves, then decide where each belongs. Three questions do most of the work: does the step need judgement (interpreting a messy receipt does; looking up a policy table does not), does it write something, and can the write be undone?
def placement(step):
"""Where a step belongs in the design, from three questions about it."""
if not step["needs_judgement"]:
return "code"
if step["writes"] and not step["reversible"]:
return "agent proposes, person approves"
if step["writes"]:
return "agent acts within limits"
return "agent"
STEPS = [
{"name": "parse the expense receipt", "needs_judgement": True,
"writes": False, "reversible": True},
{"name": "look up the travel policy", "needs_judgement": False,
"writes": False, "reversible": True},
{"name": "flag a policy breach", "needs_judgement": True,
"writes": True, "reversible": True},
{"name": "reimburse the employee", "needs_judgement": True,
"writes": True, "reversible": False},
]
plan = {s["name"]: placement(s) for s in STEPS}
print(plan["look up the travel policy"]) # => code
print(plan["parse the expense receipt"]) # => agent
print(plan["flag a policy breach"]) # => agent acts within limits
print(plan["reimburse the employee"]) # => agent proposes, person approves
You would not write this code in the round. You would say it, step by step, and the result is the most important picture you will draw: most of the system is ordinary code, the model is used where judgement is needed, and money only moves with a person's approval until there is evidence to trust it alone. That is the authority line.
The first ten minutes decide what the rest of the round is about.
Scope and success
0 to 5 min
Place each step
5 to 10 min
Loop, tools, state
10 to 35 min
Failure and evaluation
35 to 60 min
What the interviewer is listening for
Questions that change the design
volume, authority, a success measure
Code where code will do
the model only where judgement is needed
Tool contracts and run state
not a framework's box diagram
Mechanisms with numbers
the next lesson
Then design around the placement
With the steps placed, the rest of the design has an order. The agent steps need a loop with named exits, tools with contracts and a context budget. The steps within limits need the limits written down and enforced in code. The approval step needs a wait that holds no process open and an approval bound to the exact payment. And the success measure from minute five becomes an evaluation: tasks from real reports, graders, runs with a denominator.
Say which parts are agentic and which are a workflow, and why. It is tempting to make every step an agent because the prompt said "agent". Saying "parsing is the only step that needs a model; the rest is a workflow with the model called at one point" is often the strongest sentence in the round.
Common ways the first ten minutes go wrong
Starting with a framework. "I would use framework X with a supervisor agent" answers a question nobody asked and commits you to a structure before you know the problem. Name frameworks at the end, if at all, as an implementation choice.
Asking everything. Twenty questions spend the time without changing the design. Ask the ones whose answers would change a box on your diagram.
Leaving authority implicit. If you never say what the agent may do alone, the interviewer will ask, and the answer will sound improvised. Say it first.
Make the opening decision audible
Practise with this invented prompt: design an agent that handles delayed shipments. Before drawing components, ask whether the agent only explains status or may rebook a carrier. That answer changes the system more than the choice of model.
For explanation-only work, name the evidence source, freshness requirement and unresolved outcome. For rebooking, add the customer scope, approval conditions, operation identity and reconciliation path. State an assumption if the interviewer leaves the detail open: “I will allow proposals, with dispatcher approval before a booking change.” Then proceed rather than asking an endless questionnaire.
| Clarification | Design consequence |
|---|---|
| May it change a booking? | Write-tool and approval boundary |
| How long can it wait? | Durable pending state or immediate unresolved result |
| What counts as success? | Receipt and constraint checks, not just a fluent answer |
Close the opening with one end-to-end example. A delayed shipment produces a rebooking proposal, approval binds to that proposal, and the carrier receipt establishes the new booking. Name the timeout case before adding optional workers. The listener can now challenge a concrete design instead of a collection of boxes.
What if · interview follow-ups
Change one condition
The practice prompt allows delayed-shipment handling but does not say whether the agent may rebook.
Start here
The interviewer says to make a reasonable assumption. Should you keep asking permission questions?
State a bounded assumption and its design consequence.
Choose an explicit autonomy level, explain the assumption and continue through one concrete request. Leave a clear place to revise the design if the interviewer changes the requirement.
Weak answerUsing clarification to avoid making any engineering decision.
Constraint changes
Now approvals may take two days. Which part of the opening design must change?
Waiting outlives a request and possibly a worker.
Persist the pending proposal, approval identity and expiry, release the worker and resume with current precondition checks. A synchronous request or sleeping process is no longer an adequate waiting model.
Weak answerAdding a longer timeout without changing the state model.
Do this before moving on
Take a design prompt in one sentence (a support agent, a research agent, an on-call assistant) and give yourself ten minutes with a timer. Write the four scoping questions you would ask, assume answers, list the steps and place each one with the three questions. Then read it back and check that a person could tell from your notes what the agent may never do alone.
Review your result. Record a ten-minute practice opening and mark each assumption with the component or check it changed. Remove questions that did not affect the design. This is a rehearsal format, not a claim about any company's interview schedule.
Go deeper
- The Agentic Design Method: the full method this lesson's first ten minutes begin, step by step.
- Workflows and Agents: the distinction you should be able to state and defend in one sentence.
- Autonomy Levels: the levels behind the placement, and the evidence that moves a step between them.
- The Harness and the Authority Line: why the line sits in code, and what that means for the design.
- Designing for Failure: what the second half of the round will push on.
Key takeaways
- Spend the first five minutes on scope and a success measure, asking only questions that change the design.
- Place every step: code without judgement, agent with it, limits or approval for writes.
- State the authority line before the interviewer asks for it.
- Name frameworks last, if at all; design the system first.
Check yourself
Answer aloud or on paper before revealing. Producing the explanation unaided is exactly what a panel listens for.
1The prompt is 'Design an agent for expense reports.' What should you do in the first minute?
2Why place 'look up the travel policy' in plain code rather than giving the agent a tool to do it as it sees fit?
3Which placement fits 'reimburse the employee' when the company has no evidence yet about the agent's accuracy?
Sign in to track which lessons you have finished.