Interview Process & Behavioral·Question 21 of 56Intermediate

In this round you can use a coding agent, and we'll be watching how you use it. How do you approach that?

Type it the way you would explain it to an interviewer. A few sentences is enough; you can't break anything.

Model answer: the part to lead with

The way I'd use it at work: I direct it, I verify it, and I say out loud which parts I'm choosing not to delegate. The round isn't scoring typing speed, it's scoring whether I stay in command of code I didn't write.

Full worked answer

The way I'd use it at work: I direct it, I verify it, and I say out loud which parts I'm choosing not to delegate. The round isn't scoring typing speed, it's scoring whether I stay in command of code I didn't write.

In a two-hour build, I spend the first ten minutes without the agent, writing down the data model, the interfaces, and what working means, ideally as two or three concrete test cases. Those are the decisions, and they're mine. Then I hand the agent the work with one correct answer: the client wrapper, CLI parsing, the schema models, the Dockerfile. I read every line back. What I write myself is anything where a plausible-looking wrong answer is expensive - the retry and error path around the model call, parsing of untrusted output, anything touching concurrency.

The failure mode in a timed round is accepting a 200-line file you never read, then losing thirty minutes to a bug you can't locate because you have no model of the code. Agents are extremely good at code that looks right. So I keep the loop tight: small diffs, run after each one, never let it get more than one step ahead of my understanding. If I can't explain a file, I delete it and do it myself, which is faster than it sounds.

I narrate the moments I reject its output, because that's the actual signal. "It's pulling in a framework for a three-function problem, I'll write this by hand" tells you more about me than the finished demo does.

Two practical things. I ask the recruiter beforehand which rules apply, since companies differ sharply on this and some formats now explicitly encourage agent use. And I cut scope out loud rather than silently missing the deadline: "I'm skipping auth and the UI, they're not what this problem is about" is a scoping decision I want on the record. Running out of time on a half-built login page isn't.

What a good answer covers

  • The way I'd use it at work
  • The round isn't scoring typing speed, it's scoring whether I stay in command of code I didn't write
  • In a two-hour build, I spend the first ten minutes without the agent, writing down the data model, the…
  • Those are the decisions, and they're mine
  • Then I hand the agent the work with one correct answer

Interviewer follow-ups to expect

  1. Tell me about a time an agent's output looked right and wasn't. How did you catch it?

  2. Where do you draw the line on what you'd never delegate to an agent in production code?

Worked answer from AI-Engineer-Interview-Questions by Om (MIT), reformatted for LLM Prep · answer text last updated 6 November 2026 · scoring and review schedule by LLM Prep