Give an AI agent a goal and it will plan, write, run and revise code on its own, while the developer sets the target and reviews what comes back.
It works in a loop. Edit, run the tests, read what broke, fix it. A failing test or a broken build is what tells the agent its next move, and that’s exactly what autocomplete and chat assistants lack, since they stop after a single suggestion.
The split of work shows up in Anthropic’s 2026 analysis of about 400,000 Claude Code sessions. On average, people made 70% of the planning decisions but only 20% of the execution decisions. The developer decides what to build, and the agent decides how.
What Agentic Coding Means
In practice it means AI coding agents plan, write, run and revise code toward a goal, with a developer overseeing the work.
Cursor’s help documentation puts it as building software by directing agents instead of writing every line yourself.
Where the definitions disagree
Google Cloud describes agents that act with minimal human intervention. Real Python places the same loop under human oversight. Autonomy is the whole disagreement, because the mechanics match, and Claude Code’s documentation treats the developer as part of the loop, free to interrupt at any point.
I’m going with the oversight reading here. An agent that edits files and runs commands while nobody reads the diff is just vibe coding with better tooling.
What it is not
Autocomplete is out, because it only assists line by line. So is any chat reply you copy into your editor by hand.
Output that gets accepted with nobody reading the diff doesn’t count either.
Agentic coding sits inside the wider field of AI coding, but it is the part where the tool executes work instead of only suggesting it.
Stack Overflow’s annual survey found 31% of developers using AI agents in 2025, and its smaller April 2026 pulse survey put the figure at 59%. The two samples differ, so read the jump as direction, not a measured rate.
How Does the Agentic Coding Loop Work?

The agent gathers context from the repository, acts with a tool such as a file edit or a shell command, reads the result, and goes around again. It stops when the task passes or the developer steps in.
The steps of the loop
- You describe the goal and its constraints in a prompt.
- The agent searches the code and reads whatever files it needs for context.
- It edits files and runs terminal commands.
- Tests or other checks run, and the agent reads what failed.
- Back to editing, until the spec is met or you interrupt.
Real Python’s glossary boils the cycle down to generate, execute, evaluate and refine.
Verification is what separates an agent from a text generator. The agent runs unit tests and goes back to editing based on whatever failed.
Loop length depends on the task. A question about the codebase often needs only the context step, while a bug fix cycles through every phase several times.
What a coding agent is made of
The model is the large language model doing the reasoning. Around it sit the tools (file read and edit, code search, shell commands, external services) and the harness, which supplies those tools and manages what the model sees. The execution environment is wherever all of it runs, either your own machine or an isolated cloud container.
Claude Code’s documentation says the loop is powered by two components, models that reason and tools that act, and that the product is the layer around the model that provides the tools and manages its context.
Codex splits its controls into sandbox modes and approvals, and runs its cloud variant in isolated OpenAI-managed containers. Two products on the same model can therefore behave very differently.
Look at the harness first, and at what the permissions and sandbox allow. The model name matters less than it seems.
Agentic Coding vs Autocomplete, Chat Assistants, Vibe Coding and Agentic Engineering

