Agents
Coding agents
Agents that read a repository, edit files, run commands and use tests as their feedback signal.
What it is and why it exists
A coding agent explores code with search and read tools, edits with patches, runs builds and tests in a sandbox, and iterates on failures. Their success comes from verifiable feedback (tests, type-checkers, linters) and good repo context (instructions files, focused search).
Quick prototype
An LLM with read_file, write_file and run_command tools.
In production, at scale
Sandboxed execution with no production credentials, permission prompts or allow-lists for commands, diff review before merge, repo instructions (AGENTS.md / CLAUDE.md), and evals on real tasks (SWE-bench-style).
Vendors and tools
| Claude Code | Terminal and IDE coding agent |
|---|---|
| OpenAI Codex | Cloud and local coding agent |
| Cursor / GitHub Copilot agent mode / Devin | IDE and autonomous coding agents |
| SWE-bench | Benchmark on real GitHub issues |
On AWS: Amazon Q Developer agent capabilities; Kiro; AgentCore Code Interpreter for sandboxed execution.
How it fails
- Making tests pass by editing the tests
- Running destructive shell commands
- Secrets from the environment pasted into context
What the interviewer asks next
How do you evaluate a coding agent?
On real tasks with hidden tests: does the patch apply, do the target tests pass, do existing tests still pass, and how much did it cost per resolved task.