In this piece
The Bottleneck in Software Was Never Intelligence. It Was Context.
One vendor case study keeps getting passed around: Rakuten gave an AI coding agent a specific task inside a large open-source project and reported a working result after a long session. The event is real, but it is not a controlled productivity study and does not prove a general theory about coding agents. Its useful lesson is narrower: scoped tasks, relevant repository context, executable checks, and human review can let an agent sustain useful work on an unfamiliar system.
This is an engineering perspective, not a vendor pitch. The factual claims and sources were rechecked on 30 November 2026, and the line and token counts below are our own. Agent capability and productivity vary by model, tool, repository, task, reviewer, and evaluation method.
Want help restructuring your team around coding agents?
Book Free ConsultationWhat actually happened at Rakuten?
At its Claude Opus 4 launch in May 2025, Anthropic said Rakuten had tested the model on an open-source refactor that ran for about seven hours. In Anthropic’s Rakuten customer story (now hosted on claude.com, where the old anthropic.com address redirects), an engineer asked Claude Code to implement a specific activation-vector extraction method in vLLM. The story reports 99.9% numerical accuracy against a reference implementation. These details are vendor-published customer evidence, not an independent benchmark.
Two honest corrections, because we would rather be right than dramatic:
- It was not demonstrated as fully unattended. The story says the engineer provided occasional guidance. Treat "autonomous" as the publisher’s description of the session, not proof of zero human intervention.
- 99.9% is a narrow metric. It is the numerical accuracy of one method’s output against a reference, not a general statement that the agent is 99.9% correct at everything. Useful, specific, and easy to misread as a headline.
The same story calls vLLM a 12.5-million-line codebase but does not publish the counting method, revision, included repositories, or treatment of generated and vendored code. Do not use that figure as a measured repository size. The supported claim is simply that the task involved a large, multi-language open-source system and a specific reference implementation.
How large is vLLM when you count it?
The 12.5-million-line figure comes without a method, so we counted what can be counted. On 30 November 2026 we downloaded two official vLLM source distributions from PyPI, verified their SHA-256 hashes against the index, extracted them and counted every UTF-8 text file: lines by newline, tokens with the o200k_base tokenizer from tiktoken 0.14.0 (Apple M3 Pro laptop, 18 GB RAM, macOS).
Version 0.8.5.post1 was uploaded on 2 May 2025, the last release before the Claude Opus 4 launch. Version 0.34.0 was the current release on the day we checked.
| Measurement | vLLM 0.8.5.post1 (2 May 2025) | vLLM 0.34.0 (16 November 2026) |
|---|---|---|
| Text files | 2,338 | 9,014 |
| Lines, all text files | 530,971 | 3,037,017 |
| Lines of Python | 375,983 | 2,288,008 |
| Lines in the vllm/ package | 307,326 | 1,459,041 |
| Tokens, all text files | 4,785,633 | 33,889,128 |
| Share of 12.5 million lines | 4.2% | 24.3% |
| All text against a 200,000-token window | 23.9 windows | 169.4 windows |
The release that existed when the session ran held about 0.53 million lines, roughly one twenty-fourth of the published figure. Even the much larger current release reaches only a quarter of it. We cannot tell what the 12.5 million counted. It may include dependencies, generated files or something else. The customer story does not say.
The token row matters more for anyone running agents. The May 2025 source alone filled about 24 context windows of 200,000 tokens, and the vllm/ package by itself filled 12.8. No session held that codebase in view. The agent worked on a slice it found or was pointed at, which is this article’s argument in one measurement.
python -I count_repo.py vllm-0.8.5.post1/
text files=2338 lines=530971 tokens_o200k=4785633
The limits: a source distribution is not a git checkout and can leave out files the repository tracks. We do not know which revision Rakuten used. o200k_base is OpenAI’s tokenizer and serves as a proxy here; other models tokenize differently, so read the token figures as an order of magnitude. Binary files (36 and 94) were skipped, and each archive was counted once.
Why was context the real bottleneck, not intelligence?
Replay one failed change twice with the same model and the same tests. On the second run, supply the missing interface contract and an example of its caller. If the fix passes only then, record that dependency in the repository documentation. The result diagnoses this task, without making a general claim about model intelligence.
Try a context ablation on one small issue. Supply an example, a test and the rule that explains an exception. In a second run remove only the rule. Record whether the agent asks for it, guesses, or passes the example while violating the exception. That distinction pinpoints the missing repository evidence.
The case supports a practical hypothesis, not a universal law: repository context and feedback can be bottlenecks even when a model can generate plausible code. Engineers also bring tacit domain knowledge, architecture history, product judgment, and accountability that are not captured by loading more files.
The useful question is not whether context or intelligence is the single bottleneck. It is whether the agent received the relevant code, constraints, tools, tests, and feedback for this task, and whether the reviewer can detect failure modes the checks miss.
What are the limits of long-running agent context?
For a concrete example, the OpenAI standalone compaction endpoint returns an opaque compaction item plus any retained items and expects the whole returned window on the next request. That state continues the API session. Maintain a separate handoff with the revision, constraints, decisions and acceptance evidence that a person or a different harness can inspect. OpenAI Compaction.
As of 30 November 2026 the same guide also documents server-side compaction: set a compact threshold in the request’s context management settings and the server compacts when the rendered token count crosses it, with no separate compact call. Either way the compacted state is opaque, so the inspectable handoff stays your job.
Humans are bad at holding large context for long stretches, and not because we are dim. We tire. We forget the thing we read forty files ago. We take a break and lose the thread. We make small mistakes late in a long session that we would never make in the first hour. Holding a sprawling mental model of a system is exhausting, and exhaustion is where the bugs come from.
A coding agent does not experience human fatigue, but that does not mean stable reasoning across a seven-hour run or perfect use of a large context window. Models can lose relevant information, over-weight recent observations, compound earlier mistakes, or consume their context budget. Long-context research has shown that performance can depend strongly on where relevant information appears. Long-running agents therefore need context selection, summaries, checkpoints, tests, and recovery paths.
The catch, and it is a real one, is that the agent only reasons well over the context it is actually given. Point it at the wrong files, or starve it of the constraints that matter, and it will confidently build the wrong thing without fatigue. Feeding it the right context is now the skill. We wrote about the cost side of that discipline in how to cut LLM token costs in 2026: managing context, not just spending tokens, is most of the game.
For a concrete architecture that separates durable memory, shared state, bounded reasoning and intent routing, see our fact-checked Meterless context-layer review.
When cross-file relationships are the missing layer, our Graphify buyer review compares a codebase knowledge graph with repository search and RAG, then gives CTOs a measured two-week adoption test.
When parallel agents make repository setup and change integration the next constraint, use our Git worktrees vs Jujutsu decision guide to choose a cached Git baseline or a measured Jujutsu pilot.
For the tooling layer that writes that context down between sessions, see our Graft review on whether an agent repo map belongs in git or stays a rebuildable local cache.
Does this make engineers disappear?
This case cannot answer an employment question. It shows one technical workflow, not a labor-market outcome or universal productivity gain. Coding agents can shift work toward task design, context preparation, tool supervision, and review, while the effect varies across teams and tasks.
That last skill is underrated. An agent will produce confident, well-formatted, plausible code that is subtly wrong, and a junior reviewer will wave it through because it looks right. Catching that requires exactly the judgment that years of writing code by hand builds. The experience does not become worthless. It changes from "I type the solution" to "I recognize the wrong solution before it ships." If you want a concrete version of what that review looks like, our vibe-code production-readiness checklist is the list we actually run agent output against.
What does good engineering look like when agents write the code?
Delegation can become concentrated engineering work: scoping a task, assembling evidence, defining acceptance criteria, and reviewing the result. It does not eliminate implementation knowledge, because reviewers still need to understand the system and the consequences of the change.
Good engineering in this mode uses a bounded task, relevant context, least-privilege tools, reproducible checks, a reviewable diff, and a qualified human decision. Tests reduce risk but do not prove correctness beyond what they cover.

