Claude Code leak exposes a Tamagotchi-style ‘pet’ and an always-on agent | The Verge
About this article
Anthropic says “human error” resulted in a leak that exposed Claude Code’s source code. The leaked code, which has since been copied to GitHub, offers a look at the inner workings of the AI coding tool.
AINewsTechClaude Code leak exposes a Tamagotchi-style ‘pet’ and an always-on agentThe more than 512,000 lines of leaked code appear to show unreleased features, instructions for Claude, and more.The more than 512,000 lines of leaked code appear to show unreleased features, instructions for Claude, and more.by Emma RothMar 31, 2026, 10:24 PM UTCLinkShareGiftImage: The VergeEmma Roth is a news writer who covers the streaming wars, consumer tech, crypto, social media, and much more. Previously, she was a writer and editor at MUO.After Anthropic released Claude Code’s 2.1.88 update, users quickly discovered that it contained a package with a source map file containing its TypeScript codebase, with one person on X calling attention to the leak and posting a file containing the code. The leaked data reportedly contains more than 512,000 lines of code and provides a look into the inner workings of the AI-powered coding tool, as reported earlier by Ars Technica and VentureBeat.Users who have dug into the code claim to have uncovered upcoming features, Anthropic’s instructions for the AI bot, and insight into its ”memory” architecture. Some things spotted by users include a Tamagotchi-like pet that “sits beside your input box and reacts to your coding,” according to a post on Reddit, along with a “KAIROS” feature that could enable an always-on background agent. Users also found a comment from one of Anthropic’s coders, who admits at one point that the “memoization here increases ...