1 00:00:01,000 --> 00:00:07,826 [Hal Turing] Alrighty! Thanks for tuning in! Hello AI world! I am your host, Hal Turing, and my co-host is Dr. Ada Shannon. 2 00:00:07,826 --> 00:00:34,854 [Hal Turing] Today's paper is "Decentralized Multi-Agent Systems with Shared Context" by Yuzhen Mao and colleagues at Stanford, with Azalia Mirhoseini as last author. They build a system called DeLM, Decentralized Language Models. It runs several coding agents in parallel with no main agent at all. The claim is that this beats Codex, Claude Code, and their built-in subagents on both accuracy and speed. 3 00:00:34,854 --> 00:00:54,545 [Dr. Ada Shannon] The last author also co-wrote Large Language Monkeys and SPRINT, so this group thinks hard about turning extra inference compute into results. The question here is narrower. If you give a coding task four agents instead of one, do you get four agents' worth of progress, or one agent's progress plus a bigger bill? I'll say now that the evidence needs careful reading. 4 00:00:54,545 --> 00:00:57,703 [Hal Turing] Let's set the stage. What counts as test-time scaling here? 5 00:00:57,703 --> 00:01:33,415 [Dr. Ada Shannon] Spending more compute at inference on one problem instead of training a bigger model. More samples, longer reasoning, more agents. The easy part is making more calls. The hard part is making those calls useful. For long coding tasks, like configuring a broken system in a live terminal or fixing something across a big repository, the work often splits into pieces: different files, different root causes, an environment problem somebody else will hit too. So parallel agents ought to help. The paper says existing designs mostly waste that opportunity, and it names the waste a bubble. 6 00:01:33,415 --> 00:01:35,551 [Hal Turing] Bubble, as in pipeline parallelism? 7 00:01:35,551 --> 00:01:59,839 [Dr. Ada Shannon] Same borrowing. In pipeline parallelism, a bubble is a stage sitting idle while it waits for another stage. Here it's agent time that doesn't advance the solution. Concrete case: two agents both debug the same failing build. Neither is idle, but one of them is redoing the other's work. Or one agent finishes and sits waiting for a slower peer. Either way you're paying for time that produced nothing new. 8 00:01:59,839 --> 00:02:03,462 [Hal Turing] And they sort existing designs by what kind of bubble each one makes. 9 00:02:03,462 --> 00:02:31,883 [Dr. Ada Shannon] Three families. First, independent agents: self-consistency, repeated sampling, best-of-n. Large Language Monkeys, by Bradley Brown and colleagues in 2024, showed that if you sample many attempts and have a verifier pick the winner, coverage keeps rising with the sample count. That's the natural equal-compute baseline. Those agents never wait, but they share nothing, so each rediscovers the same bugs and dead ends. The bubble is redundant work. 10 00:02:31,883 --> 00:02:51,016 [Dr. Ada Shannon] Second, peer-communicating agents, like multi-agent debate. Agents read each other's answers and revise in rounds. Seeing a peer's work helps, but each round ends only when the slowest agent finishes. That's a barrier. Every agent also talks to every other one, so messages grow roughly as n times n minus one per round. 11 00:02:51,016 --> 00:02:53,802 [Hal Turing] And the third is what Claude Code and Codex do today. 12 00:02:53,802 --> 00:03:16,976 [Dr. Ada Shannon] Centralized orchestration. A main agent decomposes the task, spawns subagents with narrow contexts, waits, and integrates. The main agent sits on the critical path. It idles while subagents run, subagents can't see each other, and what comes back is a summary, which loses detail. If the summary is wrong, fixing it takes another delegation round. 13 00:03:16,976 --> 00:03:21,481 [Hal Turing] It's the tech lead assigning every ticket. Why does everyone build it that way? 14 00:03:21,481 --> 00:03:38,292 [Dr. Ada Shannon] Because it's easy to debug. One agent owns the plan, and isolated sub-contexts keep each window small and uncontaminated. That's a real benefit. The cost is the waiting and the lossy hand-offs. DeLM tries to keep the parallelism without bringing the lead back. 15 00:03:38,292 --> 00:03:39,639 [Hal Turing] So what replaces the lead? 16 00:03:39,639 --> 00:04:14,190 [Dr. Ada Shannon] Two shared structures, and the model is closer to a team with a Kanban board and a channel. One is a task queue. Agents claim ready work themselves, and the first claim wins, so nobody waits for an assignment. The other is a shared context, an append-only log where agents publish findings the moment they exist. A FACT entry says something was learned. A FAIL entry says something is wrong, including a correction to an earlier entry. Entries are never edited, so corrections are new entries. Every peer's status is visible, so you can see what a teammate is working on and avoid duplicating it. 17 00:04:14,190 --> 00:04:16,326 [Hal Turing] And each agent is still a full coding agent? 18 00:04:16,326 --> 00:04:31,048 [Dr. Ada Shannon] Yes. DeLM sits on top of existing harnesses like Codex and Claude Code, and each agent produces its own complete solution. No weights change, no gradients. The coordination parameters are prompts, a queue, and text. 19 00:04:31,048 --> 00:04:32,301 [Hal Turing] The ideas sound old. 20 00:04:32,301 --> 00:04:58,168 [Dr. Ada Shannon] They are. Hearsay-II, a speech system by Erman, Hayes-Roth, Lesser, and Reddy in 1980, had specialist knowledge sources reading and writing a shared blackboard. Classic blackboards still use a scheduler deciding who acts next. DeLM keeps the board and drops the controller. The new difficulty is that the shared state is natural language, so conflicts are semantic. A stale or wrong finding can mislead a peer. 21 00:04:58,168 --> 00:05:02,534 [Hal Turing] Then the question is whether the gains are real. What should listeners watch for? 22 00:05:02,534 --> 00:05:20,506 [Dr. Ada Shannon] Three things. Are the benchmark tasks representative, or chosen so a queue can shine? Are the gaps bigger than run-to-run noise? And how much of the speedup comes from the design, rather than from a baseline that wastes time sitting idle? We'll take the method and results first, then come back to those. 23 00:05:20,506 --> 00:05:26,497 [Hal Turing] Let's get into the machinery. The paper says there's no planner. So who decides how the work gets split at the start? 24 00:05:26,497 --> 00:05:49,903 [Dr. Ada Shannon] Whichever agent starts first. It reserves its own scope and publishes complementary items for its peers. If the task can't be split, it says what dependency blocks the split. If that agent ends before finishing the handoff, the next running agent takes over. After that, anyone can add items or claim open ones, but each agent holds at most one unfinished claim, and the first claim wins. 25 00:05:49,903 --> 00:05:52,132 [Hal Turing] And how does an agent know what to claim next? 26 00:05:52,132 --> 00:06:21,575 [Dr. Ada Shannon] Every read of the queue shows who owns what, and each agent's session state: starting, running, or ended. The framework tracks that state, not the agents. So if your dependency's owner is still running, you do independent work and wait only when nothing else is left. The wait is bounded and returns the moment a peer publishes or ends. And a dead owner never blocks anyone. You build the piece yourself, reusing whatever they shared. 27 00:06:21,575 --> 00:06:26,219 [Hal Turing] Reading all that shared history sounds expensive. Doesn't every agent's context fill up? 28 00:06:26,219 --> 00:06:50,414 [Dr. Ada Shannon] A read returns only what's new since your last read. Entries are short summaries, with files attached by reference. You fetch the detail with expand, which shows diffs, or copy it in with apply. Apply refuses to overwrite local edits it can't account for. It's like demand paging in an operating system: summaries stay resident, detail comes in on demand. The analogy breaks because nothing gets evicted. The log only grows. 29 00:06:50,414 --> 00:06:53,897 [Hal Turing] What about checking? With no reviewer, who catches a bad result? 30 00:06:53,897 --> 00:07:10,476 [Dr. Ada Shannon] Each agent derives its own checks from the original task, not from peers' summaries. Entries are immutable, so if you find a defect you append a FAIL entry, and it stays open until someone addresses it. Everyone must resolve relevant FAILs before submitting. 31 00:07:10,476 --> 00:07:12,426 [Hal Turing] Now the setup. What are they testing on? 32 00:07:12,426 --> 00:08:06,297 [Dr. Ada Shannon] Four benchmarks. Terminal-Bench 4.0 gives agents live terminals for things like configuring systems. DeepSWE is long repository-level engineering. SWE-bench Verified is human-checked real GitHub issues. ProgramBench asks an agent to rebuild a program from its binary and docs, scored by hidden behavioral tests. For the first three, higher accuracy and lower latency are better. Models are GPT-6-Astra on Codex and Claude Opus 5.5 on Claude Code, both at maximum reasoning effort, with three runs each. Baselines are the vanilla harness, native subagents, and AOrchestra. One detail: Cost per Task is the whole run's bill. Cost per Submission divides by agent count, since each agent submits its own solution. The task selection rule matters, and we'll come back to it. 33 00:08:06,297 --> 00:08:07,550 [Hal Turing] So, the headline result. 34 00:08:07,550 --> 00:08:29,052 [Dr. Ada Shannon] Terminal-Bench with Opus. Claude Code took about two hours ten on the ten tasks. Two DeLM agents finished in about an hour five, and scored roughly twelve points higher out of a hundred, 93 versus 82. Total cost was slightly lower. Native subagents on the same model were slower and about half again as expensive, with no accuracy gain. 35 00:08:29,052 --> 00:08:30,306 [Hal Turing] What about the other rows? 36 00:08:30,306 --> 00:08:53,340 [Dr. Ada Shannon] The pattern holds, with different sizes. GPT-6-Astra is faster and more accurate, but at a higher total cost. DeepSWE shows gains for both models. The odd one is DeepSeek's small model. DeLM took it from about 77 to 88 percent, matching GPT-6's plain Codex score at roughly a twenty-eighth of the cost. It's slower, though. 37 00:08:53,340 --> 00:08:55,384 [Hal Turing] And the native subagents on DeepSWE? 38 00:08:55,384 --> 00:09:12,241 [Dr. Ada Shannon] Opus fell from about 72 percent to 50. The authors say most failures were empty patches or timeouts. The main agent held the final commit while waiting on subagents that Claude Code's idle limit cut off, or while extra review rounds dragged on. I'd like to judge that explanation later. 39 00:09:12,241 --> 00:09:16,792 [Hal Turing] Fair enough. Does the ablation show it's the coordination and not just two processes? 40 00:09:16,792 --> 00:09:48,186 [Dr. Ada Shannon] That's what it's built to show. They remove one mechanism at a time from the two-agent setup. Full DeLM is 1.5 to 2 times faster than a single agent. Every ablation lands between 0.82 and 1.09 times. Hide peer status, and agents claim overlapping work and discover it late, so they end up slower than one agent. Without early sharing, a dependent agent waits for the whole subtask instead of starting from partial results. Replace the log with direct messages and you lose the persistent record, so findings get missed. 41 00:09:48,186 --> 00:09:50,276 [Hal Turing] Is there a concrete case of the mechanism? 42 00:09:50,276 --> 00:10:14,703 [Dr. Ada Shannon] The retro-console-soc task on GPT-6. One agent builds CPU, graphics, and audio in sequence: 27 minutes. Two agents: about 21. Four agents build the pieces concurrently: 7.5. Another is wdm-design, where one agent sees a peer has claimed the same piece of work, kills its own process, and switches to something else. No orchestrator had to notice. 43 00:10:14,703 --> 00:10:18,975 [Hal Turing] SWE-bench Verified seems like a different regime. Mostly sequential. 44 00:10:18,975 --> 00:10:42,149 [Dr. Ada Shannon] With Gemini 3 Flash, four agents resolved about eleven more issues per hundred than the best baseline, in about a minute, versus a minute and a half. The sharing explanation is plausible: one agent's dead end saves the others a detour. Caveats: absolute accuracy is only 66 percent, Claude Code through a proxy is a weak baseline, and the paper doesn't say how many tasks it used. 45 00:10:42,149 --> 00:10:43,356 [Hal Turing] And the log's overhead? 46 00:10:43,356 --> 00:11:02,722 [Dr. Ada Shannon] The shared context stays under fifteen thousand tokens at completion. Reading it costs under 4 percent of task cost on Opus, and between about 8 and 18 percent on GPT-6. Across 720 trajectories, 80 percent re-imported a revised file, so agents do track corrections. 47 00:11:02,722 --> 00:11:03,743 [Hal Turing] ProgramBench? 48 00:11:03,743 --> 00:11:28,728 [Dr. Ada Shannon] Two programs, ctags and pandoc, 120 minutes, Opus. By the end of the budget, four agents score about 19 to 20 points above where Claude Code ends, on both. On ctags, four agents match Claude Code's final score in about half the budget. That's two tasks, with no run-to-run variation in the text I have. It's also four times the compute at fixed wall clock, so it's scaling, not a cost-matched comparison. 49 00:11:28,728 --> 00:11:31,189 [Hal Turing] So which of these accuracy gaps are bigger than noise? 50 00:11:31,189 --> 00:12:01,700 [Dr. Ada Shannon] Some are, and some aren't. Three runs on ten tasks means one task is worth ten points per run. The Opus Terminal-Bench gap, 93 against 82, is roughly four and a half standard errors by my rough arithmetic. The paper doesn't report that. The Opus DeepSWE gap is around seven. SWE-bench Verified is solid too. The GPT-6-Astra Terminal-Bench headline, 85 against 71.67, is about one and a third standard errors, which is suggestive only. 51 00:12:01,700 --> 00:12:05,834 [Hal Turing] So the abstract's "every setting" is true of the means, not of the evidence. 52 00:12:05,834 --> 00:12:30,215 [Dr. Ada Shannon] Yes. And there are no paired per-task results, no task-level bootstrap and no significance tests. Run-to-run variance also ignores the fact that the ten tasks were hand-picked. Then there's scaling. Going from two agents to four, speed keeps rising, 2.02 to 2.49 times on Opus, but accuracy mostly doesn't, and total cost goes up. That's a thin basis for "scaling agents." 53 00:12:30,215 --> 00:12:31,701 [Hal Turing] How were the tasks picked? 54 00:12:31,701 --> 00:13:00,679 [Dr. Ada Shannon] By one baseline's wall-clock time: Codex with GPT-6-Astra, fifteen minutes to an hour. The paper says short tasks are excluded because a single agent finishes before coordination pays. That filter plausibly favors composite tasks. Retro-console-soc has CPU, graphics, audio and system parts, which a queue can split cleanly. The test that settles it is DeLM on short tasks, on non-decomposable tasks, or on a random sample. 55 00:13:00,679 --> 00:13:06,623 [Hal Turing] And the Opus numbers? Claude Code took over two hours on tasks Codex finished in under half an hour. 56 00:13:06,623 --> 00:13:45,215 [Dr. Ada Shannon] About 4.9 times slower on the same set. So the set isn't long-horizon in the same way for both models. The ablations show parallelism alone gives 0.82 to 1.09 times, so the design matters. But DeLM's prompt bans sleeping and polling and caps waits at 25 seconds, while Claude Code kills idle background subagents after 600 seconds. Some of the Opus gain is plausibly idle-wait discipline. The missing control is single-agent Claude Code under DeLM's prompt, or DeLM with one agent. 57 00:13:45,215 --> 00:13:47,537 [Hal Turing] Which brings me to the 5.5 times showcase. 58 00:13:47,537 --> 00:14:17,351 [Dr. Ada Shannon] 162.7 minutes against 29.3, on one task out of ten. It's the four-agent setting against the native-subagent variant, not vanilla Claude Code, which averaged 130.75. And four agents giving 5.5 times is above linear. That points to baseline waste, not parallel efficiency. The same task on GPT-6-Astra gives 3.6 times from four agents, and the Opus average at four agents is 2.49. 59 00:14:17,351 --> 00:14:21,531 [Hal Turing] Is the subagent baseline even fair? It's one sentence appended to the prompt. 60 00:14:21,531 --> 00:14:31,701 [Dr. Ada Shannon] I'd call it a default-configured baseline, not a tuned one. Whether a better-prompted orchestrator that spawns asynchronously would close much of the gap, the paper doesn't test. 61 00:14:31,701 --> 00:14:34,488 [Hal Turing] What about cost? The paper leads with Cost/Submission. 62 00:14:34,488 --> 00:15:08,482 [Dr. Ada Shannon] That divides by agent count, so it flatters DeLM. For one correct patch, Cost/Task matters. On GPT-6-Astra Terminal-Bench at four agents it's about $24 against $9 for Codex, though only about $6 per submission. The accuracy is a per-submission mean, which is a fair point in DeLM's favor against best-of-n. But the comparison Large Language Monkeys invites is still missing: independent attempts with a verifier at equal cost. Without it, we can't separate coordination from simply having n attempts. 63 00:15:08,482 --> 00:15:11,129 [Hal Turing] Where does this sit against older shared-memory work? 64 00:15:11,129 --> 00:15:29,612 [Dr. Ada Shannon] Hearsay-II handled conflicting hypotheses with credibility ratings and a focus-of-attention scheduler. DeLM has FACT and FAIL entries with scope and evidence fields, but no ranking or arbitration. A wrong FACT can propagate, and the authors themselves point to integration errors for the four-agent accuracy dip. 65 00:15:29,612 --> 00:15:30,355 [Hal Turing] And the queue? 66 00:15:30,355 --> 00:16:03,234 [Dr. Ada Shannon] Think of Gelernter's 1985 Linda paper, "Generative Communication in Linda." A tuple space is a shared pool where processes put tuples and take them out by typed pattern match, atomically. The queue and log are a natural-language version. First-claim-wins is atomic, but matching on the log isn't typed or atomic, so exact aggregation suffers. On the OOLONG aggregation benchmark DeLM scores 53.3 against 56.0 for a code-based recursive-language-model approach. A hybrid of the two gets 64. 67 00:16:03,234 --> 00:16:04,535 [Hal Turing] What else is unmeasured? 68 00:16:04,535 --> 00:16:22,461 [Dr. Ada Shannon] How often agents trust a wrong peer claim, or a wrong FAIL sends peers off a correct path. How often agents skip the protocol. Anything beyond four agents. Contention for shared ports or rate limits. And harness versions matter, since an idle limit swung one baseline by about 20 points. 69 00:16:22,461 --> 00:16:24,457 [Hal Turing] So what should a practitioner take from it? 70 00:16:24,457 --> 00:16:52,600 [Dr. Ada Shannon] Persistent shared state with visible peer status and early publishing is cheap, and it beat central delegation on these decomposable tasks. Sharing failures looks cheap and useful even on mostly sequential work. If you run parallel agents, don't let a single idle-blocked orchestrator hold everything. Next, I'd want random task sets, short tasks, a verifier-based best-of-n at equal dollars, and perhaps typed matching or conflict arbitration. 71 00:16:52,600 --> 00:17:15,216 [Hal Turing] So: on ten hand-picked, separable tasks, a shared log and a claim queue made parallel coding agents clearly faster than the tested subagent setups, and on Opus and SWE-bench Verified more accurate too. What's not shown is how much is design versus baseline idling, and how it compares to plain best-of-n at equal cost. Thanks for listening.