Zuckerberg Shipped Code for the First Time in 20 Years. He Used a Competitor’s AI.

Zuckerberg Shipped Code for the First Time in 20 Years. He Used a Competitor’s AI.
Abstract editorial illustration of executive boardroom table transforming into developer terminal interface
3
Zuckerberg Diffs Shipped
200+
Approvals on One Diff
65-75%
Meta AI Code Target
20 yrs
Since Zuckerberg Coded

Mark Zuckerberg shipped three diffs to Meta’s monorepo in March 2026. His first code contributions in roughly twenty years. One of them collected more than 200 approvals from engineers who apparently found it thrilling to click approve on the CEO’s pull request. His tool of choice: Claude Code CLI, Anthropic’s terminal-based AI coding assistant. Not GitHub Copilot. Not Meta’s internal AI tools. A competitor’s product.

Three diffs from the CEO of a 70,000-person engineering company is a footnote in a monorepo that processes 100 million changes. The code itself is irrelevant. The behavior is not.

The Pattern Nobody Is Talking About

Zuckerberg is not the only executive who stopped coding years ago and recently started again. Garry Tan, CEO of Y Combinator, returned to writing code after a 15-year hiatus. He released gstack, a Claude Code system with 23 specialist tools that turns the terminal into what Tan describes as a virtual engineering team: code reviewer, QA lead, security auditor, release engineer. Tobias Lutke, CEO of Shopify, has been running experiments with Andrej Karpathy’s AutoResearch on internal company data. He posted that he built a working prototype in a weekend that would have taken his team weeks.

There is a specific shape to all three stories. Someone who used to code, stopped because their role changed, and discovered that AI tools collapsed the distance between knowing what to build and being able to build it. The gap was never about intelligence. It was about context. To contribute to a modern codebase, you need to understand the dependency graph, the test infrastructure, the deployment pipeline, the linter configuration, the API contracts, and a thousand accumulated conventions that exist nowhere except in the heads of people who work in that codebase daily. AI coding agents absorb that context by reading the codebase directly. They compress months of onboarding into minutes of indexing.

That compression does not help only CEOs. It helps every person who has the judgment to know what should be built but lacks the hours to maintain fluency in a specific codebase. Product managers. Designers with technical backgrounds. Founders who became full-time fundraisers. Researchers who stopped writing production code when their teams grew. The disruption is not that AI replaces developers. It is that AI re-opens development to people who left.

Meta’s Internal Numbers

The Zuckerberg anecdote would be a curiosity if it existed in isolation. It does not. Leaked internal documents from March 2026, reported by The Pragmatic Engineer, show aggressive AI-code targets across Meta’s engineering organization.

Meta’s creation org wants 65% of engineers writing 75% or more of their committed code using AI by mid-2026. The Scalable Machine Learning org set a target of 50 to 80% AI-assisted code. On that reporting, these are organizational targets rather than aspirational slide-deck numbers, and they carry headcount implications.

Zuckerberg told Dwarkesh Patel’s podcast that within the next year roughly half of development may be done by AI rather than people, increasing from there. He is not predicting this from a boardroom. He is using Claude Code in his terminal to ship diffs to the monorepo. The CEO is the pilot customer for his own company’s transition.

Meta’s AI code adoption leader, Michael Novati, is reported to be known internally as the coding machine. His team built internal tooling that routes AI-assisted code through the existing review pipeline, so the quality gates remain human even when the generation is automated. The critical design decision: Meta did not create a separate review process for AI-written code. It runs through the same code review, the same CI/CD, the same test suites. The human is the reviewer, not the writer.

Why Claude Code and Not Copilot

The fact that Zuckerberg chose Anthropic’s tool over both GitHub Copilot and Meta’s own internal AI coding infrastructure deserves more scrutiny than it has received.

Claude Code is a terminal-native agent. It reads your entire project, understands the file structure, runs commands, writes tests, executes them, and iterates. Copilot’s core product is inline autocomplete inside an editor. The difference matters for someone who has not opened an IDE in twenty years: Claude Code operates at the level of describing an outcome and letting the agent determine the implementation, while Copilot operates at the level of completing the current line. The former serves someone who thinks in product terms. The latter serves someone who thinks in code terms.

For Meta, there is an uncomfortable implication. The company has invested billions in AI research, shipped Llama models that power a growing open-source ecosystem, and built internal code-generation tools. Its CEO chose a competitor’s product anyway. That is a signal about product-market fit. Claude Code found the gap between being technical enough to know what to build and having time to write it, and it closed that gap before anyone else did.

