#347 · Primary category: Education & Research

claude-code

claude-ai claude-code leaked-claude-code leaked-code

🚀 Open source Claude Code CLI source code. Advanced AI Agent for developers. Includes TypeScript codebase for LLM tool-calling, agentic workflows, and terminal UI. Remember this is just the skeleton not the brain itself. Found by Chaofan Shou.

Project last updated:04/04/26

GitHub Stars

4.0K

Forks

4.8K

Contributors

1

License

Other

Why we included this project

In early 2026, the full source of Claude Code, Anthropic's AI coding CLI, turned up inside the npm package, exposed by a sourcemap file, and this repo preserves that leaked code along with a clear write-up of how it happened. For a developer who wants to see how a production AI coding agent really works, this is a rare inside look: the actual TypeScript behind 40+ tools, the multi-agent orchestration, the React/Ink terminal renderer, and hidden systems like the memory-consolidation 'dream' service and undercover mode. The README is honest that this is a research and archival artifact rather than something to deploy, and it makes clear the author did not leak the files, only organized them for study. If you would rather read the real source than blog summaries about agentic coding tools, this is one of the few places you can. Just do not ship it, since the code belongs to Anthropic; treat it as a learning reference, not something to redistribute.

Articles for this project

No articles for this project yet.

To suggest a topic or contribute an article, contact us.

Related projects in this category