Speaker Notes

Inside Claude Code With Its Creator Boris Cherny

Claude Code creator Boris Cherny shares insights on building AI developer tools for future model capabilities, leveraging simple terminal interfaces, multi-agent swarms, and context management.

Y Combinator · 50:10 · YouTube ↗

Podcast episode · 2 hosts + guest  Intermediate · Product strategy and developer workflows

Highlights

7 clips · 7 min of 50 min
    • Do not design products constrained by today's LLM limitations.
    • Anticipate frontier capabilities arriving in the near future.
    • Core bets pay off when you wait for the model to catch up.
    • The terminal was chosen initially because it required no UI development.
    • Simple design constraints made the tool immediately fun and frictionless.
    • Product overhang allowed a simple prototype to scale organically.
    • Avoid over-engineering instructions in project context files.
    • If context files get too large, delete them and start fresh.
    • Rely on minimal guidance since model capabilities change rapidly.
    • Use uncorrelated context windows to give parallel agents fresh, unpolluted contexts.
    • Autonomous swarms can build entire features over a weekend given a spec and a task board.
    • Multiple agents with fresh context windows prevent pollution.
    • Throwing more context at a problem acts as test-time compute.
    • Agent topologies enable complex features like plugins to build themselves.
    • Plan mode has a simple implementation: adding a single sentence to prompt the model not to write code yet.
    • Observing user workflows for latent demand reveals features like plan mode that can be shipped rapidly.
    • Models naturally want to use tools and interact with the world to solve problems.
    • Avoid boxing models into rigid APIs; instead, enable the exact tool usage patterns they naturally attempt.
    • Build products for future model capabilities to avoid being leapfrogged as models rapidly advance.
    • Respect the bitter lesson and avoid over-investing in complex scaffolding that base models will soon render obsolete.

Questions this video answers

6 · every answer cites the moment it was said
01 Why did you choose a terminal interface for Claude Code? 2 sources · 4:23

The terminal interface started completely by accident because it was the cheapest and easiest way to get a prototype up and running without building a UI. The creator just wanted a simple way to test the API and bash tool use, but it quickly gained traction and stayed there.

02 How should I manage my CLAUDE.md file when it gets too large? 2 sources · 10:05

Keep your instructions minimal and focused only on the absolute essentials like team PR workflows. If it expands to thousands of tokens and starts causing issues, you should simply delete it and start fresh. As models improve, you need fewer instructions to keep the model on track.

03 How do multi-agent swarms and uncorrelated context windows work? 2 sources · 22:07

Multi-agent swarms allow multiple agents to operate with fresh, uncorrelated context windows, acting as a form of test-time compute. An engineer can set up a spec and an Asana board, allowing independent agents to pick up tasks and build features over a weekend without intervention.

04 What is plan mode actually doing under the hood? 2 sources · 25:08

Plan mode is a prompt instruction with a limited lifespan that prevents the model from writing code prematurely. It works by simply adding a sentence to the prompt telling Claude not to code yet, letting it map out tasks before execution.

05 How should I design developer tools for AI models? 2 sources · 31:22

You should focus on serving the latent demand of the model by observing how it naturally wants to interact with the world and use tools. Rather than boxing the model into rigid APIs, you should enable its desired workflows and build for the model capabilities expected six months in the future.

06 What impact has Claude Code had on internal productivity at Anthropic? 2 sources · 41:00

Productivity measured by pull requests has grown significantly, with output per engineer increasing substantially since Claude Code was launched. Many engineers and creators now rely on it completely, uninstalling their traditional IDEs and writing 100% of their code through Claude Code.

Section-by-section summary

10 parts

Building for future models rather than today's limitations

Founders should build for the capabilities of models six months out rather than what they can do today. Claude Code was repeatedly rewritten as the underlying models rapidly improved their coding abilities.

Accidentally creating a CLI coding assistant

Claude Code started as an accidental prototype built in a terminal simply to test Anthropic's API and tool use. Its simple CLI form factor resonated with developers because it avoided heavy IDE overhead and focused on core capabilities.

Keeping Claude MD minimal and deleting stale instructions

Internal dogfooding proved that keeping configuration files like Claude MD extremely short prevents instruction bloat. When instructions become outdated or too large, the best strategy is to delete them and add back only what is necessary.

Embracing first-principles thinking and model-first debugging

Senior engineering requires shedding rigid traditional habits like strict adherence to specific editors or manual debugging. Modern engineers leverage agents to analyze heap dumps and logs, shifting the mindset toward scientific first-principles.

Scaling development with multi-agent swarms and topologies

Advanced workflows utilize agent topologies and uncorrelated context windows to run multiple sub-agents in parallel. Entire features, such as plugins, can be successfully built over a weekend by autonomous agent swarms guided by high-level specs.

Plan mode is simply a prompt instruction with a limited lifespan

Plan modes and sub-agents are implemented simply by instructing the model not to code yet or to spawn recursive sub-agents for parallel research. As base models improve, explicit plan modes and manual babysitting will become obsolete.

Build dev tools that serve the latent demand of the model

Product development should focus on latent demand by making things people are already trying to do easier. For dev tools, founders should observe what tools the model naturally wants to use and build technical solutions around that behavior.

Claude Code mirrors TypeScript's pragmatic and unacademic design

Much like TypeScript's early days of making extreme and weird design choices to fit messy JavaScript codebases, Claude Code's success comes from practical utility rather than academic purity. The terminal UI and CLI interface evolved organically based on what felt delightful to use.

Build for future models and embrace the bitter lesson

Founders must build for the model capabilities of six months from now rather than today's limits. Following the bitter lesson means avoiding over-investment in custom scaffolding that future base models will natively handle.

Internal productivity at Anthropic doubled with Claude Code

Since the introduction of Claude Code, engineering productivity at Anthropic measured by pull requests has grown by over 100 percent. Technical and non-technical employees alike rely heavily on agents, pointing toward a future where traditional IDEs disappear.

0:00 / 50:10
k play/pause · f fullscreen · m mute
n next · p previous clip · t highlights/full
< > slower/faster · / search what was said
  • CLAUDE.md5× · first 7:57

    A markdown file containing project-specific instructions and rules to guide the coding assistant.

  • Plan Mode10× · first 0:36

    A restricted mode used for tackling complex research or difficult bug-fixing tasks with the AI agent.

  • Latent demand3× · first 8:00

    The product strategy of making things that people are already trying to do much easier.