Coding agent
A coding agent is an AI system that writes, runs and fixes software with some independence, reading a codebase, editing files and running commands or tests in a loop until a task is done.
An autocomplete tool suggests the next few lines while a programmer types. A coding agent is handed a whole task, such as fixing a reported bug, and works through it: it searches the repository, reads the relevant files, makes edits, runs the tests, reads the errors and tries again. Underneath, a language model is choosing one tool call after another, with the results of each fed back into its context. Anthropic describes its Claude Code product as a tool that reads your codebase, edits files and runs commands.
The research groundwork came quickly. In May 2024 a team including John Yang and Ofir Press published SWE-agent, arguing that language models need an interface built for them, much as human engineers benefit from a good editor. With an interface for editing files, navigating repositories and running tests, it resolved 12.5% of the real GitHub issues in the SWE-bench benchmark. SWE-bench and its variants have since become the standard yardstick for these systems.
Commercial products followed in 2025. On 16 May OpenAI released Codex as a research preview: each task runs in its own cloud sandbox loaded with the user's repository, several tasks can run in parallel, and each typically takes 1 to 30 minutes before Codex proposes a pull request. On 19 May GitHub announced the Copilot coding agent, which a developer can assign an issue to; it works in an environment powered by GitHub Actions and pushes its changes to a draft pull request for review.
Because a coding agent runs real commands, the guard rails matter as much as the model. GitHub's agent can only push to branches it creates, its internet access is limited to a list the user controls, and automated workflows on its pull requests do not run until a human approves them. Text the agent reads, in an issue, a dependency or a web page, can also try to steer it, so sandboxing and human review of the final change are standard practice.
Claims about productivity deserve care. In a July 2025 randomised trial by METR, 16 experienced open-source developers took 19% longer on tasks where AI tools were allowed, while believing the tools had sped them up by 20%. In February 2026 METR said developers were probably more sped up by then, but that its newer data gave an unreliable measure. GitHub says its agent does best on low to medium complexity tasks in well-tested codebases, which is a fair summary of where these tools earn their keep.
It is an AI system that takes a programming task and carries it out with some independence: reading code, editing files, running commands and tests, and repeating until the task is done or it gets stuck. Examples include Claude Code, OpenAI's Codex and GitHub's Copilot coding agent. The output is usually a set of changes or a pull request for a person to review. A coding assistant mostly suggests code or answers questions while the developer stays in control of every step. A coding agent is given a goal and decides its own sequence of actions, including running code and tests. Many products now offer both modes, so the distinction is about how much is delegated. It depends on the task and the codebase. A July 2025 METR trial found experienced developers on their own large projects were 19% slower with AI tools, despite believing they were faster, and METR said in February 2026 that the effect had probably improved since. Well-defined tasks in well-tested code tend to benefit most. It can be, with limits. Run the agent in a sandbox or container, restrict its network access and credentials, keep it on its own branch, and review every change before merging. The main risks are mistaken edits, leaked secrets and instructions hidden in files or web pages that the agent reads.Common questions
What is a coding agent?
What is the difference between a coding agent and a coding assistant?
Do coding agents make developers faster?
Is it safe to let a coding agent run on my code?
Search for "SWE-bench", "coding agent sandbox" or the name of a specific product to follow progress and practice. Trust peer-reviewed or preprint papers with published methods, vendor documentation for what a tool can actually access, and independent studies such as randomised trials for productivity claims. Treat benchmark scores in launch posts as a starting point, since they are chosen by the company releasing the product.Finding more
Working out what this means for your business?
Aileron Shift builds the systems behind this site: AI newsrooms that research, write and publish on their own, marketing automation and WordPress hosting for companies that need to move faster than their competitors.