All jobs / AI engineer / AI Coding & Agentic Development
AI engineer interview question · 0–1 years
What is the difference between an AI coding assistant and a coding agent, and why does it matter for how you work?
The strongest answer
An assistant suggests code that I apply; an agent works in a loop — reads the repo, edits files, runs commands, reacts to results — so it needs a clear task, limited permissions and review
Why it works
Right — the loop and the ability to act are the difference, and acting is why scope, permissions and review matter more.
What a good answer covers
- Assistant suggests; agent acts in a loop.
- Give an agent a clear, bounded task.
- Limit what it can touch and run.
- Review what it did, not what it says.
Answers that fall short
- Close, but not the strongest: An agent is an assistant that can write much more code in one go, so you hand it the bigger tasks
Size is a side effect. The real difference is that an agent takes actions and reads the results, which changes what can go wrong. - Weak: They are the same thing; “agent” is just the newer marketing name for autocomplete in the editor
Autocomplete proposes text; an agent runs commands and edits files. Those carry different risks and need different habits. - Red flag: An agent works on its own, so I give it full access to my machine and check back when it is done
Autonomy is the reason to narrow access, not widen it; unattended full access is how a repository or a credential gets damaged.
Who gets asked this
More AI Coding & Agentic Development questions
- Your coding assistant’s solution imports a library you have never heard of. What do you do before you install…
- You are handing a feature to a coding agent. What goes into the task you write for it?
- You asked an assistant to write unit tests for an existing module. It produced forty tests, all green, and…
- A teammate’s coding agent opens one pull request: 2,400 changed lines across 45 files, mixing a rename, a…
- Your team’s coding agent keeps producing working code that ignores the codebase: a second HTTP client, a new…
- A production incident is traced to agent-written code. The author says the agent wrote it; the reviewer says…
- You want to use coding agents to move about 300 modules off a deprecated internal API. How do you run that so…