Skip to content
Interview prep for agent engineers

Prepare for AI agent interviews.
Learn how real runs fail.

Agent rounds reward engineers who can say why a run went wrong and what the harness should have done. Worked answers graded the way panels grade them, concepts whose code runs, courses that build real agents, and practice for every part of the stack: the loop and the harness, tools, context, memory, orchestration, evals, durable execution, runtimes, frameworks, protocols, payments and the design round.

143 free reads. No account needed to begin.

  1. 01user“I was charged twice for order 4471.”
model sametimeout samerefunds issued 0

The processor applied the first refund before the timeout. Nothing in this harness can tell a lost response from a failed refund.

Everything on the site

Nineteen topics, from the loop to the design round.

Each topic pairs concepts that teach the mechanism with worked interview questions that apply it, and a practice round. Open any topic to see all of it.

01

The loop and what it reads

What a model call returns and how the harness talks to it, the loop and the harness around it, tool contracts, the context window and memory.

02

Control and measurement

Planning patterns, evals across runs, optimisation and tuning, systems of several agents, and the frameworks that package them.

03

Running agents in production

Durable execution, runtimes and sandboxes, protocols, payments and agents that write code.

04

Authority and the interview rounds

Guardrails and policy, the design round and the live build round.

Courses

Build the agent, not just the answer.

Each course follows one agent from first loop to release review, with code that runs and a project at the end. The first lessons of every course are free.

From One Model Call to a Working AgentBuild a public library's catalogue assistant from a single model call to a tested, streaming agent loop in eight lessons: read a response properly, keep the message list valid, give the model a tool, close the loop with named exits and budgets, handle bad calls and bad results, stream the run, test it against a scripted model, and ship it with a release check.8 lessons · 2 freeBuild an Agent Harness From the Loop UpBuild Fernhill's support agent through ten lessons: a bounded loop, tool and message contracts, model selection, checked answers, evidence retrieval, context budgets, idempotent refunds, traces and an offline release project.10 lessons · 2 freeEvaluate an Agent Before You Trust ItBuild Bramble's evaluation through ten lessons: task and trajectory graders, repeated-trial reliability, regression gates, reviewer calibration, interactive user fixtures, training-data checks, component comparisons and a versioned release suite.10 lessons · 2 freeRun an Agent in Production Without Losing SleepTake Kestrel's dispatch agent through ten lessons: durable runs, action-bound approvals, isolated computation, delegated identity, streaming and cancellation, admission limits, checkpoint migrations, staged rollout, spend controls and a readiness review.10 lessons · 2 freeCoordinate Agents Across Tools, Services and InterfacesBuild a fictional repair coordinator with checked plans, scoped workers, protocol adapters, correctable memory and reusable skills. Add code, browser or voice interaction, compare framework behavior, and prove the boundaries with an offline failure suite.12 lessons · 2 freePass the Agent Engineering Interview LoopPrepare for the rounds an agent engineering loop is built from: an agentic system design you can defend when the interviewer breaks it, a live build against a scripted model, a debugging round from a trace, and the story of an agent you shipped. Ends with a full mock loop scored against a written rubric.6 lessons · 2 freeRun an Autonomous Agent That Works Without YouBuild a fictional accounts-payable agent that wakes on invoice events, reconciles them with well-designed tools, acts alone only where evidence allows, waits for approvals without holding a worker, pays within signed limits, and stays observable, stoppable and cheaper each month.9 lessons · 2 free
What a strong answer sounds like

Knowing the term is the start, not the answer.

Anyone can define an agent loop. Interviewers want to hear where a run can fail, which side of the authority line catches it, and what happens when they change one constraint.

  1. 01
    Find where it fails

    The tool contract, the context, the plan, the runtime or the input.

  2. 02
    Draw the authority line

    Say what the model may decide and what the harness enforces.

  3. 03
    Survive the follow-up

    Now the run lasts three days. Now the API has no idempotency key.

