AI

Agentic Coding and Persistent Returns to Expertise

You decide what. The agent decides how.

What ~400,000 Claude Code sessions show about who decides what. Reading notes by Luis Villalobos.

Download the full illustrated deep dive (PDF)

The bottleneck most rollouts do not budget for

Most AI coding rollouts spend on two things: seats and tool training. Anthropic’s analysis of how people actually direct its coding agent points somewhere else. In their data, success is decided by how well a person understands the problem they are trying to solve, not by whether they are trained in coding.

That matters for anyone deciding who gets these tools first, how to train them, and how to read a pilot. If the scarce input is judgment about the problem, then a rollout plan is partly a plan for sharpening the brief.

SOURCE: ANTHROPIC, “AGENTIC CODING AND PERSISTENT RETURNS TO EXPERTISE,” 16 JUNE 2026. ~400,000 INTERACTIVE SESSIONS FROM ~235,000 PEOPLE, OCTOBER 2025 TO APRIL 2026.

Two kinds of decisions in every task

The researchers asked a model to list every meaningful decision in a session and attribute each one to the person or to the agent. They separated two kinds:

Planning: the whatExecution: the how
CoversWhat to do, which approach, what counts as doneWhich files to change, what code to write, which commands to run
Made by peopleAbout 70%About 20%
Made by the agentAbout 30%About 80%

People made about 70% of planning decisions and only about 20% of execution decisions. The paper’s own summary: people decide what to build, and the agent decides how to build it.

A typical session runs about four back-and-forth turns. Each prompt sets off a chain of about ten agent actions on average, sometimes more than a hundred, and roughly 2,400 words of output per turn. One instruction buys a lot of work, which is why the quality of that instruction carries so much weight.

A clear brief does more per prompt

Session typeActions per promptWords of output
Novice-ratedAbout 5About 600
Expert-ratedAbout 12About 3,200
Person makes over 80% of execution callsAbout 8n/a
Agent makes over 80% of planning callsAbout 16n/a

Expert sessions set off action chains more than twice as long, carrying five times the output. The gap appears within every kind of work and every band of task value, and it holds in a regression that controls for work type, task value, month, occupation and model family: about 9% more actions and 13% more output per step up the expertise scale.

The micromanagement row matters. When the person keeps control of the how, the agent does less per turn. That is not a verdict on quality. The paper does not show that the 16-action sessions succeed more often. It shows that the amount of work per instruction tracks who is making the decisions.

Expertise means knowing the problem, not the syntax

The expertise rating is task-specific and comes from three observable signals: how precisely the person frames directions, what they ask the agent to verify, and whether the person tends to correct the agent or the agent tends to correct the person.

The paper’s examples make the point. A senior engineer asking a first question in an unfamiliar language rates as a beginner at that task. An accountant who has never used Python, but specifies the reconciliation rules a script must enforce and catches the edge case it mishandles at month-end close, rates as an expert.

All three signals are things a manager, analyst or product owner already practices: saying precisely what they want, knowing what to check, and noticing when the work drifts.

What a clear what looks like, role by role

The three signals translate directly into the brief. Each strong version below states what done looks like and what will be checked, which is what the expert-rated sessions had in common. The weak versions leave both to the agent.

Product manager

Weak brief: Build a CSV export for reports.

Strong brief: Export the filtered report view to CSV. Done: columns match the on-screen table, dates in ISO format, works up to 50k rows. Check: compare a 10-row sample against the UI.

Lawyer

Weak brief: Write something that reviews our contracts.

Strong brief: Flag every contract in this folder missing a limitation-of-liability or governing-law clause. Done: one line per file naming the missing clause. Check: run it on five contracts already reviewed by hand.

UI/UX designer

Weak brief: Make the checkout page look better.

Strong brief: Match the checkout to this Figma frame: 8px spacing grid, an error state on every field, works at 375px and 1440px. Check: screenshot both widths against the frame.

UX researcher

Weak brief: Summarize these interviews.

Strong brief: Tag the 40 interview notes against these five themes. Done: one row per quote with theme and participant ID. Check: spot-check ten rows against my own tagging.

Finance analyst

Weak brief: Automate the month-end reconciliation.

Strong brief: Match bank lines to ledger entries by amount and date within two days; anything else goes to an exceptions list. Check: rerun last month and compare against the signed-off close.

Engineer new to a codebase

Weak brief: Add rate limiting to the API.

Strong brief: Add per-key rate limiting in the gateway middleware, following the existing retry module. Done: 429 above 100 requests a minute, existing tests pass. Check: add one test that proves the limit.

Where these come from: my illustrations, built on the paper’s three signals. The lawyer and finance cases echo the paper’s own examples of a contract-clause script and a reconciliation script.

How often sessions succeed, novice to expert

The paper uses two success measures. Judged success is a model’s reading of whether the person got what they set out to do, including partial success. Verified success also requires hard evidence: matching commits or pull requests, passing tests, or explicit confirmation from the person.

ExpertiseVerified successAt least partial
Novice15%77%
Intermediate to expert28% to 33%91% to 92%

