This repository contains an unmodified archive of the leaked source code for Claude Code, Anthropic's AI-powered coding agent.
Also known as the Claude Code leak, Anthropic source code leak, or Claude Code source code leak, this archive is intended for research, education, and technical analysis.
Nothing has been added besides this README. Nothing has been removed or changed. This is the raw source as leaked.
- Agent orchestration and query engine
- Tool implementations for Bash, FileEdit, FileRead, FileWrite, Glob, Grep, WebSearch, WebFetch, Notebook, and related developer tools
- API service layer and model provider integrations
- MCP, or Model Context Protocol, server management
- Permission system and sandboxing logic
- CLI transport layers, including SSE, WebSocket, and hybrid transports
- Prompt construction and system prompt logic
Claude Code is Anthropic's AI coding agent. This repository exists as a public archive for developers, researchers, and security-minded engineers who want to study how a modern AI coding agent is structured.
Common search terms for this topic include:
- Claude Code GitHub
- Claude Code leak
- Claude Code source code
- Anthropic code leak
- Anthropic source code leak
- Anthropic leaked source code
- Claude Code source map
- Claude Code repo
This repository is for educational and research purposes. It may be useful for studying:
- AI coding agent architecture
- Tool-calling systems
- Prompt construction
- Local development workflows
- Sandboxing and permission models
- MCP server integration
- CLI-based AI agent design
This repository is provided for educational and research purposes only.
No affiliation with Anthropic AI. Claude Code is a product of Anthropic AI.
Reverse engineered using JavaScript source maps by Serbyte Web Design & Development, a software development firm creating custom software, AI automations, and open-source developer tools.