<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Liel Cohen</title>
    <description>The latest articles on DEV Community by Liel Cohen (@liel_cohen).</description>
    <link>https://dev.to/liel_cohen</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3829532%2Fdf156683-ddd8-4c4e-92bb-f05f222cb081.png</url>
      <title>DEV Community: Liel Cohen</title>
      <link>https://dev.to/liel_cohen</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/liel_cohen"/>
    <language>en</language>
    <item>
      <title>I got tired of babysitting Claude Code, so I built an open-source orchestrator that runs a full AI dev team from my phone</title>
      <dc:creator>Liel Cohen</dc:creator>
      <pubDate>Tue, 17 Mar 2026 14:16:05 +0000</pubDate>
      <link>https://dev.to/liel_cohen/i-got-tired-of-babysitting-claude-code-so-i-built-an-open-source-orchestrator-that-runs-a-full-ai-fdd</link>
      <guid>https://dev.to/liel_cohen/i-got-tired-of-babysitting-claude-code-so-i-built-an-open-source-orchestrator-that-runs-a-full-ai-fdd</guid>
      <description>&lt;p&gt;I've been using &lt;strong&gt;Claude Code&lt;/strong&gt; since launch, but I kept hitting the same wall. &lt;/p&gt;

&lt;p&gt;When you ask it to build a complex feature, it works on one file at a time, loses context, and you end up babysitting the process for hours. For anything beyond a simple script, you become the project manager, the code reviewer, and the QA team all at once.&lt;/p&gt;

&lt;p&gt;If you need a full feature (Database + API + UI + Tests), you have to manage every step. If you walk away, it stops.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;I'm lazy.&lt;/strong&gt; I don't want to sit at my computer typing "continue" and "fix this error" all day. I want to give one prompt, go lie on the couch, and watch a team of AI agents do the work for me.&lt;/p&gt;

&lt;p&gt;So I built &lt;strong&gt;Hivemind&lt;/strong&gt;. It's an open-source orchestrator that turns Claude Code into a full engineering team working in parallel.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fywt49fb9ezl7r4ciq0wr.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fywt49fb9ezl7r4ciq0wr.png" alt="Hivemind Dashboard" width="800" height="398"&gt;&lt;/a&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  🏗️ The Architecture That Makes It Possible
&lt;/h2&gt;

&lt;p&gt;Instead of chatting with one agent, you describe what you want in plain language. Here is how Hivemind handles it:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt; &lt;strong&gt;PM Agent:&lt;/strong&gt; Breaks the feature down into a &lt;strong&gt;Directed Acyclic Graph (DAG)&lt;/strong&gt; of dependent tasks.&lt;/li&gt;
&lt;li&gt; &lt;strong&gt;Specialist Agents:&lt;/strong&gt; Frontend, Backend, DB, and QA agents spin up in parallel using separate Claude Code CLI sessions.&lt;/li&gt;
&lt;li&gt; &lt;strong&gt;Artifact Flow:&lt;/strong&gt; When an agent finishes, it passes a structured artifact (like an API contract or schema) to the downstream agents.&lt;/li&gt;
&lt;li&gt; &lt;strong&gt;Reviewer Agent:&lt;/strong&gt; Automatically checks their work. If tests fail, it sends the dev agent back to fix it.&lt;/li&gt;
&lt;li&gt; &lt;strong&gt;Memory Agent:&lt;/strong&gt; Reads all task outputs and updates a persistent &lt;code&gt;PROJECT_MANIFEST.md&lt;/code&gt; so the team doesn't lose context as the project grows.&lt;/li&gt;
&lt;/ol&gt;

&lt;h3&gt;
  
  
  System Workflow
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;┌─────────────────────────────────────────────┐
│ Orchestrator (Meta-Agent)                   │
│ Decides what needs to be done               │
└──────────────────┬──────────────────────────┘
                   │ Creates DAG
                   ▼
┌─────────────────────────────────────────────┐
│ Task Queue (DAG Executor)                   │
│ Stores and distributes work                 │
└─────┬───────┬───────┬───────┬───────────────┘
      │       │       │       │
      ▼       ▼       ▼       ▼
┌─────────┐ ┌─────────┐ ┌─────────┐ ┌─────────┐
│ Agent 1 │ │ Agent 2 │ │ Agent 3 │ │ Agent N │
│Frontend │ │ Backend │ │ Tests   │ │ Reviewer│
└─────────┘ └─────────┘ └─────────┘ └─────────┘
      │       │       │       │
      └───────┴───────┴───────┘
                  │
                  ▼
         ┌──────────────────┐
         │ Mobile Dashboard │
         └──────────────────┘

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Zero Extra API Costs
&lt;/h2&gt;

