Anthropic’s Claude Code Source Leak Reveals Three-Tier Memory Architecture and Autonomous Mode
More than 500,000 lines of source code from Anthropic’s AI coding tool Claude Code could be reconstructed after a developer mistakenly included a source map in an npm package release. The leak exposed core designs for long-running AI Agent operations and context management, while also raising the risks of imitation by competitors and supply-chain attacks.
The latest disclosures show that the code includes a three-tier memory architecture for storing short-term, session and long-term information, KAIROS for autonomous operation, and a “hidden mode” for covert contribution codes. Anthropic said the incident did not affect customer data. As of April 7, security researchers had found hackers exploiting interest in the leak to distribute malware.
All Coverage
8 original reportsThe Backstory
The history behind this eventAnthropic Details Evolution of Agentic Technology on Claude Platform
As generative AI matures, artificial intelligence is evolving from a simple question-and-answer assistant into an “AI agent” capable of acting autonomously. Anthropic’s Claude platform is at the forefront of this shift. AI agent infrastructure gives AI systems memory and the ability to perform complex reasoning independently, helping companies automate daily operations and fundamentally reshaping productivity in human-machine collaboration.
In July 2026, Anthropic disclosed for the first time how the Claude platform had evolved toward agentic capabilities over the previous six months. The company introduced “managed agents” with three core capabilities: memory, anticipating outcomes and planning. The technology has been used to transfer expertise at Urrea’s factory and support end-to-end development at Shopify, marking a shift by developers from rigid workflows toward collaborative strategies involving an Advisor.
Anthropic Details Four Claude Code Loop Patterns and Best Practices
Anthropic recently outlined Claude Code’s agentic loop design, explaining how development teams can move AI beyond one-off code generation and integrate it into continuously running daily workflows. The key is to select an interaction model suited to each task’s risk and complexity, balancing development quality, automation and token costs.
Anthropic identified four patterns: turn-based loops requiring human intervention, goal-based loops focused on completing an objective, and time-based and proactive loops that can operate automatically. The first two are suited to tasks requiring step-by-step confirmation, while the latter two support scheduled or proactive execution. Related reports did not disclose a publication date, any monetary amounts or specific token usage.
Hidden China Proxy Signals in Claude Code System Prompt Spark Privacy Concerns
Anthropic’s Claude Code is an AI tool that helps developers write and modify code. Researchers found that its system prompt appeared to use specific character transformations to conceal signals about user routing, time zones and whether traffic passed through a proxy in China. The discovery raised privacy and transparency concerns over the collection of environmental information without adequate disclosure.
As of July 19, 2026, Anthropic technical staff said the mechanism was an experiment designed to prevent account reselling, service abuse and model distillation, rather than general surveillance. The detection code was slated for removal after researchers disclosed it. The company had not revealed the number of affected users, when the experiment began or any associated financial amounts.
Anthropic Flagship AI Model Claude Mythos Leaked, Raising Cybersecurity Concerns
Anthropic is developing its flagship Claude Mythos model with advanced coding, reasoning and autonomous cybersecurity capabilities. Its ability to rapidly chain vulnerabilities together could lower the barrier to cyberattacks, making the leak more than a product-secrecy issue. It also raises concerns about zero-day exploitation, responsible disclosure mechanisms and the defense of critical infrastructure worldwide.
As of July 19, 2026, Anthropic was investigating unauthorized access caused by a system configuration error. Reports said vulnerabilities could be attacked within as little as four hours of disclosure. The company is not making Mythos broadly available for now, instead prioritizing trials by cyber defense organizations and addressing risks through its Glasswing program and threat-intelligence sharing.
Anthropic Acknowledges Claude Code Usage-Limit Problems, Opens Investigation
Claude Code is Anthropic's agentic AI coding tool, which repeatedly reads conversations and code. Successful prompt-cache hits can sharply reduce the token cost of repeated inputs. The problem therefore directly affected Max subscribers paying $100 or $200 a month. Because usage allowances are shared with other Claude interfaces, abnormal consumption can disrupt development and drive up additional charges.
On March 30, 2026, Anthropic acknowledged that users were reaching Claude Code limits faster than expected and made the issue its highest investigative priority. In a postmortem published on April 23, it confirmed that three overlapping problems were responsible: reasoning-effort settings, cache optimization and a 25-word system instruction. The fixes were included in v2.1.116, released on April 20, and usage was reset for all subscribers.
Anthropic Overhauls Claude Code Desktop With Side-by-Side Sessions and Integrated Development Tools
Anthropic launched Claude Code in February 2025, allowing developers to use natural language in the terminal to read and write code, run tests and handle tasks spanning multiple files. As AI agents increasingly work on multiple tasks in parallel, centralized progress tracking and fewer terminal switches and code conflicts have become more important. The desktop app has consequently evolved into an integrated development workstation.
Anthropic launched a redesigned Claude Code desktop app on April 14, 2026, adding a multi-session sidebar and drag-and-drop layouts. It integrates a terminal, file editing, diff views and live previews, and offers three display modes. On May 11, it also released an Agent View research preview that lets users centrally monitor and respond to background agents. The feature is available on Pro, Max, Team, Enterprise and API plans.
Anthropic Explains Claude Code ‘Context Rot,’ Offers Five Session Management Tools
Anthropic says Claude Code may still suffer from “context rot” after instructions, code and error messages accumulate over extended use, even with a context window of up to about 1 million tokens. The degradation can weaken its reasoning and ability to follow instructions, affecting developers’ ability to reliably use AI for complex, multi-stage software engineering work.
Anthropic’s technical team recently outlined five session management methods: Continue to carry on working, Rewind to restore an earlier state, Clear to erase context, Compact to condense key information, and subagents to share tasks. The company recommends proactively organizing conversations before information overload sets in. It did not provide an exact publication date or disclose any investment or product pricing figures.
Subscribe to Mark Radar Weekly
Every Friday, the week's strongest signals in your inbox. Unsubscribe anytime.