AI Clones Codebase in 2 Hours, Sparks Industry Debate

An accidental leak of Anthropic's Claude Code led to its rapid, AI-powered recreation as 'Claw Code' in just two hours. This event highlights the growing power of AI in software development and sparks debate about the future of coding.

3 hours ago
4 min read

AI Rewrites Codebase in Record Time, Sparking Debate

The world of artificial intelligence saw a stunning development recently when a complex software project, Claude Code, was reportedly cloned and rewritten in just two hours. This rapid recreation, dubbed ‘Claw Code,’ has become the fastest-growing open-source project on GitHub ever, surpassing 50,000 stars in a mere two hours after its release.

The incident began when Anthropic, the company behind Claude Code, accidentally leaked its source code. This leak occurred after an update intended to add a playful ‘Tamagotchi’ feature for April Fools’ Day. The internet quickly responded, copying and distributing the code. Anthropic then issued numerous Digital Millennium Copyright Act (DMCA) takedown notices, attempting to remove the leaked code from various platforms.

The Rise of ‘Claw Code’

In response to Anthropic’s actions, a developer named Sigrid Jin, known for his deep understanding of AI systems, decided to recreate Claude Code from scratch. This process, known as ‘clean room development,’ involves rebuilding software functionality without using the original proprietary code. Jin successfully created ‘Claw Code’ using Python in just two hours, a feat that traditionally would take teams of engineers months or years.

The concept of clean room development is similar to how a legal team might recreate a product to avoid copyright infringement. Imagine Photoshop, a powerful image editing software. If another company created a new program that had all the same features and performed the same tasks as Photoshop, but used entirely different code written from scratch, it would be legal, even if it looked and acted very similarly. This is precisely what Jin did with Claude Code.

Claw Code was released under the permissive MIT license, allowing for widespread use and modification. The project’s rapid ascent on GitHub highlights the growing power of AI in software development and raises questions about the future of coding.

AI as a ‘Clean Room’ Developer

Traditionally, clean room development involved two separate teams: one to analyze the original software and create specifications, and another isolated team to build the new software using only those specifications. This ensured no copyrighted material was directly copied. However, Jin’s achievement demonstrates how AI can now perform both roles simultaneously and at an incredible speed.

The AI tools Jin used, including a workflow layer called ‘Oh My Codeex’ (OMX) built on top of OpenAI’s open-source Codex, allowed him to effectively serve as both the ‘dirty’ analysis team and the ‘clean’ development team. This AI-powered approach to clean room development is a significant shift, enabling the rapid recreation of complex software architectures.

DMCA Takedowns and Ironic Twists

Anthropic’s response to the leak involved aggressive DMCA takedown requests. These requests are legal tools used to protect copyrighted material online. However, Anthropic’s notices were criticized for being overly broad, mistakenly targeting many repositories that did not infringe on their copyright. This overreach led to backlash from the developer community and even prompted Anthropic to retract some of the notices, admitting to wrongly taking down legitimate projects.

Ironically, Anthropic’s attempt to control the spread of the leaked code may have inadvertently spurred the creation and popularity of Claw Code. The DMCA takedowns, intended to suppress the code, instead highlighted the situation and fueled the rapid growth of Jin’s independently created, DMCA-proof version.

Further irony emerged with the discovery of a leaked ‘undercover mode’ within Claude Code itself. This feature was reportedly designed to allow Claude Code to make changes to other repositories without revealing Anthropic’s involvement, effectively acting as a stealth development tool.

Why This Matters: The Future of Software Development

The creation of Claw Code in two hours signals a major shift in software development. It suggests that the ability to write code is becoming less of a bottleneck, and the focus is moving towards higher-level skills.

According to Jin’s analysis, the true breakthrough isn’t just the Python code or the Rust port that followed. It’s the underlying AI system, a ‘Clawhip’ based agent coordination system, that built them while Jin was asleep. This system, orchestrated through simple chat messages on Discord, broke down complex tasks, assigned them to AI agents, wrote code, tested it, and fixed errors autonomously.

This development implies that the most valuable skills in the future will not be typing speed or coding proficiency, but rather architectural clarity, task decomposition, system design, and the ability to direct AI agents effectively. The ability to know *what* to build, *why* to build it, and how to articulate those requirements to AI systems will become paramount.

This shift could redefine job roles in the tech industry. Instead of focusing on writing code, professionals may focus on designing AI systems, managing AI agents, and providing the human judgment, taste, and conviction needed to guide technological progress. The gap between being able to build something and not being able to build it is rapidly closing, potentially leading to a future where individuals can achieve unprecedented impact with AI assistance.

Looking Ahead

The rapid development of Claw Code serves as a powerful example of AI’s accelerating capabilities. As AI tools become more sophisticated, the nature of human involvement in creation and innovation will continue to evolve. The question for developers and the industry at large is not just *if* AI can build complex systems, but *how* humans will best collaborate with AI to shape the future.


Source: Claude Code Cloned in 2 hours…. (YouTube)

Written by

Joshua D. Ovidiu

I enjoy writing.

12,938 articles published
Leave a Comment