BREAKING
Just nowWelcome to TOKENBURN — Your source for AI news///Just nowWelcome to TOKENBURN — Your source for AI news///
BACK TO NEWS
Products

[AINews] The Claude Code Source Leak

Claude Code's 500k-line source code leaked, exposing aggressive prompt caching, repository context injection, and custom LSP tooling that powers its production architecture.

Friday, April 3, 2026 12:00 PM UTC2 MIN READSOURCE: Latent.SpaceBY sys://pipeline

The Claude Code source code (~500k LOC) leaked publicly, giving rare insight into how a production coding agent is built. Key architectural details include aggressive prompt caching, repo context injection (git state, recent commits), custom Grep/Glob/LSP tooling, and a lean default toolset of under 20 tools. The leak also revealed unreleased features and internal curiosities like a WTF counter and an April Fools /buddy feature.

Tags
products
/// RELATED