Claude Code's source just leaked — I extracted its multi-agent orchestration system into an open-source framework that works with any LLM

Posted by JackChen02@reddit | LocalLLaMA | View on Reddit | 316 comments

Claude Code's full source code was leaked via source maps in the last 12 hours. 500K+ lines of TypeScript with the full architecture exposed.

I went through the leaked code and extracted the multi-agent orchestration layer — coordinator mode, team management, task scheduling, inter-agent messaging — and rebuilt it as a standalone open-source framework.

The key difference from the original: it's model-agnostic. You can run a team where one agent uses Claude for planning and another uses GPT-4o for implementation — same workflow, shared memory, message bus between them.

Core features extracted from Claude Code's internals:

\~8000 lines of TypeScript, MIT licensed.

GitHub: https://github.com/JackChen-me/open-multi-agent

Would love to see community adapters for Ollama, llama.cpp, vLLM, etc. The LLMAdapter interface is simple — implement chat() and stream() and you're done.