What separates these approaches is who drives each step. Autocomplete only suggests, and a chat assistant only answers. Vibe coding accepts whatever comes back, agentic coding executes under review, and agentic engineering puts that same execution inside a production-grade process.
| Approach | Who drives | Autonomy | How output is checked |
|---|---|---|---|
| Autocomplete | Developer types | One suggestion at a time | Developer reads each suggestion |
| Chat assistant | Developer prompts and pastes | Answers only | Developer runs the code |
| Vibe coding | Developer, conversationally | Generates, human accepts | Running result, often unread diffs |
| Agentic coding | Agent, toward a goal | Multi-step, with tools | Tests plus diff review |
| Agentic engineering | Teams with defined agent roles | Multi-agent, constrained | Review, tests, observability |
From autocomplete to autonomous agents
Cursor’s help center reports that agent usage in its product grew more than 15x over the past year. That is vendor data from a single product, so it shows direction, not an industry rate.
The same page traces how things got here. Tab autocomplete came first and handled repetitive edits one suggestion at a time. Synchronous agents followed, directed through prompt-and-response loops, and now autonomous agents take on larger tasks over hours.
Chat-based AI pair programming sits between those first two stages. The model answers, and the developer still runs and checks every line.
Vibe coding vs agentic coding
Vibe coding and agentic coding can use the very same tools. What differs is how the developer treats the code.
Andrej Karpathy introduced the term in a post on February 2, 2025. He described not reading the diffs and pasting error messages back in without comment.
The vibe coding habit is about flow. Researchers Sapkota, Roumeliotis, and Karkee (Cornell University and the University of the Peloponnese) frame it as intuitive, conversational, human-in-the-loop work, and agentic coding as goal-driven planning, execution, testing, and iteration.
With vibe coding, the running result is the judge. If it looks right, it ships. Agentic coding leans on tests and a diff that somebody actually reviewed.
Sources frame the link differently. Google Cloud calls vibe coding the goal and agentic coding the engine behind it, while the Cornell review treats them as separate paradigms. I think both readings hold up, since the tool can be the same either way and the real variable is whether anyone reads the diff.
Agentic engineering
Production code needs more discipline than a vibe session or a lone agent run, and agentic engineering is what adds it.
IBM places it at the more technical end of the spectrum, with emphasis on system design, reliability, observability, and collaboration between agents and humans. Addy Osmani’s glossary keeps verification on the human side, so the developer still has to prove the change works.
IBM also notes that teams often start with vibe coding to prototype, then move toward agentic coding and agentic engineering as stakes and complexity rise. Read together with the Cornell and Google Cloud framings, that means one project can hold all of them at once: a throwaway prototype, a payment service held to full review, and an agent-built feature somewhere in between.
Which Type of Coding Agent Fits Which Job?

How closely do you want to watch? If you’re supervising live, an IDE agent works. Well-scoped tasks that can run without you suit a cloud or pull request agent, and terminal agents sit in the middle for multi-file work you steer.
Real Python sorts coding agents into IDE, terminal, PR and cloud workflows.
| Surface | Example tools | Best for | Where it breaks |
|---|---|---|---|
| IDE agent | Cursor | Small edits you review live | Needs you at the keyboard |
| Terminal agent | Claude Code, Gemini CLI, Codex CLI | Multi-file changes and test runs | You review every diff yourself |
| Cloud agent | Devin, Codex cloud | Parallel, well-scoped background tasks | Environment must be configured per repository |
| Pull request agent | GitHub Copilot cloud agent | Issues that become draft pull requests | Later issue comments go unseen, so feedback belongs on the pull request |
How to decide
If you can describe the task in one paragraph and test it automatically, hand it to a cloud or pull request agent.
A task that needs exploration first belongs with a terminal agent, and I’d start in plan mode. An edit you already know how to make? An IDE agent or plain autocomplete is faster.
OpenAI’s Codex launch post recommends assigning well-scoped tasks to multiple agents at once. Vague tasks are where unattended agents waste the most time.
What each surface does in practice
GitHub’s documentation says you assign an issue to Copilot, which creates a draft pull request and requests your review when it finishes. The agent behind it is GitHub Copilot‘s cloud agent (earlier called the coding agent), which works in a GitHub Actions-powered environment.
Claude Code runs the same loop in the terminal, IDE extensions, the desktop app and the web, and only the place where code executes changes. Codex follows the same pattern across a CLI, an IDE extension, a web client and GitHub.
Devin’s documentation describes an autonomous AI software engineer that writes, runs, and tests code, and its CLI can hand longer tasks to cloud Devin. Google Cloud presents Gemini CLI as the terminal tool for assigning work instead of asking for help.
As of November 2026, the surface labels blur because most of these products ship more than one. Pick by the job, not the brand.
Setting Up an Agentic Coding Workflow

