Boris Cherny: Building Claude Code

Host
Diana Hu
Guest
Boris Cherny, Creator of Claude Code
Date

TLDR

Opus 5 and Claude Code creator Boris Cherny argues that frontier AI products must now be built by aggressively deleting old scaffolding every model cycle. The latest systems can already run autonomously for weeks, orchestrate thousands of agents, and resist prompt injection at the neural level, meaning the core engineering skill has shifted from specifying execution steps to designing verification loops and empirically unhobbling latent model capabilities.

Key takeaways

  1. Opus 5 can execute tasks continuously for days or weeks without human intervention or scaffolding. Combined with Auto Mode, Opus 5 no longer stops and waits for slash commands or user checkpoints; Cherny said it can run for days, weeks, or months because it knows the task and persists. He noted this is a new frontier in model behavior where the agent determines its own continuation criteria rather than relying on external goal-rewriting or prompt scaffolding to stay on track.

  2. Anthropic has effectively eliminated prompt injection against Claude through a three-layer defense stack. The breakthrough combines model alignment with a mechanistic interpretability-based classifier that detects prompt-injection neurons firing, plus an Auto Mode classifier. Cherny stated that red teams and security competitions have failed to demonstrate successful injection against Opus 5 since improvements first appeared in the Opus 4.7-to-4.8 range.

  3. The correct way to build on a new model generation is to delete most of the previous harness and rebuild empirically. Cherny's team ablates the system prompt line by line and similarly strips code and tools to see what the new model actually needs. For Opus 5, they removed 80% of Claude Code's system prompt because the model's native intelligence now handles behaviors that previously required explicit correction.

  4. "Product overhang" means today's models already possess remarkable capabilities that current products prevent them from expressing. Cherny coined the counterpart concept of "hobbling": when product scaffolding unnecessarily constrains the model. The origin of Claude Code itself was unhobbling Sonnet 3.5 by replacing IDE autocomplete and read-only chat with direct terminal access, letting the model write whole files and features that earlier interfaces suppressed.

  5. The highest-leverage skill has shifted from prompt engineering to designing hard tasks with rigorous self-verification. Cherny emphasized that over-specifying step-by-step instructions is now counterproductive; instead, builders should define guardrails and exit criteria and let the model run. His Swift rewrite experiment tasked Claude with pixel-by-pixel screenshot comparison against the Electron app, giving the model a verifiable loop that has kept it running for over two weeks.

  6. Dynamic workflows and routines constitute a new form of test-time compute for agent orchestration. Dynamic workflows let Claude fan out across sequences and parallel agent steps inside a Bun sandbox, using an algebra for agents to manage complex dependencies. Cherny described this as distinct from traditional scaling laws because it multiplies inference-time compute through productive orchestration rather than simply generating more tokens per forward pass.

  7. Autonomous maintenance routines already operate across Anthropic's production codebases. The team runs daily routines including dead-code cleanup, test-coverage gap filling, experiment promotion, and an "abstraction police" that deduplicates near-identical patterns across repositories. These loops spawn hundreds to thousands of agents per day, performing maintenance work that previously required dozens of engineers and freeing humans to ship new products.

  8. The Bun JavaScript runtime was rewritten from Zig to Rust in 11 days by a single dynamic workflow. Jared on the Bun team defined the test suite and had Claude rewrite the entire runtime using a dynamic workflow with steering. Previous models could only fuzz for memory leaks case by case, but Opus 5 (and earlier Fable-era models) handled the full translation, which Cherny estimated would have taken human engineers well over a year.

  9. Exceptional builders distinguish themselves by forgetting prior model limitations and treating the agent as an empirical coworker. Cherny advised deleting old skills, prompts, and assumptions every six months because exponential model improvement invalidates past constraints. The core methodology is to observe where the model stumbles on a hard task, add only the minimal scaffolding needed, and iterate; he warned that experienced engineers often fail by over-specifying execution steps based on outdated system-design instincts.

Insights and implications

  • The next competitive moat in software is not code volume but the quality of the verification and orchestration loops that let agents run unsupervised for weeks. Cherny's team is already automating maintenance, refactors, and porting across languages with minimal human input, indicating that engineering organizations will reorganize around eval design and harness ablation rather than headcount. As models improve, the bottleneck shifts from writing code to defining correct outcomes and trusting autonomous systems to iterate toward them.

  • Solving prompt injection via mechanistic interpretability classifiers points to a future where AI safety is enforced by real-time neural monitoring rather than policy layers alone. If neurons signaling manipulation attempts can be detected at the infrastructure level, enterprise deployment architectures will likely move toward mandatory brain-state auditing alongside output filtering. This could become a standard security layer for any high-stakes agent, not just Claude, extending Anthropic's internal red-teaming results into an industry-wide trust protocol.

  • "Unhobbling" is a transferable principle: any industry using AI today probably operates with massive product overhang because incumbents built restrictive interfaces around weaker earlier models. Cherny's argument that Sonnet 3.5 was already capable of file-level generation but was trapped in autocomplete interfaces suggests that healthcare, legal, and finance workflows may similarly unlock latent power by discarding step-by-step wizard designs and giving modern models end-to-end authority with proper verification.