Most of the gain comes from moving novice to intermediate. Past intermediate, the curve flattens: a working grasp of the domain captures most of the benefit.

When a session hits troubleNoviceIntermediate to expert
Verified success4%Up to 15% (expert)
At least partial success60%80% to 81%
Abandoned (failed, no code written)19%5% to 7%

Struggling novices give up at roughly three times the rate of everyone else. One caution from the authors: experts hit trouble less often, so their troubled sessions tend to be harder problems, and the estimated value of a troubled session roughly doubles from the bottom of the expertise scale to the top.

A number to avoid repeating

Some coverage reports “91% for experts versus 15% for novices.” That pairs partial success with verified success. The like-for-like comparison is 15% versus 28% to 33% verified, or 77% versus 91% to 92% partial.

Non-engineers land close to engineers

Occupation was inferred from project context, file names and vocabulary, and the classifier was told not to treat coding itself as evidence of a coding job. It could infer an occupation in about 70% of sessions.

Software-related occupations reached verified success in about 30% of sessions, other professions about 26%. In sessions that produced code, the figures were 34% and 29%, and on the looser partial measure 89% and 88%. That gap neither widened nor narrowed over seven months. All ten largest occupations landed within seven points of software engineers, and management occupations were highest on verified success.

The authors flag the management result themselves: verification leans partly on explicit confirmation in the transcript, and managers may simply say when they got what they asked for.

The same split inside Microsoft’s Copilot rewrite

A second frontier company describes the same division of labor from production. Stephen Toub, a Microsoft Distinguished Engineer, led the port of the GitHub Copilot agent runtime to more than 800,000 lines of Rust, written mostly by agents.

His session logs held 31,247 user-role messages, but only about 2,600 were ones he typed or spoke himself, roughly one in twelve. Of his 2,639 human-authored messages, 31.0% went to review, testing and CI, 17.4% challenged technical or design decisions, and 15.0% pushed for completeness. He describes his role as moving upward: framing problems, defining boundaries, choosing strategies.

His first lesson is a what-problem. Early instructions like “port this component to Rust” were read as covering only the hot paths, with I/O and orchestration treated as out of scope. Once the end state was stated explicitly, a 100% Rust codebase, the agents drove to it far better.

Five calls for leaders rolling out coding agents

  1. Choose first users by problem knowledge, not by title. The strongest early users are people who can say precisely what done looks like.
  2. Train the brief, not only the tool. Before any task: what done looks like, and what will be checked to confirm it.
  3. Read pilots on verified success: merged work and passing tests, not “it mostly worked.” Partial success runs near 90% for competent users; verified runs near 30%.
  4. Watch for quiet abandonment. Novices stall and walk away. Pair them with someone who knows the domain during the first weeks.
  5. Audit your corrections. After a task, count fixes to the approach versus clarifications of the goal. Mostly approach fixes means the brief was the problem.

What the study cannot tell you

Every label, from decisions to expertise to success, comes from a model reading transcripts; the appendix reports agreement with telemetry and a reference model, but classifiers are hard to validate at this scale. The study covers interactive sessions only and excludes headless runs and third-party IDE and SDK usage. The authors cannot see whether code from a session was later used or discarded.

Two further cautions are mine. Asking the agent to verify is one of the expertise signals, and verification evidence also feeds the success measure, so part of the relationship is built into the measurement. And this is vendor research on the vendor’s own product.

What this simplification leaves out: whether better briefs produce better software, not just more verified sessions. Nobody has measured that yet.

Terms used in this deep dive

Claude Code: Anthropic’s coding agent. Unlike autocomplete, it reads files, edits code and runs commands on its own after each instruction.

Interactive session: A back-and-forth with a person present, as opposed to the agent running unattended inside a pipeline.

Decision: Identified by a model reading the transcript, not by the person. Treat the shares as estimates.

Action: One step the agent takes on its own: reading a file, editing code, running a command.

Regression with controls: A statistical check that compares like with like, so the expert effect is not just experts picking different tasks.

Classifier: A model prompted to label each transcript, here Claude Sonnet 4.6. No researcher read individual sessions.

Verified versus judged: Verified needs proof in the session, such as a commit or passing test. Judged is the model’s read of the transcript.

Hits trouble: Evidence of failure in the session: errors, failed tests, retries, or the person pushing back.

Occupation groups: The US government’s standard job categories (SOC), for example Legal, Management, or Computer and Mathematical.

Why the Microsoft evidence counts: Different company, different tool, one expert engineer rather than 400,000 sessions. It corroborates the pattern; it does not measure it.

Headless: The agent run by a script with no person in the loop, for example inside CI.

Primary sources

Hitzig, Massenkoff, Lyubich, Zhang, Heller, McCrory. Agentic coding and persistent returns to expertise. Anthropic, June 16, 2026.

Appendix: classifiers, validation, regressions.

Stephen Toub. Migrating the GitHub Copilot runtime to Rust, using Copilot. The GitHub Blog, September 16, 2026.

Download the full illustrated deep dive (PDF)


Discover more from Lawgorithm

Subscribe to get the latest posts sent to your email.