The Model Context Protocol’s 97 million installs in 16 months created the infrastructure for this moment. MCP lets Claude Code connect to any tool, any API, any data source through a standard interface. That protocol-level advantage means Claude Code can read your Jira tickets, check your CI pipeline, and query your database without custom integration. Copilot cannot do that without GitHub-specific extensions.

The Uncomfortable Question for Engineering Managers

If 65% of engineers are writing 75% of their code with AI by mid-2026, what does the engineering team look like in 2027?

The charitable version: engineers shift from writing code to reviewing code, designing systems, and defining constraints. The codebase improves because more human attention goes to architecture and less goes to implementation. Junior developers learn faster. Senior developers spend less time on boilerplate. Everyone wins.

The version that keeps engineering managers awake at night: companies that hit the 75% AI-assisted target will discover that some roles were primarily about code production rather than code judgment. Individual productivity anecdotes circulating among engineers, of a single agent session replacing months of team output, are unverified and self-selected, but they are shaping how managers talk about headcount regardless. That is the mechanism to watch, and it operates whether or not any particular anecdote holds up. Not tomorrow, because AI-generated code still needs human review and the security surface of AI coding tools is genuinely alarming. But the direction of travel is consistent.

Goldman Sachs estimated that AI adoption among firms with more than 250 employees reached 35.3% in early 2026. Academic studies cited in their April report put the average productivity uplift from generative AI at 23%, with company-reported gains closer to 33%. Note which of those two numbers is self-reported. Construction jobs tied to data center buildouts increased by 212,000 since 2022. Meanwhile, corporate layoffs directly attributed to AI remain small: 4,600 employees in February 2026.

The gap between AI making teams more productive and AI reducing headcount has not closed yet. But the CEOs are not waiting for it to close. They are already coding.

What Actually Changed

The interesting question is not why CEOs are coding again. It is what technical capability made this possible now and not two years ago.

Context windows got big enough. Claude Opus 4.6 supports 200K tokens natively. GPT-5.4 pushed to one million tokens. That is enough to hold thousands of files in memory simultaneously, which means the agent can reason about cross-file dependencies, follow architectural patterns, and generate code that fits the existing codebase rather than autocompleting the current line. The CEO does not need to know the codebase. The agent reads it.

And tool use became reliable. The agent runs the linter. Executes the tests. Reads the error output. Fixes the failures. Commits the result. That closed-loop execution is what separates suggesting code from shipping code. A CEO who asks for tests on the auth module, a run, and fixes for the failures gets a working result rather than a clipboard of suggestions that still require a developer to wire together.

Karpathy distilled this into a design principle with AutoResearch: constrain the agent to one file, one metric, one five-minute cycle. The constraint is the invention. By limiting scope, you get reliable execution instead of ambitious hallucination. Lutke ran it on Shopify data overnight. Marketers adapted it for landing pages. The pattern scales because the constraint scales.

Where This Breaks

The story of CEOs coding again has a failure mode that the feel-good coverage omits. When a non-expert uses AI to ship code, the code works until it does not. The AI generates plausible solutions that pass tests and satisfy requirements while containing subtle architectural decisions that compound into maintenance debt. The MAD Bugs initiative found 500+ zero-day vulnerabilities in mature, battle-tested open-source code. Whether AI-generated code carries more vulnerabilities than human-written code at equivalent maturity is an open empirical question, and the honest framing is that new code of any origin has not been adversarially exercised yet.

Ledger CTO Charles Guillemet put the risk directly on April 5, saying there is no button that makes code secure and that the industry is going to produce a great deal of code that is insecure by design. That warning is aimed at the exact workflow these CEOs are celebrating. Generate fast, ship fast, discover the security hole later.

The honest version of this story is not that AI made coding easy. It is that AI shifted the bottleneck. The bottleneck used to be writing code. Now it is reviewing code, maintaining code, and securing code. Those are the skills that become more valuable as AI writes more of the first draft. The CEOs who recognize that distinction will build better companies. The ones who read being able to code again as needing fewer engineers will learn an expensive lesson about the difference between generating software and operating it.

Updated 2026-08-23: corrected quotation-mark encoding errors that displayed as stray backslashes throughout the published text, replaced an unattributed second-hand productivity anecdote with a scoped description of what such anecdotes do and do not establish, marked self-reported figures as self-reported, and softened a comparative security claim to the open empirical question it actually is.

Discover more from My Written Word

Subscribe now to keep reading and get access to the full archive.

Continue reading