Skip to content

Latest commit

 

History

History
23 lines (15 loc) · 852 Bytes

File metadata and controls

23 lines (15 loc) · 852 Bytes

Claude Code - Source Leak

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.

What's in here

  • 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

Why this exists

For anyone who wants to read and study how Anthropic built their coding agent.

Disclaimer

This is here for educational purposes only.