Topics Pioneers Insight Method Author
Back to Insight

A 4.5-Point Gap from Just Changing the Shell: The Model and Shell Are Actually the Same Product

2026/05/25

Rendering the long image…

Deep thoughts on AI and aspirations —— ByteDance Deep Thinking Circle

On public evaluation leaderboards for terminal programming models, there’s a counterintuitive ranking: the same Claude Opus 4.6 scores 79.8 points with the ForgeCode shell but only 75.3 with Capy. Identical weights, not a single byte changed, yet a 4.5-point difference. On leaderboards where every 0.1 point is fought over, this is practically a generational gap.

An even more striking example comes from Cursor. Their team publicly shared a retrospective: same model, unchanged weights, only the shell modified—leaderboard ranking jumped from outside the top thirty into the top five.

Engineer Nicolas Bustamante conducted a thorough dissection around this phenomenon, peeling back the internal implementations of several mainstream programming agents layer by layer. His conclusion: the model doesn’t exist in isolation; the shell is part of the model. This judgment deserves serious consideration from everyone building AI products.

Models Are Trained for Specific Shells

Let me first explain why changing the shell drops performance.

Models aren’t just post-trained against a generic API—they’re post-trained for specific shells. Every detail in the shell gets baked into training and becomes the model’s instinct: what tools are called, what input schemas look like, how reference tags are written, where skill files go, what format the planning protocol uses.

Pull the model out of its familiar shell and performance loss happens—the irreversible kind. This is why every agent claiming to be “model-agnostic” hits the same wall: you can’t just swap models. To swap cleanly, you need to change the shell too—the tool surface, schema shapes, memory formats, reference contracts, system prompt structure, a whole chain of things needs to move with it. Mismatches won’t throw errors directly; they manifest as quiet degradation: missed tool calls, incorrect reasoning intensity, things that should be remembered aren’t.

Disassemble several mainstream shells and you’ll find they’re not three ways of writing the same thing—they’re three completely different protocols. One model is trained to think “commit changes, read events,” another is trained to output tool calls directly in dialogue, a third is trained to spawn subprocesses while acting as supervisor. The model learns the precise shape of the protocol; switch it out and instinct fails.

A Six-Character Tag That Tells the Whole Story

The most telling example is a tiny reference tag: oai-mem-citation.

In one shell’s design, every time the model uses memory, it appends this XML block at the message end, telling the shell “I referenced this memory entry.” The shell parses it and increments that memory’s usage count. Get referenced and the memory survives; go long without references and the memory gets purged as obsolete data. Through these six characters, model and shell complete a tacit collaboration: you tell me what you used, I reward it.

Switch shells and problems appear immediately. A model with the citation habit goes to a shell that doesn’t parse this tag—it spits raw XML straight to the user, and the memory system never receives any “this was used” signal. Conversely, a model without the tag habit goes to a shell dependent on tags—it’s using memory perfectly fine, but the system thinks these memories were never accessed and quietly phases them out within weeks according to decay rules. Same weights, same memory batch, different shell—one path improves with use, the other slowly rots.

The situation with skill files is similar. On the surface everyone uses SKILL.Md, formats nearly universal. But what a skill file truly depends on are the tools named in its body: a skill writing “step one calls TodoWrite” will only fail silently or produce a degraded version in a shell lacking that tool. Between “universal format” and “consistent contract” lies an entire invisible layer of tool semantics.

How Honest Products Handle This

Facing this coupling, teams working honestly share a common approach: stop pretending the shell is neutral, and feed the right dialect to the right model.

One multi-model shell offers a reference implementation: different tool surfaces for different model families. Models trained to edit files with patch format only get patch tools; models trained for string replacement only get replacement tools. Some models get lazy-loaded tool circuits, others get all tools displayed at once. Even the review stage uses complementary models to catch each other’s errors. The cost is frankly admitting: the same product with Claude versus GPT is two different products—no common denominator exists.

The Cursor research team’s recommendation is equally direct: unless there’s a special reason, use one model per conversation. Mid-conversation switching triggers three things simultaneously: dialogue history becomes an unfamiliar distribution for the new model, all cached context invalidates, and the tool table swaps to a different shape. If you genuinely need another model, the cleanest approach is dispatching a sub-agent rather than switching the main conversation. The sub-agent opens fresh context, free of old conversation bias, standing on its own tool surface from turn one.

What This Means for AI Product Builders

Translating this into product judgment has three layers.

First, stop positioning “model-agnostic” as a selling point. Multi-model strategy is a real competitive dimension, but not a free option. Switching between models incurs a hidden migration tax: performance loss, tool refactoring, memory loss. “Changing models just means changing an API”—that’s seeing the bill but not the cost.

Second, treat the shell as product strategy, not infrastructure. Every component in the shell essentially encodes an assumption that “the model can’t handle something on its own”: reminders to verify first, help compressing context, fixed memory rituals. These assumptions expire as models mature. One vivid observation: scaffolding built for the previous generation becomes dead weight on new models and must be entirely cut. To stay on the capability frontier, when new models release, you’ll likely need to delete most existing code. That’s how this industry works, not an accident.

Of course there’s a counterargument. Protocol standardization is advancing, tool calling and skill formats are converging, long-term coupling will lighten. The score gaps on leaderboards may partly reflect benchmark-specific optimizations by different teams, not purely real capability differences. These rebuttals hold. But the directional fact remains: models and the product forms that host them are growing into parts of each other. Every tool name you define today, every rule you establish to shape model behavior, becomes part of your product’s irreproducibility—and the most expensive part to change later. Treat them as strategic design decisions now.

Key points: Same weights, different shell—4.5-point gap; Cursor changed only the shell, jumped from outside top 30 to top 5; models are post-trained for shells, mismatches manifest as quiet degradation; memory citation tags determine memory survival, format compatibility doesn’t equal contract consistency; honest approach feeds right dialects to right models; shells encode “model weakness assumptions” that expire—new model releases often require deleting most old code.

Last updated on