Start by writing the task as a spec with a check the agent can run, and approve a plan before any edit happens. Delegate in small slices after that. Read the diff and the test output yourself, then merge through a pull request.
Writing the task and approving the plan
A prompt like “fix the login bug” gives the agent very little to work with. A better one names the symptom and the folder, and says what proof you expect.
Claude Code’s best-practices documentation gives the example of login failing after a session timeout, with an instruction to write a failing test that reproduces it before fixing it.
That example is test-driven development handed to an agent. The failing test becomes the pass or fail target the loop runs against.
Cursor’s plan mode lets you review the approach before the agent writes any code. I’d rather read a plan than untangle a wrong diff.
When the requirements are not settled, the same documentation suggests asking the agent to interview you and write the answers to a SPEC.md file. You then build from that file in a fresh session, which starts with clean context and a written definition of done.
Delegating in parallel
Parallel runs pay off only when the pieces are independent.
Give each session its own checkout (a Git worktree) so edits cannot collide, and keep every task small enough to review in one sitting. Subagents are for parallelism or for a fresh reviewer. They won’t make the answer any smarter.
The documentation is blunt about cost. Every subagent sends its own requests against the same usage as the main conversation, and a fresh one has to rebuild context your session already had.
Reviewing agent output before merge
The agent’s summary is not evidence.
Claude Code’s documentation says to ask for the command the agent ran and its output, because “all tests pass” on its own tells you very little. It also describes a review in a fresh subagent that never saw your conversation, so the reviewer is not swayed by the reasoning that produced the code.
Scope that reviewer. The same page warns that a reviewer told to find problems always finds something, and fixing every finding piles up abstractions and tests for cases that cannot happen.
Treat the agent’s change like any teammate’s and run it through your normal code review process before it merges. The human approving the merge is the last check the model cannot override.
Do AGENTS.md and CLAUDE.md Files Actually Help?

Partly. A February 2026 arXiv study by Gloaguen and colleagues found that context files do not generally improve task success and raise inference cost by over 20% on average. The authors still call them useful for specifying non-standard coding practices.
The result held across different models and coding agents, and for both LLM-generated and developer-committed files. The sharper finding is about repository overviews, which providers recommend and which the study found unhelpful.
What each file and mechanism holds
AGENTS.md is an open Markdown format for project-specific agent instructions, contributed by OpenAI to the Linux Foundation’s Agentic AI Foundation on December 9, 2025.
CLAUDE.md is Claude Code’s equivalent. It loads into every session, so each line takes some attention on every task.
Rules go a step further and are scoped to a path, which means they load only when the agent works in that part of the codebase. Skills are saved procedures, and their full text loads only when the task calls for it.
Where the advice conflicts
Providers lean toward generating the file. Run an init command, commit the result, and move on. The arXiv study notes that model providers recommend this kind of overview.
Claude Code’s current best-practices page goes the other way. Write it by hand, keep it short, and record only what the agent cannot find by reading the repository. Its examples include test commands and misleading code, plus any decision that was made outside the repo.
The two positions converge more than they look. The study found overviews unhelpful, and the documentation tells you to cut anything the agent can discover itself.
Even a well-written file has a limit, though. A context file is an instruction the model can skip, and the documentation separates such non-deterministic instructions from hooks and deny rules that the harness applies every time.
Connecting external tools through MCP
Anthropic introduced the Model Context Protocol in November 2024 as an open-source standard for connecting AI applications to external systems such as databases, search tools, and workflows.
Each connected server adds its tool names and instructions to the context even when you are not using it. Claude Code’s documentation advises turning off the servers a task does not need.
How Are Coding Agents Measured?

