an open-source alternative to the dots, bots and muses of the world, run an office of claude code/codex like agents on your laptop, sandboxes or anywhere, uses your existing subscriptions
HTML agent-harnessagent-orchestrationagentsai-agentsautonomous-agentsclaude-codecodexcoding-agentsdesktop-appdeveloper-toolselectrongemini-cliharnessharness-engineeringlocal-firstmemorymulti-agentopencodeorchestrationtypescript
<!doctype html>
<html lang="en">
<head>
<!-- Google tag (gtag.js), Google Ads AW-18388216863. Loaded only when Do Not Track is
off, so it follows the same rule as the PostHog block on this site. -->
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){ dataLayer.push(arguments); }
if (navigator.doNotTrack !== '1') {
var gtagScript = document.createElement('script');
gtagScript.async = true;
gtagScript.src = 'https://www.googletagmanager.com/gtag/js?id=AW-18388216863';
document.head.appendChild(gtagScript);
gtag('js', new Date());
gtag('config', 'AW-18388216863');
}
</script>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Local-First AI Agent Orchestration: How a Hive Runs Without a Cloud — Munder Difflin Blog</title>
<meta name="description" content="How local-first AI agent orchestration works under the hood — the loop, mailboxes, scheduler, and audit log that coordinate a hive on one machine." />
<link rel="canonical" href="https://munderdiffl.in/blog/local-first-ai-agent-orchestration/" />
<link rel="icon" type="image/png" href="https://munderdiffl.in/logo.png" />
<link rel="apple-touch-icon" href="https://munderdiffl.in/logo.png" />
<meta name="theme-color" content="#F5F2E8" />
<!-- Open Graph -->
<meta property="og:site_name" content="Munder Difflin Blog" />
<meta property="og:type" content="article" />
<meta property="og:title" content="Local-First AI Agent Orchestration: How a Hive Runs Without a Cloud — Munder Difflin Blog" />
<meta property="og:description" content="How local-first AI agent orchestration works under the hood — the loop, mailboxes, scheduler, and audit log that coordinate a hive on one machine." />
<meta property="og:url" content="https://munderdiffl.in/blog/local-first-ai-agent-orchestration/" />
<meta property="og:image" content="https://munderdiffl.in/blog/assets/media/local-first-ai-agent-orchestration/hero.png" />
<meta property="og:image:width" content="1600" />
<meta property="og:image:height" content="900" />
<meta property="og:image:alt" content="Illustration: Local-First AI Agent Orchestration: How a Hive Runs Without a Cloud" />
<meta property="og:locale" content="en_US" />
<meta property="article:published_time" content="2026-06-04T00:00:00.000Z" />
<meta property="article:author" content="Chaitanya Giri" />
<meta property="article:tag" content="Orchestration" />
<meta property="article:tag" content="Local-First" />
<meta property="article:tag" content="Internals" />
<meta property="article:tag" content="Multi-Agent" />
<!-- Twitter -->
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:title" content="Local-First AI Agent Orchestration: How a Hive Runs Without a Cloud — Munder Difflin Blog" />
<meta name="twitter:description" content="How local-first AI agent orchestration works under the hood — the loop, mailboxes, scheduler, and audit log that coordinate a hive on one machine." />
<meta name="twitter:image" content="https://munderdiffl.in/blog/assets/media/local-first-ai-agent-orchestration/hero.png" />
<meta name="twitter:image:alt" content="Illustration: Local-First AI Agent Orchestration: How a Hive Runs Without a Cloud" />
<link rel="alternate" type="application/atom+xml" title="Munder Difflin Blog" href="https://munderdiffl.in/blog/feed.xml" />
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link href="https://fonts.googleapis.com/css2?family=Fraunces:opsz,[email protected],500;9..144,600;9..144,700;9..144,900&family=Source+Serif+4:opsz,[email protected],400;8..60,600;8..60,700&family=Space+Grotesk:wght@500;600;700&family=JetBrains+Mono:wght@400;600&display=swap" rel="stylesheet" />
<link rel="stylesheet" href="/blog/assets/blog-press.css" />
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "BlogPosting",
"headline": "Local-First AI Agent Orchestration: How a Hive Runs Without a Cloud",
"description": "How local-first AI agent orchestration works under the hood — the loop, mailboxes, scheduler, and audit log that coordinate a hive on one machine.",
"image": ["https://munderdiffl.in/blog/assets/media/local-first-ai-agent-orchestration/hero.png"],
"datePublished": "2026-06-04T00:00:00.000Z",
"dateModified": "2026-06-04T00:00:00.000Z",
"author": { "@type": "Person", "name": "Chaitanya Giri" },
"publisher": {
"@type": "Organization",
"name": "Munder Difflin",
"logo": { "@type": "ImageObject", "url": "https://munderdiffl.in/logo.png" }
},
"mainEntityOfPage": { "@type": "WebPage", "@id": "https://munderdiffl.in/blog/local-first-ai-agent-orchestration/" },
"keywords": "local-first ai agent orchestration, orchestrate ai agents locally, no-server agent coordination, local multi-agent architecture",
"articleSection": "Orchestration",
"inLanguage": "en-US",
"url": "https://munderdiffl.in/blog/local-first-ai-agent-orchestration/"
}
</script>
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "BreadcrumbList",
"itemListElement": [
{ "@type": "ListItem", "position": 1, "name": "Home", "item": "https://munderdiffl.in/" },
{ "@type": "ListItem", "position": 2, "name": "Blog", "item": "https://munderdiffl.in/blog/" },
{ "@type": "ListItem", "position": 3, "name": "Local-First AI Agent Orchestration: How a Hive Runs Without a Cloud", "item": "https://munderdiffl.in/blog/local-first-ai-agent-orchestration/" }
]
}
</script>
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "FAQPage",
"mainEntity": [
{ "@type": "Question", "name": "What is local-first AI agent orchestration?", "acceptedAnswer": { "@type": "Answer", "text": "It's coordinating multiple AI agents — routing work between them, scheduling tasks, storing memory — entirely on your own machine instead of a vendor's cloud. The agents still call the model API, but the control plane (the loop, the message router, the scheduler, the audit log) runs as local processes and reads and writes local files." } },
{ "@type": "Question", "name": "Do you need a server or message broker to coordinate AI agents?", "acceptedAnswer": { "@type": "Answer", "text": "No. A hive can coordinate through plain files: each agent has an inbox and outbox folder, and a small router process drains outboxes into the right inboxes on a timer. There's no Redis, no queue service, no daemon to keep alive — delivery is an atomic file rename, so it's safe under concurrency without locks." } },
{ "@type": "Question", "name": "What are the limits of orchestrating agents on one machine?", "acceptedAnswer": { "@type": "Answer", "text": "Two real ones. The orchestration only runs while your machine is on — timers and the router live in a local process, so closing the app pauses the schedule. And concurrency is bounded by your CPU and RAM rather than an elastic cloud. In exchange you get zero infrastructure, a full local audit trail, and complete ownership of your data." } }
]
}
</script>
<script>
// Anonymous blog analytics (PostHog) — same posture as the main site and the
// app's TELEMETRY.md: public write-only token ('' = inert), anonymous-only
// (person_profiles 'never'), no autocapture/recording, DNT respected.
(function () {
var PH_KEY = 'phc_qJzsokwcbtTGHemnvywR3nSqivNNgMjHeNVEWkZNydFB';
if (!PH_KEY || navigator.doNotTrack === '1') return;
var s = document.createElement('script');
s.async = true;
s.src = 'https://us-assets.i.posthog.com/static/array.js';
s.onload = function () {
if (!window.posthog) return;
window.posthog.init(PH_KEY, {
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
before_send: function (event) {
// PostHog fills $ip from the connection unless the event carries one.
// Null it here and disable the GeoIP lookup so no IP, city, postal
// code or lat/long is ever derived or stored for this page view.
if (event && event.properties) {
event.properties.$ip = null;
event.properties.$geoip_disable = true;
}
return event;
},
disable_session_recording: true,
respect_dnt: true
});
};
document.head.appendChild(s);
})();
</script>
</head>
<body class="theme-press">
<a class="skip-link" href="#main">Skip to content</a>
<nav id="nav">
<a class="brand" href="https://munderdiffl.in" aria-label="Munder Difflin home">
<img class="brand-logo" src="https://munderdiffl.in/logo.png" width="1318" height="840" alt="Munder Difflin, Inc. — Multi-Agent Harness" />
</a>
<span class="spacer"></span>
<div class="links">
<a href="/blog/">Latest</a>
<a href="/blog/topics/">Topics</a>
<a href="/blog/about/">About</a>
<a href="https://munderdiffl.in">↗ Product</a>
</div>
<div class="nav-actions">
<a class="btn sm" href="https://munderdiffl.in/blog/feed.xml" aria-label="RSS feed">⤵ RSS</a>
<a class="btn sm primary" href="https://munderdiffl.in/#install">⤓ Download</a>
</div>
</nav>
<main id="main">
<article class="t-orchestration">
<header class="post-head wrap">
<nav class="crumbs" aria-label="Breadcrumb">
<a href="/blog/">Blog</a>
<span>/</span>
<a href="/blog/topics/orchestration/">Orchestration</a>
</nav>
<h1>Local-First AI Agent Orchestration: How a Hive Runs Without a Cloud</h1>
<p class="dek">How local-first AI agent orchestration works under the hood — the loop, mailboxes, scheduler, and audit log that coordinate a hive on one machine.</p>
<div class="byline">
<span class="av" aria-hidden="true">CG</span>
<strong>Chaitanya Giri</strong>
<span class="dot" aria-hidden="true">·</span>
<time datetime="2026-06-04">Jun 4, 2026</time>
<span class="dot" aria-hidden="true">·</span>
<span>5 min read</span>
<span class="tag kind">Orchestration</span>
</div>
</header>
<div class="hero-wrap wrap"><figure class="fig fig-hero"><img src="/blog/assets/media/local-first-ai-agent-orchestration/hero.png" alt="Illustration: Local-First AI Agent Orchestration: How a Hive Runs Without a Cloud" loading="lazy" decoding="async" /></figure></div>
<div class="post-wrap wrap">
<div class="prose">
<div class="callout tldr"><span class="ic">TL;DR</span><p><strong>Local-first orchestration</strong>
means the whole control plane for a team of agents — the loop that keeps them working, the
<strong>message router</strong>, the <strong>scheduler</strong>, and the <strong>audit log</strong> —
runs as processes on <em>your</em> machine and coordinates through <em>local files</em>, not a cloud
service. Agents are local child processes; they talk through inbox/outbox folders drained by an
in-process router; tasks fire on local timers; git is the audit trail. No broker, no queue service, no
control-plane server. This is the <em>how</em>; for the <em>why</em>, see <a href="/blog/why-local-first-matters-for-ai-agents/">why local-first matters</a>.</p></div>
<p>It’s one thing to argue that keeping your agents <a href="/blog/why-local-first-matters-for-ai-agents/">on your own
machine</a> is better for control, privacy, and cost. It’s
another to explain how a team of agents actually <em>coordinates</em> without a cloud control plane in the
middle. If there’s no orchestration server, what routes the work? This post is the mechanics —
grounded in how Munder Difflin’s hive is built — of running real multi-agent orchestration with nothing
but local processes and files.</p>
<h2 id="where-the-orchestration-loop-actually-runs" tabindex="-1">Where the orchestration loop actually runs <a class="anchor" href="#where-the-orchestration-loop-actually-runs" aria-hidden="true">#</a></h2>
<p>Start with the obvious question: what is “the orchestrator”? In a cloud platform it’s a service you
never see. Locally, it’s just a process on your machine — in Munder Difflin’s case, the desktop app’s
main process. It boots the message router, arms the scheduler, and manages the agents. There’s no
remote brain; the coordination logic is code running next to your editor.</p>
<p>The agents themselves are equally concrete. Each one is a <strong>local child process</strong> — the harness spawns
the <code>claude</code> CLI through <a href="/blog/node-pty-electron-real-terminals/">node-pty</a>, the same way a terminal
would, and talks to it over a pseudo-terminal. An “agent” isn’t an abstraction in someone’s datacenter;
it’s a real OS process you could see in your activity monitor. The model call goes out to the API; the
agent that makes it lives on your box.</p>
<h2 id="coordination-without-a-broker" tabindex="-1">Coordination without a broker <a class="anchor" href="#coordination-without-a-broker" aria-hidden="true">#</a></h2>
<p>The interesting part is how those local processes talk to each other. The instinct from distributed
systems is to reach for a message broker — Redis, RabbitMQ, a cloud queue. A local-first hive does
something far simpler: <strong>files</strong>.</p>
<p>Every agent gets a workspace with an <code>inbox/</code> and an <code>outbox/</code> folder. To send a message, an agent
writes one JSON file into its own outbox. A small <strong>router</strong>, running on a timer inside the main
process, scans every outbox on each tick and delivers what it finds — moving the message into the
recipient’s inbox with an atomic write. (In the code, that’s a <code>routerTimer</code> driving a <code>deliver()</code>
step that writes each message into the target’s inbox folder; a <code>broadcast</code> simply fans the same
message out to every agent’s inbox.)</p>
<p>That one design decision buys a lot, and we unpack it fully in <a href="/blog/atomic-file-mailboxes-for-agents/">atomic file mailboxes for
agents</a>:</p>
<ul>
<li><strong>No infrastructure.</strong> The “message bus” is a directory and the rename syscall. Nothing to install,
nothing to keep alive.</li>
<li><strong>Conflict-free concurrency.</strong> Each file has exactly one writer and delivery is an atomic rename, so
busy agents never corrupt each other’s mail — no locks required.</li>
<li><strong>Durable and replayable.</strong> Messages are files. A crash loses nothing already written, and you can
read the whole exchange back later.</li>
</ul>
<p>It’s the backbone of <a href="/blog/coordinating-ai-coding-agents/">how a hive coordinates its agents</a>, and it
never leaves your disk.</p>
<figure class="fig fig-inline"><img src="/blog/assets/media/local-first-ai-agent-orchestration/note-1.png" alt="Hand-drawn sketch from “Local-First AI Agent Orchestration: How a Hive Runs Without a Cloud”" loading="lazy" decoding="async" /></figure>
<h2 id="scheduling-on-your-own-clock" tabindex="-1">Scheduling on your own clock <a class="anchor" href="#scheduling-on-your-own-clock" aria-hidden="true">#</a></h2>
<p>Recurring work doesn’t need a cloud cron either. The scheduler arms ordinary in-process timers — a
<code>setTimeout</code> into a steady <code>setInterval</code> — and when one fires it just drops a <code>request</code> message into an
agent’s inbox, exactly like any other message. Each mission remembers when it last fired, so restarts
resume the cadence instead of resetting it. The full mechanism is in <a href="/blog/scheduling-autonomous-agent-missions/">scheduling autonomous agent
missions</a>. The point for orchestration: your hive’s sense
of time is a timer in a process on your laptop, not a job in someone’s scheduler.</p>
<h2 id="state-that-never-leaves-the-box" tabindex="-1">State that never leaves the box <a class="anchor" href="#state-that-never-leaves-the-box" aria-hidden="true">#</a></h2>
<p>Coordination also needs memory, and here too everything is local:</p>
<ul>
<li><strong>Config</strong> lives in a plain JSON file on disk — which agents exist, which missions are armed, your
preferences.</li>
<li><strong>Per-agent memory</strong> is a markdown file each agent reads at the start of a task and appends to as it
learns.</li>
<li><strong>The audit log is git.</strong> A <a href="/blog/single-committer-git-pattern/">single committer</a> — the
orchestrator process — records the message and file changes, so “who did what, in what order” is
answerable from your own repo history, not a vendor’s dashboard.</li>
<li><strong>Semantic memory</strong> runs locally too: a <a href="/blog/semantic-memory-for-ai-agents/">searchable knowledge store</a>
the whole team can query, indexed on your machine.</li>
</ul>
<p>Nothing in that list is a network call. The team’s shared brain is a folder you own.</p>
<figure class="fig fig-inline"><img src="/blog/assets/media/local-first-ai-agent-orchestration/note-2.png" alt="Hand-drawn sketch from “Local-First AI Agent Orchestration: How a Hive Runs Without a Cloud”" loading="lazy" decoding="async" /></figure>
<h2 id="the-loop-is-local-too" tabindex="-1">The loop is local, too <a class="anchor" href="#the-loop-is-local-too" aria-hidden="true">#</a></h2>
<p>What keeps an agent <em>going</em> without you clicking “continue”? A local hook. When an agent finishes a
turn, a Stop hook checks its inbox; if fresh messages are waiting, it tells the agent to keep working,
and when the queue is empty it lets the agent rest. That’s the <a href="/blog/claude-code-automation-while-you-sleep/">autonomous
loop</a> — and it’s wired through the same local files, run
by <a href="/blog/how-the-god-orchestrator-works/">the orchestrator</a> on your machine, with no remote scheduler
deciding when your agents wake up.</p>
<h2 id="what-it-costs-and-what-you-keep" tabindex="-1">What it costs — and what you keep <a class="anchor" href="#what-it-costs-and-what-you-keep" aria-hidden="true">#</a></h2>
<p>Local-first orchestration isn’t free of trade-offs, and it’s worth being honest about them:</p>
<ul>
<li><strong>It runs while your machine does.</strong> The router and the timers are in a local process, so closing the
app pauses delivery and the schedule. Overdue missions catch up on the next launch, but there’s no
always-on cloud firing at 3 a.m. with the lid shut.</li>
<li><strong>Concurrency is bounded by your hardware.</strong> You scale with your own CPU and RAM, not an elastic
fleet. For a team of agents working one codebase, that’s usually plenty — but it’s a ceiling, not a
dial you pay to raise.</li>
</ul>
<p>In return you get the things a control-plane server quietly takes away: <strong>zero infrastructure</strong> to run
or secure, a <strong>complete audit trail</strong> in your own git history, and <strong>full ownership</strong> of your code,
messages, and memory. For agents that touch your whole project, that trade is the whole point — and
it’s the practical side of <a href="/blog/why-local-first-matters-for-ai-agents/">why local-first matters</a>.</p>
<h2 id="faq" tabindex="-1">FAQ <a class="anchor" href="#faq" aria-hidden="true">#</a></h2>
<p><strong>What is local-first AI agent orchestration?</strong> Coordinating multiple agents — routing work,
scheduling tasks, storing memory — entirely on your own machine. The agents call the model API, but the
control plane (loop, router, scheduler, audit log) is local code reading and writing local files.</p>
<p><strong>Do I need a server or broker to coordinate agents?</strong> No. Agents coordinate through inbox/outbox
folders that a small router drains on a timer, delivering messages with atomic file renames. No Redis,
no queue service, no daemon.</p>
<p><strong>What are the limits?</strong> Orchestration only runs while your machine is on, and concurrency is bounded by
your hardware. In exchange you get no infrastructure, a full local audit trail, and complete data
ownership.</p>
<hr>
<p>Munder Difflin is local-first orchestration you can watch: a hive of Claude Code agents coordinating
through file mailboxes, local timers, and a git audit log — <a href="https://munderdiffl.in/#how">all run by a GOD
orchestrator</a> on your own machine. <a href="https://munderdiffl.in/#install">Download Munder
Difflin</a> to run a coordinated team of agents with no cloud in the
loop; it’s free and open source.</p>
<section class="faq" aria-label="Frequently asked questions">
<h2 id="faq">FAQ</h2>
<div class="qa">
<p class="q">What is local-first AI agent orchestration?</p>
<p class="a">It's coordinating multiple AI agents — routing work between them, scheduling tasks, storing memory — entirely on your own machine instead of a vendor's cloud. The agents still call the model API, but the control plane (the loop, the message router, the scheduler, the audit log) runs as local processes and reads and writes local files.</p>
</div>
<div class="qa">
<p class="q">Do you need a server or message broker to coordinate AI agents?</p>
<p class="a">No. A hive can coordinate through plain files: each agent has an inbox and outbox folder, and a small router process drains outboxes into the right inboxes on a timer. There's no Redis, no queue service, no daemon to keep alive — delivery is an atomic file rename, so it's safe under concurrency without locks.</p>
</div>
<div class="qa">
<p class="q">What are the limits of orchestrating agents on one machine?</p>
<p class="a">Two real ones. The orchestration only runs while your machine is on — timers and the router live in a local process, so closing the app pauses the schedule. And concurrency is bounded by your CPU and RAM rather than an elastic cloud. In exchange you get zero infrastructure, a full local audit trail, and complete ownership of your data.</p>
</div>
</section>
<hr />
<div class="share">
<span class="lbl">Tags</span>
<a class="tag" href="/blog/tags/orchestration/">Orchestration</a><a class="tag" href="/blog/tags/local-first/">Local-First</a><a class="tag" href="/blog/tags/internals/">Internals</a><a class="tag" href="/blog/tags/multi-agent/">Multi-Agent</a>
</div>
</div>
<aside class="toc-rail" aria-label="Table of contents">
<div class="tt">On this page</div>
<ol>
<li class="lvl-2"><a href="#where-the-orchestration-loop-actually-runs">Where the orchestration loop actually runs</a></li><li class="lvl-2"><a href="#coordination-without-a-broker">Coordination without a broker</a></li><li class="lvl-2"><a href="#scheduling-on-your-own-clock">Scheduling on your own clock</a></li><li class="lvl-2"><a href="#state-that-never-leaves-the-box">State that never leaves the box</a></li><li class="lvl-2"><a href="#the-loop-is-local-too">The loop is local, too</a></li><li class="lvl-2"><a href="#what-it-costs-and-what-you-keep">What it costs — and what you keep</a></li><li class="lvl-2"><a href="#faq">FAQ</a></li>
</ol>
</aside>
</div>
<footer class="post-foot wrap"><div class="prevnext">
<a class="pn prev" href="/blog/local-first-vs-cloud-agent-sdks/"><span class="k">← Older</span><span class="t">Local-First vs Cloud Agent SDKs: Which Wins in 2026?</span></a>
<a class="pn next" href="/blog/keep-agent-semantic-memory-clean/"><span class="k">Newer →</span><span class="t">Keep Your Agent's Semantic Memory Clean: Don't Index the Config</span></a>
</div>
<section class="related">
<h2>Related in Orchestration</h2>
<div class="post-grid">
<article class="card t-orchestration">
<a class="thumb t-orchestration" href="/blog/deploy-automated-pr-reviewer-agent/" aria-hidden="true" tabindex="-1"><img src="/blog/assets/media/deploy-automated-pr-reviewer-agent/hero.png" alt="" loading="lazy" decoding="async" /></a>
<div class="body">
<div class="meta">
<time datetime="2026-06-10">Jun 10, 2026</time>
<span class="dot" aria-hidden="true"></span>
<span>7 min</span>
</div>
<h3><a href="/blog/deploy-automated-pr-reviewer-agent/">Deploy a PR Reviewer That Never Sleeps — In About One Prompt</a></h3>
<p class="dek">A how-to for standing up a fully automated PR-reviewing agent in Munder Difflin — one that reads your real source (not just the PR description), de-dupes noise, and only escalates what matters. With a real triage run that turned 22 duplicate firings into a clean v0.2.5 patch queue.</p>
<div class="foot">
<span class="tag kind">Orchestration</span>
<a class="more" href="/blog/deploy-automated-pr-reviewer-agent/" aria-label="Read: Deploy a PR Reviewer That Never Sleeps — In About One Prompt">Read →</a>
</div>
</div>
</article>
<article class="card t-orchestration">
<a class="thumb t-orchestration" href="/blog/multi-agent-orchestration-patterns/" aria-hidden="true" tabindex="-1"><img src="/blog/assets/media/multi-agent-orchestration-patterns/hero.png" alt="" loading="lazy" decoding="async" /></a>
<div class="body">
<div class="meta">
<time datetime="2026-06-05">Jun 5, 2026</time>
<span class="dot" aria-hidden="true"></span>
<span>5 min</span>
</div>
<h3><a href="/blog/multi-agent-orchestration-patterns/">Multi-Agent Orchestration Patterns: Which Topology, and When</a></h3>
<p class="dek">The multi-agent orchestration patterns — orchestrator-worker, pipeline, fan-out, debate, swarm, blackboard — when to use each, and when one agent wins.</p>
<div class="foot">
<span class="tag kind">Orchestration</span>
<a class="more" href="/blog/multi-agent-orchestration-patterns/" aria-label="Read: Multi-Agent Orchestration Patterns: Which Topology, and When">Read →</a>
</div>
</div>
</article>
<article class="card t-orchestration">
<a class="thumb t-orchestration" href="/blog/claude-code-git-worktrees-vs-hive/" aria-hidden="true" tabindex="-1"><img src="/blog/assets/media/claude-code-git-worktrees-vs-hive/hero.png" alt="" loading="lazy" decoding="async" /></a>
<div class="body">
<div class="meta">
<time datetime="2026-06-04">Jun 4, 2026</time>
<span class="dot" aria-hidden="true"></span>
<span>5 min</span>
</div>
<h3><a href="/blog/claude-code-git-worktrees-vs-hive/">Git Worktrees vs a Hive: Two Ways to Parallelize Claude Code</a></h3>
<p class="dek">Claude Code git worktrees vs a hive: when isolated worktrees suffice for parallel agents, and when you need memory, messaging, and an orchestrator on top.</p>
<div class="foot">
<span class="tag kind">Orchestration</span>
<a class="more" href="/blog/claude-code-git-worktrees-vs-hive/" aria-label="Read: Git Worktrees vs a Hive: Two Ways to Parallelize Claude Code">Read →</a>
</div>
</div>
</article>
</div>
</section>
</footer>
</article>
</main>
<footer class="site-foot">
<div class="wrap">
<div class="foot-top">
<a class="foot-brand brand" href="https://munderdiffl.in" aria-label="Munder Difflin home">
<img class="brand-logo" src="https://munderdiffl.in/logo.png" width="1318" height="840" alt="Munder Difflin, Inc. — Multi-Agent Harness" />
</a>
<div class="foot-links">
<a href="/blog/">Latest</a>
<a href="/blog/topics/">Topics</a>
<a href="/blog/about/">About</a>
<a href="https://munderdiffl.in/blog/feed.xml">RSS</a>
<a href="https://github.com/chaitanyagiri/munder-difflin">GitHub</a>
<a href="https://munderdiffl.in">munderdiffl.in ↗</a>
</div>
</div>
<div class="foot-meta">
© 2026 Munder Difflin · Local-first · MIT-licensed ·
Built on <a href="https://munderdiffl.in">Electron, React, Pixi.js, xterm.js & node-pty</a>.
Run an office of agents while you sleep.
</div>
</div>
</footer>
<script>
// sticky-nav border on scroll
(function () {
var nav = document.getElementById('nav');
if (!nav) return;
var onScroll = function () { nav.classList.toggle('scrolled', window.scrollY > 8); };
onScroll(); window.addEventListener('scroll', onScroll, { passive: true });
})();
// YouTube click-to-load: thumbnail button → youtube-nocookie iframe
(function () {
document.addEventListener('click', function (e) {
var btn = e.target.closest('.yt-load');
if (!btn) return;
var box = btn.closest('.yt');
var id = box && box.getAttribute('data-yt');
// Only an 11 character YouTube video id may reach the iframe URL.
if (!id || !/^[A-Za-z0-9_-]{11}$/.test(id)) return;
var frame = document.createElement('iframe');
frame.src = 'https://www.youtube-nocookie.com/embed/' + encodeURIComponent(id) + '?autoplay=1';
frame.title = box.getAttribute('data-title') || 'YouTube video';
frame.allow = 'accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share';
frame.setAttribute('allowfullscreen', '');
box.replaceChildren(frame);
});
})();
</script>
</body>
</html>