This repository contains an unmodified leak of the source code for Claude Code, Anthropic's AI-powered coding agent.
Nothing has been added (besides this README), removed, or changed. This is the raw source as Leaked.
- Agent orchestration and query engine
- Tool implementations (Bash, FileEdit, FileRead, FileWrite, Glob, Grep, WebSearch, WebFetch, Notebook, etc.)
- API service layer and model provider integrations
- MCP (Model Context Protocol) server management
- Permission system and sandboxing
- CLI transport layers (SSE, WebSocket, hybrid)
- Prompt construction and system prompt logic
For anyone who wants to read and study how Anthropic built their coding agent.
This is here for educational purposes only.