TLDR · PROGRAMMING, DESIGN & DATA SCIENCE
INSIDE THE CLAUDE CODE SOURCE
Summary from the TLDR newsletter
Claude Code CLI's source code was recently leaked on GitHub. This post breaks down how the system works, where Anthropic made clever engineering choices, and where Anthropic's approach diverges from OpenAI's Codex. Claude Code is about 500,000 lines of TypeScript, with the actual API call comprising maybe 200 of them. Everything else in the harness.