How Claude Code Is Built

Gergely Orosz ยท pdf ยท 2025-09-23 source โ†— Reader ๐Ÿ–ฅ๏ธ

Agent-Native DesignAgentic EngineeringClaude CodeMulti-Agent OrchestrationPull Requests & Async Code ReviewRisk TieringSRE & Incident ResponseTest-Driven Development
Claude Code is built by a small team that treats the Claude model itself โ€” not its own surrounding code โ€” as the real product, deliberately minimizing scaffolding, choosing an "on-distribution" tech stack the model already masters, deleting code whenever a new model release subsumes it, and restructuring code review, testing, incident response, and prototyping around AI doing the first pass; Orosz presents this as a plausible preview of how "AI-first" engineering teams will operate, while flagging that Anthropic's unlimited, cost-free access to its own frontier model and its identity as a research lab (not a product company) limit how directly the specifics transfer elsewhere.

practical ยท mixed โ€” Primarily expository/narrative reporting (an interview-based case study of how one team builds a product), structured around seven numbered sections, but it closes with an explicitly argumentative claim: that this team's practices preview the future of AI-assisted engineering teams generally โ€” a claim the author himself partially undercuts with caveats about Anthropic's atypical context.

Structure

PartRole
Origin story: a music-controlling AppleScript prototype given filesystem/bash access, Boris Cherny's early solo use, internal viral adoption, and the internal debate over whether to release Claude Code publicly at allcontext/evidence
Tech stack and architecture: TypeScript/React+Ink/Yoga/Bun, chosen to be 'on distribution'; no virtualization/sandboxing; a seek-permission system as the safety mechanism; a feature list (hooks, MCP, output styles, enterprise IAM, SDK)evidence
Building and shipping features in days, not weeks: 60-100 internal releases/day, ~5 PRs/engineer/day, the 20-prototype todo-list case studyevidence
Redesigning the terminal UX: contextual loading messages, tooltips, a vibe-coded Markdown rendererevidence/example
What 'AI-first' software engineering looks like: AI first-pass code/security review, TDD renaissance, AI-assisted incident response, framework migrations, BigQuery/monitoring dashboards, deliberately minimal feature-flagging, and 'multi-clauding' (parallel agents)core argument
Building subagents: the three-day hackathon that discarded a complex multi-agent topology for the simplest viable orchestrator designevidence/case study
Future of AI-assisted engineering teams: obsessive dogfooding, 5+ prototypes/day as a new baseline, product-minded engineers as a hiring implication, 'developer joy,' and an explicit caveat section on how Anthropic is a 'different type of startup'conclusion, partially self-undermining

Key terms

Propositions

Arguments

Claude Code should run locally with no virtualization/sandboxing and rely on a user-granted permission system as its safety mechanism. strength: medium
Explicit premises:
Implicit premises:
Inferences:
Claude Code's AI-first restructuring of code review, testing, incident response, and monitoring previews how general engineering teams will work in the near future. strength: low
Explicit premises:
Implicit premises:
Inferences:

Narratives

Questions addressed

Gaps

Related documents