&lt;p&gt;The best part? &lt;strong&gt;No API Keys needed.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Hivemind runs directly on top of the Claude Code CLI. It spawns local subprocesses of the CLI you already have installed. You don't pay for tokens; it just uses your existing subscription. It handles the terminal heavy lifting while you watch.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Mobile Dashboard
&lt;/h2&gt;

&lt;p&gt;I wanted to be able to kick off a complex task, go lie on the couch, and see exactly what's happening from my phone. I built a real-time UI (React + TypeScript + WebSockets) that shows:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Live streaming&lt;/strong&gt; of what every agent is doing right now.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;File diffs:&lt;/strong&gt; See exactly which files are being touched in real-time.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;DAG Progress:&lt;/strong&gt; Visual task graph showing agent status and dependencies.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F1s9vz9t9szc8ix23ygs1.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F1s9vz9t9szc8ix23ygs1.png" alt="Mobile Dashboard" width="800" height="1552"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  How It Handles The Hard Stuff
&lt;/h2&gt;

&lt;p&gt;When you build an AI system that runs locally and orchestrates multiple agents, you run into some serious engineering challenges. Here is how Hivemind solves them:&lt;/p&gt;

&lt;h3&gt;
  
  
  1. Handling Rate Limits (429 Too Many Requests)
&lt;/h3&gt;

&lt;p&gt;Running up to 4 agents concurrently (the default &lt;code&gt;DAG_MAX_CONCURRENT_NODES&lt;/code&gt;) on a single Claude subscription will hit rate limits. Hivemind has a built-in &lt;code&gt;EventThrottler&lt;/code&gt; and a &lt;code&gt;CircuitBreaker&lt;/code&gt; for the SDK client. When an agent hits a 429, the system catches the &lt;code&gt;EXTERNAL_RATE_LIMIT&lt;/code&gt; failure category and automatically applies an exponential backoff retry strategy (up to 3 retries with a 10-second delay) before gracefully pausing the affected node while other agents continue.&lt;/p&gt;

&lt;h3&gt;
  
  
  2. Active Escalation (Preventing Infinite Loops)
&lt;/h3&gt;

&lt;p&gt;Agents get stuck. They repeat the same error, get caught in circular delegations, or burn through the budget without modifying files. Hivemind has a background Watchdog that monitors 5 distinct "stuck signals" (e.g., orchestrator text similarity &amp;gt; 85%, no file progress for 3 rounds). When triggered, the &lt;code&gt;Active Escalation&lt;/code&gt; module steps in:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Reassign:&lt;/strong&gt; Passes the task to a fallback agent (e.g., if &lt;code&gt;frontend_developer&lt;/code&gt; is stuck, try &lt;code&gt;developer&lt;/code&gt;).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Simplify:&lt;/strong&gt; Rewrites the prompt to focus on the minimum viable implementation.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Kill &amp;amp; Respawn:&lt;/strong&gt; Hard-kills the stuck Claude session and spawns a fresh one.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  3. Security &amp;amp; Sandboxing
&lt;/h3&gt;

&lt;p&gt;Because Hivemind spawns local processes that execute code, security is critical. At the SDK layer, there is a hard project guard that intercepts every Read/Write/Edit/Glob command and blocks any path that resolves outside the designated project directory. For maximum isolation, the entire orchestrator is packaged in a Docker container (&lt;code&gt;docker-compose.yml&lt;/code&gt; included) that mounts only the specific project folders it needs, keeping your host system safe.&lt;/p&gt;

&lt;h2&gt;
  
  
  Try It Out
&lt;/h2&gt;

&lt;p&gt;Hivemind is completely free and open-source under the &lt;strong&gt;Apache 2.0 License&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;GitHub:&lt;/strong&gt; &lt;a href="https://github.com/cohen-liel/hivemind" rel="noopener noreferrer"&gt;cohen-liel/hivemind&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;You can get started in one line:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;git clone https://github.com/cohen-liel/hivemind.git &lt;span class="o"&gt;&amp;amp;&amp;amp;&lt;/span&gt; &lt;span class="nb"&gt;cd &lt;/span&gt;hivemind &lt;span class="o"&gt;&amp;amp;&amp;amp;&lt;/span&gt; ./setup.sh
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;I'd love to hear your thoughts on the DAG implementation, or if you have any ideas for new specialist agents! Drop a comment below or open an issue on GitHub.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>opensource</category>
      <category>development</category>
      <category>claudecode</category>
    </item>
  </channel>
</rss>
