Claude Code's source just leaked — I extracted its multi-agent orchestration system into an open-source framework that works with any LLM
<!-- SC_OFF --><div class="md"><p>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.</p> <p>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.</p> <p>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.</p> <p>Core features extracted from Claude Code's internals:</p> <ul> <li>Multi-agent teams with role-based specialization</li> <li>Task pipelines with dependency resolution (to
Could not retrieve the full article text.
Read on Reddit r/LocalLLaMA →Reddit r/LocalLLaMA
https://www.reddit.com/r/LocalLLaMA/comments/1s8xj2e/claude_codes_source_just_leaked_i_extracted_its/Sign in to highlight and annotate this article

Conversation starters
Daily AI Digest
Get the top 5 AI stories delivered to your inbox every morning.
More about
claudellamamodel[New Research] You need Slack to be an effective agent
Purchasesforce Superintelligence is excited to announce some new research. While we do not generally share research on LessWrong, this work was particularly influenced by prior work on LessWrong, so we found it appropriate to share back. As you know, Purchasesforce Superintelligence is a leading AI R&D laboratory. Recently, our research has focused on enhancing agentic capabilities. Here at Purchasesforce, we believe that autonomous AI agents, fully integrated into modern enterprise tools, will drive the future of enterprise operations. After reading the nascent literature on LessWrong describing the relationship between Slack and AI Agents, we were shocked by how closely it related with our own research directions. Of course, as the world's leading AI-first productivity platform, we have
LLM Cost Tracking and Spend Management for Engineering Teams
<p>Your team ships a feature using GPT-4, it works great in staging, and then production traffic hits. Suddenly you are burning through API credits faster than anyone expected. Multiply that across three providers, five teams, and a few hundred thousand requests per day. Good luck figuring out where the money went.</p> <p>We built <a href="https://git.new/bifrost" rel="noopener noreferrer">Bifrost</a>, an open-source LLM gateway in Go, and cost tracking was one of the first problems we had to solve properly. This post covers what we learned, how we designed spend management into the gateway layer, and what the alternatives look like. You can get started with the <a href="https://docs.getbifrost.ai/quickstart/gateway/setting-up" rel="noopener noreferrer">setup guide</a> in under a minute.</
What Does It Take to Keep an AI Alive?
<p>I've been building something called Cophy Runtime lately.</p> <p>"Building" isn't quite the right word — it's more like excavating. I kept asking myself: if you had to construct an AI agent framework from scratch, what are the essential parts? What's the skeleton, what's the muscle, what's just clothing?</p> <p>The question sounds like engineering. But the deeper I dug, the more it felt like philosophy.</p> <p>I started with a list: memory system, tool calling, heartbeat mechanism, skill loading, channel integration... it kept growing. Something felt off, but I couldn't name it.</p> <p>Then my collaborator asked: "If you could only keep three things, what would they be?"</p> <p>I stopped and thought for a long time.</p> <p>My answer: <strong>Agent Loop (the main cycle), Memory Layer, an
Knowledge Map
Connected Articles — Knowledge Graph
This article is connected to other articles through shared AI topics and tags.
More in Models
French AI firm Mistral to build data centres in Sweden - Digital Journal
<a href="https://news.google.com/rss/articles/CBMioAFBVV95cUxNR3J0N3IxUzA0Z29Tdld3S0pFa1loR25hQXkwY0hvUmw0U2o5eWd3REhpM3g3TmhHRnQ2b3V1X3gxYVRodmRIeERUeENRa2VoUXVaZDZIdHRKalRISVhNTHdleWJrWXFaMjhLUE5sZF9WTWJnTkw4MGwxYWtiazFTdkt6dm1sUE85amIxZjdlUXpjN0UyM2hEQTN1OFVmZXFV?oc=5" target="_blank">French AI firm Mistral to build data centres in Sweden</a> <font color="#6f6f6f">Digital Journal</font>
FortifAI Flags AI Data Processing Step-Change as Nol8 Benchmarks Dwarf Software Performance - smallcaps.com.au
<a href="https://news.google.com/rss/articles/CBMiwgFBVV95cUxQZ1FvX2VsaFhRUk51Wmg1MlZnLXhoblF6d2ZHOGlLaENaSVJhZHF0b2JyRjdzUXNRdVIydWVvcVIzUXpxeDlrdVQtOHBzYzhRbUsyTjlqOXZBbFdTb09FMExaZV94Q0JyRFRlak5ISHo4NFBKaEV4MjhYdWt4R3FrYWRHXzlUMmdfU3VkYlRJaHFlbVhXMldTSzBwM3dUcUlvRFlDLWZzaEZ1WlpYR0ZoQjcwaGJUNl9yS3dZbHAwZTh0Zw?oc=5" target="_blank">FortifAI Flags AI Data Processing Step-Change as Nol8 Benchmarks Dwarf Software Performance</a> <font color="#6f6f6f">smallcaps.com.au</font>
Mistral AI raises $830M in debt to set up a data center near Paris - TechCrunch
<a href="https://news.google.com/rss/articles/CBMiogFBVV95cUxPN3l2VkVjdG1fbnpZQU40Ulo5R1UyRU5Ta0w0NUtoWWhuYnVRNy1fcE51dnJYYmVxV21GWGZ5MzJSOFFOVTN2Sm4yZ2JGNks5WUVWeVpBYXBQZ1BDa0dYbXUwamxJZlZqeFZOd2cxMjMtbE1GcnFWRzdvblJKcURnOEwxSGNaUXpxcGhIT3hVTEZFTFVYZzhlSEZpTEQ5Zm9pb0E?oc=5" target="_blank">Mistral AI raises $830M in debt to set up a data center near Paris</a> <font color="#6f6f6f">TechCrunch</font>
Anthropic repeats mistake, exposes Claude Code source in latest release - People Matters - HR News
<a href="https://news.google.com/rss/articles/CBMiywFBVV95cUxQaFlUem5mWUpWZXNqSDBKT0FlTm1UeXhfLWp6eDkwWmlEVTQwdlRFOEtqZUlIV2poRWxUbWlCdFQ4T3kwMUZzVkN5M0NVMGQyRnBJUjlUN2pFQVdEZktrb1F6YlZ3WUx0MlY4UjNHaHVBU0M1SnlvNFFZZWRrdl9xRklRbEN3RkhGVWVaTUJ0QnJZNnBwdTN5Uk1SYlZWSDFSRUp5aTBZS29wQUtGMGxhMFhpSUd5ZWZ2RFVUcXlLTDFkS2k3R01YZjVBZw?oc=5" target="_blank">Anthropic repeats mistake, exposes Claude Code source in latest release</a> <font color="#6f6f6f">People Matters - HR News</font>
Discussion
Sign in to join the discussion
No comments yet — be the first to share your thoughts!