Courses / Agentic AI / Module 17
Module 17: Interview prep: agent system-design rounds
6 h · theory 2 · hands-on 2 · project 1 · revision 1
You will be able to
- Answer agent concept and debugging questions
- Do an agent system-design round in 45 minutes
- Present the capstone in a deep-dive
Capstone increment: Interview kit: one-page brief, architecture diagram and metrics.
Job-description skills: Interview prep · Lab tools: none
1. What agent interviews test
Expect concept questions (the agent loop, tool design, memory, MCP, evals), debugging scenarios (“the agent looped and spent ₹2,000” or “it changed prod without approval”), a system-design round on an unseen brief, and a deep-dive on your project. The strongest signal is judgement: when not to use an agent, where to put humans, and how you’d measure it.
The design round has a shape. Practise it until the order is automatic.
2. Concepts to explain cold
Two minutes each, with an example: the agent loop and stop conditions; workflow versus agent; tool schemas and recoverable errors; idempotency; graphs, checkpoints and interrupts; compaction and memory; plan-and-execute and reflection; MCP primitives and transports; supervisor patterns and handoffs; approval by blast radius; prompt injection and least privilege; pass@k versus pass^k; tracing, budgets and loop detection; durable execution.
Attach a number from your capstone to each: “the repeat detector cut wasted steps from 13 to 4 on looping scenarios” ends follow-up questions.
3. Debugging rounds
Use one method every time: get the trace, find the first step that went wrong, classify it (tool error not recovered, missing information, bad plan, wrong tool, model mistake, guardrail gap), fix it at the right layer, and add a scenario so it can’t regress.
Rehearse common cases: a tool error message that didn’t say how to fix the call; compaction dropping a finding; a supervisor handoff missing constraints; an injected instruction in a ticket; a non-idempotent tool duplicating after a retry; a step limit set so high a loop ran for an hour.
4. The design round, worked through
Brief: an agent that handles refunds for an e-commerce company. Clarify (5 minutes): volumes, refund limits, policy sources, fraud signals, who reviews. Estimate (5): runs per day, steps, cost, approvals per day and reviewer hours. Autonomy (5): workflow for clear cases, agent for unclear ones. Tools and state (10): read tools, an idempotent refund tool, policy retrieval, memory per customer. Safety (10): limits, approvals, fraud checks, injection in customer messages. Evals and cost (10): agreement with past human decisions, pass^k, budget.
End with the first metric you’d watch after launch and what would make you widen or narrow the agent’s autonomy.
5. The project deep-dive
Prepare a one-page brief: the problem, your architecture diagram, three decisions with evidence, the metrics table, one failure you found and fixed, and what you’d change for more autonomy. Expect “why not X?” for every choice; your ADRs are the answers.
Practise out loud, timed, at least three times with someone who interrupts. Have the demo and a real trace ready to share.
Hands-on: coding window
The coding window and the full VS Code lab are available after you sign in.
Sign in to codeLabs
Lab 17.1: Concept round
Record yourself answering 15 concept questions from this course, two minutes each, with a capstone number per answer. Re-record the three weakest.
Expected: 15 recordings and a list of improved answers.
Lab 17.2: Mock design round
Do the refund-agent brief in 45 minutes with a peer or the course’s AI professor as interviewer, following the six-stage shape.
Expected: Your diagram, estimates and the interviewer’s notes.
Lab 17.3: Interview kit (capstone increment)
Write the one-page brief, export the architecture diagram, and gather the metrics table, a trace screenshot and the demo link.
Expected: Interview kit: one-page brief, architecture diagram and metrics.
Go deeper
Videos
- AI System Design Mock Interview: Design Claude Code · Aced (formerly Exponent) · ~64 min. A full mock AI system-design interview: designing a coding agent.
- Agentic AI System Design Explained in 27 Minutes · Aishwarya Srinivasan · ~27 min. Agentic AI system design explained in under half an hour.
- 20 Agentic AI System Design Interview Questions & Solutions · Keerti Purswani · ~30 min. Twenty agentic system-design questions with worked answers.
Further reading
- Book Machine Learning Interviews Book · Chip Huyen. How ML interview loops are run, what each round tests and how to prepare.
- Course The System Design Primer · Donne Martin. The general system-design basics (caching, queues, sharding, back-of-envelope numbers) that every design round assumes.
- Article Agents · Chip Huyen. Tools, planning, reflection and failure modes of agents, with an engineer's view of the trade-offs.
GitHub repositories
- alirezadir/AIMLInterviews: The GenAI and agent system-design sections; practise two briefs with the shape above.
- donnemartin/system-design-primer: Queues, caching and scaling fundamentals that agent designs build on.
- humanlayer/12-factor-agents: A checklist of principles to mention, with reasons, in design rounds.
Checkpoint quiz
Interview questions
- Design a refund agent for an e-commerce company in 45 minutes.
- An agent changed production config without approval. Debug it.
- When would you refuse to build an agent and propose a workflow instead?
- Explain MCP and A2A, and when you’d use each.
- Walk me through the hardest decision in your capstone and the evidence behind it.
Ask the professor
Sign in to ask questions about this module.
Discussion
Community discussion appears here once giscus is configured (see README).