"An agent does not experience human fatigue, but it still has bounded context and failure modes. The engineering advantage comes from selecting evidence, defining checks, and reviewing the result, not from assuming it holds the whole codebase perfectly."
How should you restructure your workflow around coding agents?
If you want the Rakuten outcome on your own work, the moves that matter, in order:
- Scope the task tightly. "Implement this specific method, matching this reference" is more testable than "improve the inference layer." A precise task reduces ambiguity; it does not guarantee an unattended success.
- Give it the right context, not all of it. Point the agent at the files, interfaces, and constraints that actually matter. More context is not better; the correct context is. This is where most of the skill now lives.
- Gate with tests and guardrails. Use a relevant test suite, reference, static checks, and security controls. Treat passing checks as evidence within their coverage, not proof that the change is correct.
- Review like a senior, not a rubber stamp. Read the diff for the subtle, plausible-looking mistakes, the ones that compile and pass a shallow glance. This is the highest-leverage hour you will spend.
- Keep ownership and knowledge in-house. An agent that ships code nobody on your team understands is a dependency, not a win. Make sure a human owns and can explain what shipped.
None of this is exotic. It is the same discipline good engineering always needed, reweighted: less time producing the code, much more time specifying and verifying it.
Visual work needs the same treatment. Our Claude Code design system guide shows how to turn approved examples, brand evidence and implementation rules into durable repository context instead of repeating them in every prompt.
Current evidence includes measured compact-context tokens, provider usage receipts, paid harness qualification, Rust application overhead and checked hot-reload timings. Results include regressions and a cost qualification that did not pass; no general cost or productivity advantage is established. Is Semaprax cheaper for coding agents?
Frequently asked questions
Did Claude Code work autonomously for seven hours at Rakuten?
Is vLLM 12.5 million lines of code?
Does a bigger context window remove the need to select context?
What does 99.9% numerical accuracy mean in the Rakuten story?
How do you check whether an agent failed for lack of context?
Final thoughts
The Rakuten story is a useful vendor-published example, not proof that context was always the only bottleneck or that agents reason consistently for hours. It shows that a scoped task, repository access, a reference implementation, occasional guidance, and verification can support a substantial agent run.
Build the workflow around those conditions: select relevant context, constrain tools, define acceptance criteria, preserve checkpoints, run meaningful tests, inspect the diff, and keep a qualified human accountable. Measure productivity and quality on your own repositories rather than generalizing from one case study.