Loading video player...
Anthropic accidentally shipped their internal AI coding agent Claude Code with source maps included in the npm bundle. That one mistake exposed nearly 1,900 TypeScript files to anyone who looked inside their installation folder. Engineers downloaded it, read through it, and rebuilt it from scratch. First in Python. Then in Rust. The repo hit 100K GitHub stars faster than any repo in history. In this video we break down what was actually inside the agent loop, the tool system, hooks, memory compaction, CLAUDE.md, and sub-agent orchestration. And why every one of those patterns is something you already know from distributed systems. š Related Resources: ā ByteMonk Blog: https://blog.bytemonk.io/ ā System Design Course: https://academy.bytemonk.io/courses ā LinkedIn: https://www.linkedin.com/in/bytemonk/ ā Github: https://github.com/bytemonk-academy ā Claw Code repo: https://github.com/ultraworkers/claw-code ā Claude Code docs: https://docs.anthropic.com/claude-code ā±ļø Timestamps 0:00 The repo that broke GitHub's star record 0:46 What actually happened 1:41 Full architecture overview 2:47 The agent loop 4:12 The tool system 4:53 Hooks 7:15 Memory 6:13 CLAUDE.md and Skills 7:07 Sub-agents 7:51 Agentic Patterns https://www.youtube.com/playlist?list=PLJq-63ZRPdBt423WbyAD1YZO0Ljo1pzvY https://www.youtube.com/playlist?list=PLJq-63ZRPdBssWTtcUlbngD_O5HaxXu6k https://www.youtube.com/playlist?list=PLJq-63ZRPdBu38EjXRXzyPat3sYMHbIWU https://www.youtube.com/playlist?list=PLJq-63ZRPdBuo5zjv9bPNLIks4tfd0Pui https://www.youtube.com/playlist?list=PLJq-63ZRPdBsPWE24vdpmgeRFMRQyjvvj https://www.youtube.com/playlist?list=PLJq-63ZRPdBslxJd-ZT12BNBDqGZgFo58 #anthropicclaude #bytemonk #anthropiccodeleak