Agentic coding

Agentic coding is software development in which an AI model works through a programming task itself, reading the codebase, editing files, running commands and tests, and adjusting until the task is done or a person steps in.

An agentic coding tool wraps a language model in a loop and gives it tools. Anthropic's documentation for Claude Code describes three phases that repeat: gather context, take action, verify results. The tools are what turn a chatbot into something that acts: it can read and search files, edit code, run shell commands and tests, and look things up on the web. Each tool result feeds back into the next decision, so a single request can chain dozens of actions together.

Take the instruction fix the failing tests. An agent might run the test suite, read the error output, search for the source files involved, read them, make an edit and run the tests again to check. A person sets the goal and reviews the result; the agent decides which files to open and which commands to run along the way.

That is the difference from earlier AI coding help. Autocomplete predicts the next few lines in the file you are editing. A chat assistant explains or rewrites code you paste in, and you copy the answer back. An agentic tool works across the whole repository, traces how a change affects other files and checks its own work against tests, which is why Anthropic's October 2025 introduction to the subject describes it as a shift from autocomplete to autonomous execution.

Research and products arrived close together. In May 2024 John Yang and colleagues published SWE-agent, showing that the interface a model uses to navigate a repository, edit code and run tests makes a large difference; their system solved 12.5% of the SWE-bench set of real GitHub issues on the first attempt, a state-of-the-art figure at the time. On May 16, 2025 OpenAI launched Codex as a cloud agent that runs each task in its own sandbox preloaded with the user's repository, typically taking between one and 30 minutes and citing terminal logs and test output as evidence of what it did.

The productivity claims deserve scrutiny. In a randomised study published in July 2025, METR gave 16 experienced open-source developers 246 tasks in projects they knew well, with early-2025 AI tools allowed on some tasks and not others. With AI allowed, tasks took 19% longer, yet afterwards the developers estimated that AI had sped them up by 20%. Agents also run real commands, so the safeguards matter: Claude Code asks permission or uses a classifier before risky actions and keeps checkpoints of edited files, but actions on databases, APIs or deployments cannot be rolled back that way, and OpenAI tells users to review and validate all agent-written code before using it.

Common questions

What is the difference between agentic coding and an AI coding assistant?

A coding assistant suggests code or answers questions, and the developer applies the changes. In agentic coding the AI applies the changes itself: it reads the codebase, edits files, runs commands and tests, and keeps going until the task is finished or it is stopped. The developer's role shifts towards setting goals and reviewing the result.

Which tools do agentic coding?

Well-known examples include Anthropic's Claude Code, which works in a terminal, desktop app, IDEs and the cloud, and OpenAI's Codex, launched in May 2025 as a cloud agent that runs tasks in parallel sandboxes. Many AI code editors now include similar agent modes.

Does agentic coding make developers faster?

It depends on the task and the developer, and the evidence is mixed. A July 2025 randomised study by METR found that experienced open-source developers working on their own mature projects took 19% longer with early-2025 AI tools, even though they believed the tools had made them faster. Vendor case studies report large gains, but they are self-reported and chosen by the vendor.

Is it safe to let an AI agent run commands on my computer?

Only with limits in place. Tools such as Claude Code offer permission modes that require approval for edits and commands, and checkpoints that undo file changes, while cloud agents such as Codex run in isolated sandboxes. Changes to remote systems such as databases or live deployments cannot be undone by those checkpoints, so keep agents away from production credentials and review what they produce.

Finding more

Search for "agentic coding", "coding agent" or the name of a specific tool together with "documentation" to see how agents are given tools and permissions. The most reliable sources are the tool makers' own documentation for what a product does, peer-reviewed or preprint research such as the SWE-agent paper and benchmark papers for what agents can do, and independent studies such as METR's for productivity effects. Treat speed-up figures from vendor case studies with care, since they are chosen and measured by the seller.

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.