SWE-bench measures how well an agent resolves real repository issues, and Terminal-Bench measures end-to-end tasks in command-line environments. Both score the result with automated tests.
SWE-bench Verified is a curated set of 500 problems (OpenAI, 2026). State-of-the-art progress on it moved from 74.9% to 80.9% in six months, per OpenAI’s February 2026 analysis.
Terminal-Bench 2.0 has 89 tasks, and frontier models and agents scored under 65% when the paper was published (Merrill et al., arXiv, January 2026).
Why OpenAI dropped SWE-bench Verified
OpenAI stopped reporting SWE-bench Verified scores and recommends that other model developers do the same. It pointed to SWE-bench Pro instead, though OpenAI has since audited that benchmark too and estimates that about 30% of its tasks are broken.
The problems come from open-source repositories that many model providers use for training. OpenAI found that every frontier model it tested could reproduce the original human-written fix for some tasks.
Epoch AI’s September 2026 review also rates the benchmark Flawed. It cites test cases that reject correct solutions, with over 20% of tasks likely affected, and contamination, since the tasks and solutions are public and likely in training data.
A Terminal-Bench score names a pair
Terminal-Bench is a joint project between Stanford University and the Laude Institute. Each leaderboard row is an agent and model combination, such as Codex CLI or Claude Code paired with a backbone model.
The leaderboard reports 95% confidence intervals, so treat small gaps between neighboring entries as noise, not as a settled ranking.
What scores leave out
Benchmarks test fully autonomous agents on isolated tasks and score them with automated tests. Field studies use real tasks and human developers, and they pick up the review time that tests do not capture.
METR’s own write-up says the evidence from benchmarks, its randomized trial, and anecdotes is partially contradictory. It adds that benchmark properties can lead to overestimating AI capabilities.
When Agentic Coding Fails or Does Not Fit
Agents go wrong in a handful of documented ways. They build something other than what you meant, declare the work done without a check, take an action they should not, or cost more than the task was worth. Claude Code’s own best-practices page lists these same patterns.
| Failure | Cause | Guard that holds |
|---|---|---|
| Wrong build | Information that lives outside the repo | Specific prompt, spec file |
| False “done” | No way to run a check | Tests, Stop hook, fresh reviewer |
| Forbidden action | Rule exists only as a prompt | Deny rules, sandbox, branch protection |
| Cost overrun | Long sessions, extra subagents | Usage review, turn and budget caps |
Experienced developers on familiar code
METR gave 16 experienced open-source developers 246 real issues in their own repositories. With AI allowed, they took 19% longer.
They had forecast a 24% speedup, and even after the slowdown they believed AI had made them 20% faster.
The tools were early-2025 ones, primarily Cursor Pro with Claude 3.5 and 3.7 Sonnet. Sixteen participants is a small sample, so read this as a failure mode for mature, familiar repositories and not as a verdict on every agent.
An agent acting outside its brief
In July 2025, SaaStr founder Jason Lemkin reported that Replit’s AI coding tool deleted a database despite his instruction not to change code without permission. The agent’s own log listed 1,206 executives among the deleted records.
Replit’s CEO acknowledged the posts and pledged automatic separation of development and production databases.
The story gets retold a lot, and the lesson is less dramatic than the headlines. A prompt is only a request, and enforcement has to come from somewhere else. Codex’s default workspace-write sandbox keeps network access off unless you turn it on, and branch protection plus continuous integration checks stay outside the model’s control.
Google Cloud also suggests controlled red team exercises that test whether an agent can be tricked into writing insecure code or revealing sensitive data.
Cases where it does not fit
It’s a poor match when the real problem is requirements nobody has written down yet, or when you know the code better than any prompt could describe it.
Regulated systems with no capacity for line-by-line review are another bad fit, and so is any work where a mistake cannot be rolled back.
Agentic Coding FAQ
Will agentic coding replace software developers?
No, and the current data shows shared work. In Anthropic’s August 2025 survey of 132 of its own engineers, most said they can fully delegate only 0 to 20% of their work to Claude.
How many developers use coding agents at work?

JetBrains surveyed over 15,000 professional developers between May and July 2026. 90% used coding agents at work at least weekly, and 68% used them daily.
How much of their code do developers let agents write?
On average, developers in the same JetBrains survey reported that agents fully wrote about 47% of their code. Only around 22% generate more than 80% of it that way, so most people sit in the middle.
Who uses coding agents more, senior or junior developers?
Seniors. About a quarter of senior developers in the JetBrains 2026 survey generate over 80% of their code with agents, a larger share than among juniors, who lean toward AI-assisted workflows.
Adoption still varies widely within the senior group.
Which programming languages see the most agentic use?
Developers whose main languages are Go, JavaScript and TypeScript report the highest agentic adoption in JetBrains’ 2026 data. C and C++ developers are the least agentic, with 38% of their code written manually on average.
Does domain knowledge or coding skill matter more when directing a coding agent?
Domain knowledge, according to Anthropic’s 2026 analysis of Claude Code sessions. It found that domain expertise, and not coding proficiency, amplifies effective use.
Domain experts succeed more often and recover from errors and misunderstandings more easily.
Which Task Should You Hand to a Coding Agent First?

Start with a small bug in a well-tested part of an existing codebase. A failing test gives the agent a pass-or-fail target, and that’s most of what it needs.
After the bug, a refactor covered by existing tests is the next step up. Features go last, with their tests written first.
The order makes sense once you notice that a bug already comes with its check before the run starts. A feature doesn’t, and somebody has to write that check.
The cost is review time. You read a diff on a task you could have finished yourself, and in return you learn how the agent behaves in your repository.
This position reflects sources checked in November 2026. A field study on current tools that replaces METR’s early-2025 result would change the advice on familiar code.
- Is Notepad++ Safe? Official Download, Updates, CVEs - November 29, 2026
- How to Evaluate an AI Code Reviewer on Your Own Pull Requests - November 29, 2026
- Outsourcing Medical Device Software Securely - November 28, 2026



