Skip to content

Lesson 1 of 8 · 3 min read

The Agentic Design Method

Free lessonReviewed By the AIAgentInterviews editorial team
Reading position
In this lesson

TL;DR: Work through nine steps and leave an artefact at each. Outcome and risk: what success is and what a mistake costs. Autonomy: which steps the model decides, which code decides, which a person decides. Tools: decision-shaped, with idempotent writes. Authority: identity, policy, approvals. Context and memory: what each turn sees and what persists. Durability: crashes, waits, retries. Evaluation: offline set, metrics, production monitoring. Numbers: volume, latency, cost. Rollout: shadow, canary, controls. Spend the most time where the problem is hardest, and say why.

After this lesson, you should be able to run a structured agent design discussion, produce the artefact for each step, estimate volume, latency and cost on the spot, and choose where to spend depth.

Before you read

Commit to an answer now. The lesson that follows explains it, and having guessed first, even wrongly, makes the explanation easier to remember.

  1. 1In a design interview for 'an agent that handles customer refunds', a candidate spends twenty minutes choosing between two agent frameworks. What did they skip that interviewers care about more?

The steps

ONE ARTEFACT PER STEP
A method for agent system design

Clarify the risk first; design the controls around it; prove it with numbers and evaluation.

Outcome and risk

success, cost of a mistake

Autonomy map

model, code or person per step

Tools and authority

contracts, identity, policy

Context and durability

what is seen, what survives

Evals, numbers, rollout

measured before and after launch

Artefacts to leave on the whiteboard

Risk table

actions with cost of error and reversibility

Step table

each step marked model, code or person

Field-source table

where each tool argument comes from

Back-of-envelope

volume, latency, cost per task

  1. Outcome and risk. What does success look like, measured how? Which actions can go wrong, at what cost, and can they be undone?
  2. Autonomy map. For each step: does the path depend on unpredictable input (model), follow a rule (code), or carry accountability (person)? Many good designs are workflows with a few agentic steps.
  3. Tools. Decision-shaped tools, trimmed results, idempotent writes, clear errors.
  4. Authority. Identity from the session, delegated scopes, policy outside the model, approvals bound to actions.
  5. Context and memory. What each turn sees, what is fetched on demand, what persists across sessions and under which policy.
  6. Durability. Crashes, retries, long waits for people, budgets.
  7. Evaluation. An offline set from real cases, outcome and trajectory grading, pass^k for user-facing work, production monitoring and alerts.
  8. Numbers. Volume, concurrency, latency per turn and per task, cost per task.
  9. Rollout. Shadow mode, canary with caps, kill switch, staged autonomy.

Numbers on the spot

def envelope(tasks_per_day, turns, in_tokens_per_turn, out_tokens_per_turn,
             seconds_per_turn, in_price=3.0, out_price=15.0, cached_share=0.7):
    cost_in = tasks_per_day * turns * in_tokens_per_turn * (
        (1 - cached_share) * in_price + cached_share * in_price / 10) / 1e6
    cost_out = tasks_per_day * turns * out_tokens_per_turn * out_price / 1e6
    task_seconds = turns * seconds_per_turn
    concurrent = tasks_per_day / 86_400 * task_seconds        # Little's law, average
    return {"cost_per_day": round(cost_in + cost_out),
            "task_minutes": task_seconds / 60, "avg_concurrent": round(concurrent)}

e = envelope(50_000, turns=12, in_tokens_per_turn=20_000, out_tokens_per_turn=400,
             seconds_per_turn=6)
print(e["cost_per_day"], e["task_minutes"], e["avg_concurrent"])  # => 16920 1.2 42

Fifty thousand support conversations a day, twelve turns each, about 20,000 input tokens per turn with 70% cached: roughly $17,000 a day at these illustrative prices, about 42 conversations in flight on average (plan for peaks several times higher). Numbers like these decide caching, routing and capacity choices in the design.

Where to spend depth

Spend time where the risk is: for a refund agent, authority and idempotency; for a research agent, evidence and verification; for a coding agent, sandboxing and verification loops; for a voice agent, latency. Say explicitly which part you are going deep on and why.

Say it in 30 seconds

"I work through outcome and risk, an autonomy map per step, decision-shaped tools, the authority line with identity, policy and approvals, context and memory, durability, evaluation, numbers and rollout, leaving an artefact at each: a risk table, a step table, a field-source table and a back-of-envelope for volume, latency and cost. Then I go deep where the risk is, and say why."

Check yourself

Answer aloud or on paper before revealing. Producing the explanation unaided is exactly what a panel listens for.

  1. 1Why start a design with the cost of a mistake rather than with the architecture?

  2. 2What does an autonomy map show?

  3. 3Why estimate concurrency in a design discussion?

Practise it as an interviewer asks it

Course lessons that teach this

Related lessons