← All IntelClip / AI ToolsDynamic workflows as an algebra for agents
From Boris Cherny: We Cut 80% of Claude Code’s Prompt · ≈25:20
Explains the orchestration primitive behind thousand-agent runs — sandboxed fan-out, then verification or summarization passes, then fan-out again.
What’s in it
- Explains the orchestration primitive behind thousand-agent runs — sandboxed fan-out, then verification or summarization passes, then fan-out again.
Clip transcript
>> How do you do that? >> There There's a few different ways to do it. Um the easiest way is dynamic workflows. To use dynamic workflows, it's a fairly new feature in Claude code. And all you have to say is use a workflow. That's it. And then Claude will just trigger the dynamic workflow. What a dynamic workflow is is essentially we have the we have the Bun runtime. We use Bun as a sandbox, and we start a virtual machine within Bun. And we let Claude start a lot of agents and orchestrate them. And it it doesn't just do one agent, it doesn't just do like 10 parallel agents. What it might do is um let's say a task is like rewrite the code base, or do really in-depth data analysis over some really complicated data, or maybe like build a very complex feature that takes multiple stages, and maybe dozens of pull requests. And so what it's going to do is it's going to start a bunch of agents to do kind of like the first pass. Based on that, it might do a second step where it has another set of agents that verify the work, or that summarize the work. Then it might do like a third stage, where it'll fan out again. So it'll kind of productively orchestrate a bunch of different agents. So my background is functional programming. And so the way that we designed this is is essentially an algebra for agents. So there's a way to run agents in sequence. There's a way to run agents in parallel. And Claude has different tools in order to orchestrate these agents inside of the sandbox, to use tokens efficiently, to do really, really complex work. It's kind of cool and something that just hasn't
Comments
Sign in to comment.
Loading comments…