Claude Code is Anthropic’s terminal-based AI coding agent, and Anthropic has said it now produces the large majority of the company’s internal code, with figures cited in the 70–90% range across teams. For engineering leaders, the number itself matters less than what changed in architecture, testing and review to make it work. The useful questions are where the gains are real, what breaks first, and how to sequence adoption without losing control of the codebase.
What Claude Code is and what the 70-90% figure measures
Claude Code is an AI coding agent from Anthropic that runs in the terminal and integrates with common IDEs. Given a task, it explores the repository, plans edits, changes files, runs tests and shell commands, and asks for permission before acting.
From autocomplete to agentic edits
Earlier assistants predicted the next line of code. An agentic coding tool works on the whole task: it searches the codebase, edits several files, runs the test suite and iterates until the checks pass. That difference in scope is why the share of AI-written code can jump from a few percent to a majority of changes.
What the figure actually counts
A 70–90% figure counts the share of code written with AI assistance, not the share of engineering work replaced. Generated lines include tests, fixtures, refactors and configuration, all of which inflate the ratio.
The ratio also depends on the repository. Greenfield services with clear interfaces and fast tests sit at the high end; legacy systems with implicit context sit lower. Treat vendor and peer numbers as a direction of travel, not a target.
Productivity: where the gains hold and where they stop
Where throughput improves
- Boilerplate and glue code: adapters, serializers, DTOs, migration scripts.
- Test coverage that teams never had time to write.
- Exploring unfamiliar code, where the agent traces call paths faster than manual reading.
- Small, well-scoped changes that can run in parallel.
The pattern is consistent: output improves most when the task is bounded, the success condition is testable and the surrounding code follows conventions.
Where it stalls
Review becomes the bottleneck. If an AI coding agent produces changes faster than reviewers can read them, cycle time does not improve; the queue simply moves downstream.
Ambiguous requirements are the second limit. A confident-sounding agent fills gaps in a specification with plausible choices, and those choices are expensive to unwind after the code is merged. Legacy systems are the third: context that lives in people’s heads is invisible to the model.
Architecture choices that make Claude Code effective
Teams that get consistent results tend to change the codebase before they change the tool.
- Consistent conventions: one way to structure a module, name a file and handle errors.
- Fast feedback loops: a test suite that runs locally in minutes rather than an hour in CI.
- In-repo instructions: a memory file such as CLAUDE.md that records build commands, style rules and boundaries the agent should not cross.
- Strong types and explicit interfaces, which give the agent a contract to check its work against.
- Small modules: a few hundred lines per file is far easier to edit safely than a thousand.
A monorepo helps because the agent can see the whole system, but only if the build stays fast. Many small repositories with inconsistent tooling add cost to every task.
Process changes: review, specs and ownership
The process shift is usually larger than the tooling shift, and it is where most of the risk sits.
- Pick one bounded workflow, such as test generation or a single service, instead of rolling the tool out everywhere at once.
- Write the conventions down in the repository before expecting consistent output.
- Make the test suite the gate, not reviewer patience.
- Cap diff size per pull request and require the agent to state the assumptions it made.
- Keep humans accountable for every merged change, even when the diff was generated.
- Measure review time, rework rate and change failure rate before widening scope.
Reviewers should be able to explain why a change is correct, not just that it looks reasonable. That single rule prevents most of the failure modes that show up at scale.
Ready-made tools versus custom AI development
Most teams should start with a ready-made agent and invest in conventions and tests. Custom work pays off when the workflow is specific, repeated and tied to systems the vendor tool cannot see.
| Approach | What you get | Time to first value | Main risk | Fits when |
|---|---|---|---|---|
| Ready-made agent (Claude Code, IDE assistants) | Strong general coding, frequent updates | Days | Loose fit with your stack and rules | Most teams, as a first step |
| Custom internal tooling | Agents tuned to your code, data and workflow | Longer | Maintenance and evaluation cost | Narrow, repeated, domain-specific tasks |
| Hybrid | Vendor agent plus internal conventions, tools and evaluation | Weeks | Governance drift between teams | Teams already running agents at scale |
Where the workflow is domain-specific, such as an assistant over your own documents or a review agent trained on your conventions, custom AI development services are the practical route, usually built on the same model APIs that power the vendor tools. Budget for evaluation as well as build: without a test set of real tasks, you cannot tell whether a custom agent is better than the general one.
Frequently asked questions
Does Claude Code really write 70-90% of Anthropic’s code?
Anthropic has described that range for internal usage, but it measures the share of code produced with AI assistance, not the share of engineering work. Tests, refactors and configuration count toward it. Your own baseline will differ by codebase age, test coverage and how strictly conventions are enforced.
Is AI-generated code safe for production?
It can be, under the same controls applied to human code: review, tests, static analysis and a clear owner per change. The new risk is volume, with changes arriving faster than review can absorb them. Cap diff size and require the agent to state its assumptions.
Will AI coding agents replace developers?
The evidence so far points to a shift in where time goes rather than removal of the role. Design, decomposition, review and trade-off judgement still set the ceiling on what ships. Gains concentrate where requirements and architecture are already clear.
How do we measure whether Claude Code is worth it?
Track a small set before and after: lead time for a change, review time per pull request, rework rate and change failure rate. Lines generated and adoption counts are vanity metrics. If review time rises faster than lead time falls, the constraint is your process, not the model.
Conclusion
Anthropic’s 70–90% figure is less a benchmark than a description of one company that reorganised its codebase, tests and review habits around an agent. The transferable part is the order: conventions and tests first, then the tool, then the process.
For most teams the sensible path is a ready-made agent on one bounded workflow, measured honestly for a quarter, before committing to anything custom. Keep a human accountable for every merge and let the numbers decide how far to go.
Planning a similar project? Zodinet Technology has built software for businesses since 2016. See our AI development services or talk to an engineer.




