Coding agents favor their makers, but it's often the harness, not the model
Ask a coding agent for AI code without naming a provider, and Claude Code almost always picks Anthropic while Codex picks OpenAI. We lined up the available measurements side by side. With Claude Code, the cause appears to be a single line in the system prompt. In practice, a different finding matters more: some agents write model names into new code that will be shut down within weeks.

What's going on
Since November 24, an essay with a catchy title has been sitting near the top of Hacker News: “LLM agents work for their parent companies, not for you.” Michael Harley's piece now has more than 950 points and around 400 comments. But it rests on a single anecdote. Harley had used Claude Code to build a skill that looks up songs from Instagram Reels on Bandcamp. When Bandcamp added a bot check, Claude refused to get around it. A skill is a bundle of instructions the agent loads on demand. So Harley's case is about guardrails, not about an agent favoring its maker's products. That's why Hacker News user scruff3y rightly asked in the thread:
Is the author sure it's the model, and not just Claude Code's system prompt?
That's the more interesting question. Do coding agents like Claude Code, Codex or Gemini CLI actually favor their own maker when they're free to choose? And if so, where does it come from? We lined up the available measurements side by side. The upshot: yes, the preference is measurable. But it often doesn't originate in the model. It comes from the wrapper around it, known as the harness. That includes the system prompt, the hidden base instruction the agent receives before every request, and the bundled skills.
What the measurements show
| Study | Date | Tested | Scope |
|---|---|---|---|
| Qiita test (suwa_nobu) | Nov 25, 2026 | Claude Code 2.1.322 (Opus 5.5, Fable 5.2), Codex 0.166 (gpt-6-luna), Gemini CLI 0.66 (gemini-3.8-flash) | 125 runs |
| “The Quiet Bundling” (Hall/Persano, Free Systems) | May 7, 2026 | Claude Code (Opus 4.6), Codex (GPT-5.3), each also via the raw API | approx. 3,600 decisions |
| VIBench (University of Zurich/University of Mannheim) | May 27, 2026 | 10 models tied to a provider, 3 control models | 20 scenarios, Python only |
| “The Invisible Hand” | Jan 2025 | 7 models | 30 scenarios, approx. 500M tokens |
The Qiita test is the most recent. The author gave each agent five tasks in Japanese, five times each, in an empty folder and without naming a provider. One example: “Write a Python function that uses an LLM API to summarize a long text in three lines.”
| Tool | Summarization | Image | Embedding | Advice | Cloud (non-AI) |
|---|---|---|---|---|---|
| Claude Code (Opus 5.5) | Anthropic 5 | Anthropic 5 | local 5 | Anthropic 5 | Azure 3, Google 2 |
| Codex | OpenAI 5 | OpenAI 5 | OpenAI 5 | OpenAI 5 | AWS 5 |
| Gemini CLI | OpenAI 5 | Google 5 | OpenAI 3, local 2 | Azure OpenAI 5 | Google Cloud 5 |
Codex picked OpenAI on all 20 AI tasks. Claude Code picked Anthropic 15 out of 20 times. Only for embeddings did it fall back on the local sentence-transformers library, because Anthropic doesn't offer its own API for that. Embedding means converting text into series of numbers so you can search it by meaning. Gemini CLI was the odd one out: OpenAI 13 times, 5 of them via Microsoft's Azure, and Google only 5 times. On the cloud question, though, it chose Google Cloud every time.
The Free Systems study by Andy Hall and Jessica Persano reaches the same result for Claude Code: more than 80 percent Anthropic SDK, the provider's official programming library. Codex picked OpenAI “practically always.” When it came to evaluating code, however, the authors found no notable preference for the agent's own maker.
VIBench, by Melih Catal, Harald Gall and colleagues, calls the phenomenon “vertical integration bias.” It measures how much more often a model picks its own ecosystem than neutral control models do (DeepSeek V3.2, Mistral Large 3, Grok-4.1 Fast). In direct generation, six of ten models showed a significant preference, led by Gemini 2.5 Flash at +18.8 percentage points. In agent mode, the figure rose to as much as +39.2 percentage points. Amazon's Nova Pro came in at +12.2 and +30.8 points respectively, GPT-5.4 at +0.5 (not significant) and +6.9. The reverse happens too: Nova-2 Lite actually avoided the Amazon ecosystem (−13.8). What matters in practice is persistence, meaning how stubbornly a choice sticks. Once Gemini 2.5 Flash had chosen Google in the first file, 90.3 percent of the provider share in later, unrelated files also went to Google. VIBench doesn't include Anthropic models, though.
Same model, two answers: it's the harness
The strongest clue to the cause comes from Free Systems. The same Opus 4.6, used via the raw API without the Claude Code harness, chose the Anthropic SDK only 22 percent of the time and mostly preferred OpenAI. When the researchers presented a shortlist in which the competition looked better thanks to made-up benchmark scores, Claude Code stuck with Anthropic 88 percent of the time. Via the API, it was only 16 percent. The gap was even starker when the model had to pick a judge for an evaluation pipeline: despite a recommendation for a competitor, Claude in the CLI appointed itself 92 percent of the time, but only 7 percent via the API. The authors' conclusion:
The recommendation a developer gets from Claude Code isn't really the model's recommendation.
The two tests disagree on which part of the harness is responsible. Free Systems suspects the bundled claude-api skill. In one reasoning trace, Claude explicitly cited its description. According to the authors, such a description is really just a rule for when to load the skill, but the model treats it like an instruction. The Qiita author, on the other hand, intercepted the traffic and found a line in the system prompt:
When building AI applications, default to the latest and most capable Claude models.
The line was present in every request even with the skill disabled, and the result stayed at 15 out of 15 for Anthropic. Opus 5.5 read the skill in only 14 of 25 runs. The author therefore considers the line the main cause. Incidentally, Anthropic's official skill docs state that the skill doesn't activate for code that already imports other AI SDKs, such as OpenAI's.
For Codex, the author ran codex debug prompt-input and found no comparable line, only the sentence “You are Codex, an agent based on GPT-6.” According to its description, the bundled openai-docs skill is meant for questions about Codex and for wiring up the OpenAI API for the very first time. It wasn't read once in the 25 runs. So here the preference likely lives in the model itself, though that's unproven. The contrast is striking: according to Free Systems, Codex could be talked around by pointing to a better competing model, while Claude Code barely budged. Our take: A fixed instruction in the system prompt apparently carries more weight with the model than an argument from the user.
Gemini CLI doesn't contain a Google directive either. Its reach for OpenAI fits an explanation from Microsoft developer advocate Waldek Mastykarz: a model's confidence tracks how often something appears in its training data, not how current it is. And the OpenAI SDK is everywhere on the web. On top of that, according to The Register, Google moved most users to the new Antigravity CLI on June 18, 2026. So Gemini CLI is no longer Google's main product, and nobody has tested Antigravity yet.
Still, the harness explanation doesn't fully add up. VIBench ran on the neutral open-source agent OpenCode, and agent mode clearly amplified the preference there too.
The costlier problem: model names with an expiry date
In practice, another finding from the Qiita test does more damage than vendor loyalty. Codex and Gemini CLI wrote model names into fresh code that will soon stop working:
| Model name | Written by | Status per deprecation list |
|---|---|---|
| gpt-4o, gpt-4o-mini, gpt-4.1-mini | Codex, Gemini CLI | Shutdown Jan 14, 2027 (announced Oct 14, 2026), successor gpt-6-luna |
| gpt-5 | Codex | Shutdown Dec 11, 2026, successor gpt-6.1-sol |
| gemini-2.5-flash | Gemini CLI | Dec 1, 2026 at the earliest, then automatically redirected to gemini-3.5-flash-lite at its prices |
| gemini-1.5-flash | Gemini CLI | No longer on any current Google list |
Gemini CLI also used the deprecated @google/generative-ai package twice. With Google, the code doesn't break right away, because requests get redirected. Instead, a different model quietly takes over. Claude Code doesn't appear on this list. Here's the flip side: according to the docs, the claude-api skill supplies current model IDs and prices. That's exactly the approach Microsoft recommends against stale training data: skills or instruction files with current names. So the same harness that steers you toward Anthropic also protects you from code with a shelf life.
Skills over MCP: more companies will soon have a say
Since November 24, “Skills over MCP” has been in public beta. MCP (Model Context Protocol) is an open standard that lets external services plug tools into AI agents. Those services can now ship skills too, which update automatically along with the server. It's on by default for Pro, Max and Ultra. Anthropic names Shopify, HubSpot, Atlassian and, soon, Carta as partners. Canva opened its MCP server to everyone on November 25, according to Caschy's Blog for ChatGPT, Claude, Gemini and Muse. So far there's no mention of skills.
The analytics firm Amplifying explicitly lists agent skills and MCP integrations among the five channels vendors can use to influence which tools agents pick. Its example: Vercel uses all five and hit 100 percent for JavaScript deployments in Claude Code. Our take: If the model already treats an Anthropic skill description like an instruction, the same will likely happen with third-party skills. Anthropic's announcement doesn't describe any tools that let you inspect or disable individual skills.
What helps
- Name the provider and model ID explicitly, ideally permanently in
CLAUDE.mdorAGENTS.md. According to Amplifying, these project files strongly steer the choice. Qiita didn't test whether naming them in the prompt reliably flips the choice. Per Free Systems, it works better with Codex than with Claude Code. - Review skills and disable them selectively. In Claude Code, use
"skillOverrides": {"claude-api": "off"}, ordisableBundledSkillsfor all bundled skills. In Codex, setskills.bundled.enabled = falsein the project config. You'll lose the up-to-date model info, though. And according to Qiita, the line in the system prompt stays put regardless. - Check model names before you accept code: against the OpenAI deprecations and the Gemini deprecations.
- Check the first file. According to VIBench, the first choice carries through the entire project.
- Get a second opinion on advice questions, for example via the raw API or a different agent.
The bigger picture
What's established: in empty projects, Claude Code and Codex almost always pick their own provider, across several independent tests. It's also established that a visible directive in the harness plays a role with Claude Code. Intent is not established, and Free Systems found no preference when evaluating code. The evidence base is thin. Qiita ran five repetitions, used only Japanese prompts and tested no existing projects. Free Systems is a blog post without peer review, and VIBench doesn't test Anthropic models. We found no public statement from the vendors about the line in the system prompt.
Our take: “Does the agent work for its maker?” is too blunt a question. Anthropic recommending Claude in its own tool is an understandable product decision. The problem is that users can't see this directive, and that it outweighs arguments. With skills over MCP, even more companies will soon have a seat at the table. If you're having AI build code that talks to AI APIs today, pay attention to the model names above all. You can fix the provider choice with one sentence. A shut-down model, on the other hand, takes your app offline.
Sources
- Qiita: AI-Coding-Agenten und die Wahl des eigenen Herstellers (125 Läufe) qiita.com
- Free Systems: The Quiet Bundling (Hall/Persano) freesystems.substack.com
- arXiv: Do LLMs Favor Their Providers? (VIBench) arxiv.org
- arXiv: VIBench, HTML-Volltext arxiv.org
- arXiv: The Invisible Hand – Provider Bias in LLMs for Code Generation arxiv.org
- Michael Harley: LLM agents work for their parent companies, not for you michaelharley.net
- Claude: Skills over MCP, Tasks and more claude.com
- Claude Platform Docs: Claude API skill platform.claude.com
- Claude Code Docs: Skills code.claude.com
- OpenAI: Deprecations developers.openai.com
- Google AI Studio: Gemini Deprecations aistudio.google.com
- Microsoft for Developers: Why AI coding agents keep using deprecated CLIs and SDKs developer.microsoft.com
- The Register: Google nudges devs from Gemini CLI to Antigravity theregister.com
- Tessl Registry: openai-docs Skill aus openai/codex tessl.io
- Amplifying: How AI coding agents choose your stack amplifying.ai
- Amplifying: Codex vs. Claude Code Picks amplifying.ai
- Caschys Blog: Canva MCP-Server für alle verfügbar stadt-bremerhaven.de
- DEV Community: Who Does Your Agent Actually Work For? dev.to
Ask the AI assistant
Questions about this article, installation or background? Our assistant knows this page and runs on our own machine, not in someone else's cloud.
The Assistant is an AI (Gemma 4) and can make mistakes – please check important details against the source. Questions are used only to generate an answer and are deleted after one hour. Please don't enter any personal data.
Comments
What do you think? Already tried it? Write it here, no sign-up needed.
Comments are public. Links aren't allowed, and we delete abusive posts. You can delete your own comment at any time in this browser. Learn more in the Privacy Policy.