Boris Cherny: Building Claude Code
- 01Opus 5 Represents a Qualitative Leap in Autonomous, Long-Running Agents
- 02Prompt Injection Is Effectively Solved via Mechanistic Interpretability
- 03Every Model Release Demands a Full Ablation
- 04Product Overhang: Today's Models Can Already Do Things No One Has Built For
- 05Verification Is the Single Most Important
- 06Dynamic Workflows Are a New Form of Test-Time Compute Orchestration
1. Key Themes
Opus 5 Represents a Qualitative Leap in Autonomous, Long-Running Agents
Opus 5 can run continuously for days, weeks, or months without stopping, and does so without requiring special scaffolding commands. This is not an incremental improvement but a new capability class.
"For Opus 5, one example of something it does that I think no other model has done — it runs for a very long period of time. And especially when you combine Opus 5 with auto mode, it's just incredible. It can go for days, weeks, months at a time. It just won't stop. You don't even need to use scaffolding." — Boris Chernyi 00:01:25
Prompt Injection Is Effectively Solved via Mechanistic Interpretability
Anthropic has layered three defenses — a well-aligned model, a function classifier based on mechanistic interpretability that watches neurons firing during injection attempts, and an auto mode classifier — to make prompt injection essentially undemonstrable even by hired red teamers.
"It's based on Anthropic's mechanistic interpretability work. Where it's literally we're looking at neurons in the model's brain that light up when prompt injection happens. So the model won't even tell you, but we can actually see those neurons and we can figure out and diagnose that it's happening... We've hired security researchers. We've done red teaming. We've done competitions. No one can demonstrate it." — Boris Chernyi 00:02:39
Every Model Release Demands a Full Ablation — Delete First, Rebuild Only When Needed
The Claude Code team deletes 80%+ of the system prompt with each new model and rebuilds only by observing where the model actually fails. Over-specifying instructions is the primary failure mode for builders today.
"Every time there's a new model, we try — we call it in research, you call this ablation. And so what this means is you delete the entire system prompt and then you bring it back line by line to figure out what is the impact of each individual line." — Boris Chernyi 00:06:14
"Only when you see it repeatedly stumble on the same thing, that's when you add it back. Because remember, the model is going to read this instruction every single time you use it." — Boris Chernyi 00:08:26
Product Overhang: Today's Models Can Already Do Things No One Has Built For
Models have capabilities that existing products actively prevent them from expressing. The original Claude Code's key insight was removing scaffolding so the model could write entire files — a capability already present in Sonnet 3.5 that no product was eliciting.
"With modern models, there is so much product overhang that I'm not seeing startups capture. And I think there's people thinking about these problems, but there's just a huge amount of opportunity to elicit these behaviors from the model that are just like amazing and interesting and commercially valuable." — Boris Chernyi 00:14:00
Verification Is the Single Most Important — and Most Neglected — Design Element
The key to long-running agent success is not prompt sophistication; it is giving the model a reliable way to verify its own output so it never gets stuck.
"The verification I think is probably the single most important thing that people do not get right... Give the model the task, give it a way to verify the output of its work so it doesn't get stuck and it'll just go." — Boris Chernyi 00:20:46
Dynamic Workflows Are a New Form of Test-Time Compute Orchestration
Claude Code's dynamic workflow system — built on the Bun runtime as a sandbox — allows Claude to spin up and orchestrate thousands of agents in parallel and in sequence, constituting an entirely new scaling axis beyond training compute.
"Dynamic workflows are essentially a new way to orchestrate test time compute. And it's a new way to kind of really, really ramp up the amount of test time compute that you use to do a really hard task." — Boris Chernyi 00:27:27
Self-Maintaining Codebases Are Already a Reality at Anthropic
Anthropic uses Claude routines (cloud-based cron jobs) running daily across all its codebases — CLI, iOS, Android, desktop — to clean dead code, unify abstractions, write and delete tests, and ship completed experiments. The system runs hundreds to thousands of agents per day.
"It's doing the work of, you know, dozens or hundreds of engineers. This is kind of what it used to take to do this kind of work. And this means that engineers can just do the thing they actually want to do, which is ship new products and talk to users and do stuff that's actually fun." — Boris Chernyi 00:30:07
Treat the Model Like a Coworker, Not a Compiler
The mental model shift required of experienced engineers is to stop over-specifying steps and instead describe the task, guardrails, and exit criteria — then let the model operate.
"I think a lot of people are kind of unlearning this... it's a journey to kind of figure out how do you treat this thing like you would a coworker. I think that's the level of intelligence that it's at now." — Boris Chernyi 00:24:51
2. Contrarian Perspectives
Evals Are Disposable, Not Sacred Infrastructure
Conventional startup wisdom treats evals as durable, compounding assets. Boris argues they are nearly as perishable as the system prompt — they saturate within one to three model generations and must be discarded.
"An eval might live for maybe one, two, three model generations. But nowadays, we're on the exponential. The model is improving so quickly. Very often we just saturate the eval and then we have to throw it away and we have to come up with a new eval." — Boris Chernyi 00:10:15
Simpler Prompts — Even No Prompts — Can Outperform Elaborate Ones
Against the entire prompt-engineering industry, Boris found that removing all system prompts (including tool prompts) via "simple mode" makes Opus 5 slightly more intelligent, not less.
"What's interesting is that the model is actually a little bit more intelligent without these prompts. That's something that we've been finding." — Boris Chernyi 00:05:21
Coding Is Already "Solved" for Most Product Engineers
While mainstream discourse still debates whether AI can code well, Boris's position is that for his category of product engineering work, the question is closed — the interesting problem has already moved on.
"I would give like one caveat. So coding is solved for the kind of coding that I do." — Boris Chernyi 00:31:00
The Hard Skills Worth Learning Are Business and Design, Not Computer Science Theory
Against the standard CS education narrative, Boris argues that the lasting skill multiplier is the ability to build, talk to users, and develop business and design sense — not theoretical computer science knowledge.
"Learn not just the computer science... learn how to apply it. And often this is about building startups. It's about building products. It's about developing your own design sense, developing your business sense, learning how to do data science, learning how to talk to users. There are all these other skills. And when you combine it with computer science and engineering, that's where it becomes really, really valuable." — Boris Chernyi 00:34:25
Don't Follow Influencer Advice About Prompting
The "one weird trick" framing pervading AI social media is actively counterproductive. The correct approach is entirely empirical and cannot be packaged as a framework.
"Don't listen to the LinkedIn influencers... The way the model works is you have to approach it empirically. You have to give it a task that's too hard. You have to give it the tools to verify the work like you would yourself... That's kind of it." — Boris Chernyi 00:23:39
3. Companies Identified
Anthropic AI safety company and creator of the Claude model family. Discussed as the builder of Claude Code, Opus 5, mechanistic interpretability-based prompt injection defense, and dynamic workflows.
"This is a function classifier which we run for all traffic. And what this is doing is it's based on Anthropic's mechanistic interpretability work." — Boris Chernyi 00:02:39
Bun Open-source JavaScript runtime written in Zig, an alternative to Node.js. Mentioned for using Claude to fuzz its own codebase for memory leaks and then rewriting the entire Zig codebase into Rust via a single Claude Code dynamic workflow prompt over 11 days. The Rust version is now what powers Claude Code in production.
"He had the model rewrite it from Zig to Rust. It was one prompt. It was a dynamic workflow. And it ran for 11 days. And it rewrote the entire code base." — Boris Chernyi 00:17:33
Electron Cross-platform desktop app framework. Mentioned as the current basis for the Claude desktop app, which Boris is using Claude Tag (Claude in Slack) to rewrite natively in Swift — a session that has been running for over two weeks.
"I wanted to see like what would it feel like if it was native? And so what I did is I started a Claude Tag session... I was like, okay, now I want you to rewrite the Electron app in Swift." — Boris Chernyi 00:21:17
OpenCV Open-source computer vision library. Mentioned as a tool that, when given to Opus 5, enables it to draw portraits, animals, and landscapes — a capability Anthropic did not explicitly train for and discovered through internal experimentation.
"Someone figured out that you can give Opus 5 OpenCV. And you can have it draw... We didn't train the model to draw. It's just like the solicitation gap." — Boris Chernyi 00:18:56
GitHub Used as the source of Mac OS virtual machine runners to give Claude Tag the ability to run and screenshot a Mac application for pixel-by-pixel UI verification.
"I hooked up a runner so it was able to start a Mac virtual machine using GitHub." — Boris Chernyi 00:21:41
Slack Used as the interface for Claude Tag (Claude running inside Slack). Also used internally at Anthropic to manage codebase maintenance routines, with Claude posting live progress screenshots to a dedicated channel.
"Claude also decided to live blog it. So what it did is it created a Slack channel internally and it started just posting screenshots every few minutes of its progress." — Boris Chernyi 00:23:12
4. People Identified
Boris Chernyi Creator of Claude Code at Anthropic. Described as the engineer who identified the "product overhang" opportunity in Sonnet 3.5 and built the minimalist terminal-access harness that became Claude Code. Runs multi-week, multi-thousand-agent Claude sessions as standard practice.
"The idea with Claude Code was, all right, we think the model can probably do this. What if we get rid of all the scaffolding and just give the model the simplest possible harness so it can write an entire file at a time and build an entire feature." — Boris Chernyi 00:13:32
Jared (Bun team) Engineer on the Bun team who iteratively tested whether each new Claude model could rewrite Bun's Zig runtime into Rust, finally succeeding with Claude's newer models. The resulting Rust rewrite is now in production inside Claude Code.
"Jared on the team was like, okay, let's just rewrite it. Maybe the model can do this... And starting with Claude's newer models, the model started to be able to do it... He had the model rewrite it from Zig to Rust. It was one prompt. It was a dynamic workflow. And it ran for 11 days." — Boris Chernyi 00:17:07
5. Operating Insights
Give the Model Exit Criteria and Verification Tools, Not Step-by-Step Instructions
The structural design principle for high-performing agentic tasks is: describe the goal, define the guardrails, specify how the model can verify completion, then step back. The Electron-to-Swift rewrite prompt — "run both apps, screenshot them, compare pixel by pixel, don't stop until you're done" — is a template for this approach.
"You want to describe the task. You want to describe the guardrails. You want to describe the exit criteria. And then just let the model cook and come back in a little bit." — Boris Chernyi 00:15:35
Use Loops and Routines to Automate Codebase Maintenance Entirely
Routines (cloud-based cron jobs in Claude Code) can be deployed with single-sentence prompts to run daily maintenance tasks — dead code cleanup, abstraction deduplication, test coverage, experiment cleanup — freeing engineers entirely from maintenance work. Anthropic runs 20–30 such routines daily across all codebases.
"One routine is clean up dead code. This is a single prompt. It's like one sentence. Claude runs this every day. It'll look for dead code across all the code bases using static and dynamic analysis. We didn't prompt that. It just kind of figured it out." — Boris Chernyi 00:28:46
Run Ablations on Your Entire Stack With Every Major Model Release
Treat model upgrades like a scientific experiment: delete everything (system prompt, CLAUDE.md, skills, hooks, tools) and reintroduce components only when you observe repeated failure. This is now Anthropic's standard operating procedure for Claude Code.
"For people that aren't building agentic products, but you're using Claude Code, every six months delete your CLAUDE.md, delete your skills, delete your hooks. See what the model does and it might surprise you." — Boris Chernyi 00:07:17
6. Overlooked Insights
Mechanistic Interpretability Is Now Shipping in Production as a Real-Time Security Layer
Most discussion of mechanistic interpretability treats it as a long-horizon research program. Boris reveals it is already deployed as a live classifier running on all Claude Code traffic, identifying prompt injection by observing literal neuron activations — not behavioral heuristics. This means Anthropic has a technical moat in agent security that is both proprietary and grounded in a capability (neuron-level interpretability) that competitors cannot easily replicate by copying the product surface.
"It's based on Anthropic's mechanistic interpretability work. Where it's literally we're looking at neurons in the model's brain that light up when prompt injection happens. So the model won't even tell you, but we can actually see those neurons and we can figure out and diagnose that it's happening. And then you combine that with the auto mode classifier. And with these three layers, we just cannot demonstrate prompt injection anymore." — Boris Chernyi 00:02:39
"Abstraction Police" Routine Points to an Entirely New Category of AI-Native DevOps Tooling
Boris mentions almost in passing an internal routine called "abstraction police" that daily scans all codebases for near-duplicate abstractions and unifies them. This is a novel class of autonomous software quality work — beyond linting, beyond test generation — that no commercial devops or static analysis tool currently offers. The fact that it is running in production at Anthropic and generating daily pull requests suggests an uncaptured product category that a startup could build and sell to every engineering organization.
"I forgot what we called it. I think we called it abstraction police. And the idea is there are often in a big code base the same abstraction and it appears multiple times... So Claude kind of goes out every day across all our code bases. It finds these nearly duplicated abstractions and it unifies them." — Boris Chernyi 00:29:44