Same topic, related formats. Practice these next.
Same topic, related formats. Practice these next.
Describe what a coding agent does that a code-completion model (e.g. GitHub Copilot's inline suggestion) cannot. Which phases of the software development loop does a coding agent own autonomously?
A completion model predicts the next tokens in a static file. A coding agent reads files, edits, runs tests, reads the output, and repairs until the suite passes.
Imagine two helpers writing a letter for you. The first is a great autocomplete: you start a sentence and it guesses the rest, but it never reads the finished letter or checks if it makes sense. The second helper actually reads your whole desk of papers, writes the letter, mails a draft, waits for a reply, and rewrites it based on what comes back. A code-completion model is the first helper. It fills in the next few lines wherever your cursor sits. A coding agent is the second one. It opens the project files, makes a change, runs the tests, reads the errors that come back, and fixes them, looping until the tests pass. The loop and the feedback are the difference. One guesses once; the other tries, checks, and tries again.
Everything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example. Click to expand.
Everything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example.
Everything important, quickly.
Open with the architectural contrast: a single forward pass over static context versus an LLM in a loop with tools. Name the read, edit, run tests, repair cycle, stress execution feedback as the defining capability, then cover repo navigation, diff-grounded edits, and sandboxed execution, and close on what a SWE-bench harness actually scores.
Real products, models, and research that use this idea.
What an interviewer would ask next. Try answering before peeking at the approach.
Red flags and common mistakes that signal junior thinking. Click to expand.
Calling Copilot inline suggestions an agent. Completion is a single forward pass over a static buffer. It never runs the code or reacts to test output, so there is no repair loop.
The night-before-the-interview bullets. Scan these on the way to the call.
Primary sources. Skim if you want the original framing.