Open the worked question, free →
easyAgent Loops & the Harness

Write the agent loop on the whiteboard, then list every way a run can end.

The answer in two sentences

Write the four moves (assemble the context, call the model, dispatch the tool calls, append the results) inside a bounded loop, then name the exits: the model's final answer, budgets for steps, tokens, money and time, a guard refusing an action, an unrecoverable tool failure, and a person taking over. Every exit returns its reason, and only the first is the model's call.

Weak
Writes an unbounded loop with a single exit on "no tool calls", or caps iterations but returns the model's last message as the answer when the cap fires.
Hire
Writes the loop cleanly, lists harness-owned budgets (steps, tokens or cost, time) and a guard on actions, and returns an exit reason.
Strong hire
Treats the model's final answer as a claim to verify, adds per-tool limits, approvals and cancellation as exits with their own state, reserves budget for a partial summary, and sets limits from the distribution of successful runs.
Where are you coming from?

A route that starts from what you already know.

Pick your background. Each route is a short sequence of concepts, with the access each one needs shown before you open it.

Your first three lessons

Your route into agent engineering

You already know how to make code reliable. Learn where the model sits in the loop, then apply the reliability you know to everything around it.

  1. 01The Agent LoopThe whole agent in forty lines, and what each turn costs.Free
  2. 02Workflows and AgentsThe design question every loop starts with.Free
  3. 03Tool ContractsYour APIs, rewritten for a reader that is a model.Free
Access

Read the free material first. Go deeper when the loop is close.

The foundations and the first worked answers in every topic are free. Premium opens the rest of the bank, every concept and course, and the full practice rounds, for six months.

Free

  • 5 worked answers per topic, 6 with a free account
  • The foundation concepts in every topic, and the first lessons of every course
  • The glossary, interview guide and articles
  • The readiness check and bookmarks

Premium · $25

  • Every worked answer in all 19 topics
  • Every concept, course and project
  • Every practice item at every difficulty
  • Everything published while your access runs

6 months · One payment · No auto-renewal

See Premium
Company pages

Know what the loop you are walking into looks like.

Each company page says what its agent work involves and what is publicly known about its interviews, with every detail labelled verified, reported or limited public data.

Questions people ask

Before you start.

What does an AI agent engineering interview test?

Beyond ordinary coding and system design, agent rounds test whether you can build and reason about a loop in which a model chooses actions: writing the harness, designing tools a model can use correctly, managing the context window, keeping state across crashes and long waits, measuring reliability across repeated runs, and deciding what the model may do on its own. Many loops now add a live build round, sometimes with AI tools allowed and sometimes without.

Do I need to know a specific framework?

No single one. Interviewers ask why you chose a framework and how it behaves when a run pauses, crashes or hands off. The site teaches the mechanisms every framework implements with framework-free code, then has a topic on the frameworks themselves (LangGraph, Google ADK, Microsoft Agent Framework, CrewAI and the OpenAI and Claude agent SDKs), each dated and read through the same six questions.

I am a backend engineer who has never built an agent. Where do I start?

With the agent loop lesson, then workflows versus agents and stop conditions. They are free and assume only that you have called an API. The backend study path continues through tool contracts, the context window and durable execution, where your existing reliability instincts transfer directly.

What can I read for free, and what is Premium for?

Anyone can read the first 5 worked answers in every topic (6 with a free account), along with the foundation concepts, the glossary and the interview guide. Premium opens all worked answers, concepts, courses and practice items for six months, bought once and never renewed automatically.

Are these the actual questions companies ask?

They are the kinds of questions agent engineering loops ask, drawn from public interview guidance, published engineering practice and the failure modes teams report. No question is attributed to a particular employer, and company pages label every interview detail as verified by the company, reported by candidates, or limited public data.

Start here

Write the loop once, by hand.

Forty lines, no framework. Every agent you meet afterwards is that loop with opinions added.

Read the agent loop