Coder Agent
An AI agent specialized in writing, editing, testing, and debugging code by combining an LLM with file-system access, shell execution, and version-control tools in a persistent software development environment.
Coder agents are the most mature class of autonomous agents as of 2026. They operate on a repository, run tests, read error messages, edit files, and iterate until the test suite passes or a definition-of-done is satisfied. The underlying LLMs are typically trained or fine-tuned on code: DeepSeek V4 Pro, Claude Sonnet 4.6, and GPT-5 lead on coding benchmarks.
The scaffolding around the model is as important as the model itself. Coder agents need accurate file-tree navigation, diff-aware editing (to avoid rewriting entire files), sandboxed code execution, and a way to record and revert changes. Tools like Aider, OpenHands, and Claude Code implement these scaffolds with varying tradeoffs between safety and autonomy.
Key unsolved problems include handling very large codebases that exceed the context window, maintaining architectural coherence across many edits, and knowing when to ask a human rather than guessing at intent.
## Related Terms
- [[glossary/autonomous-agent|Autonomous Agent]] — an agent that completes tasks independently without step-by-step human approval - [[glossary/agent-scaffolding|Agent Scaffolding]] — the non-model infrastructure that surrounds the LLM to enable agent behaviour - [[glossary/tool-use|Tool use]] — the protocol Claude follows when invoking external tools from an agent loop - [[glossary/codex|Codex]] — OpenAI's code-generation model and the CLI agent built on it - [[courses/claude-agent-sdk-zero-to-production|Course: Claude Agent SDK — Zero to Production]] — hands-on practice with the concepts covered in this entry