<?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: Atajo Studio</title>
    <description>The latest articles on DEV Community by Atajo Studio (@atajostudio).</description>
    <link>https://dev.to/atajostudio</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.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4275237%2F85bb9e97-abcc-4fac-b016-cdbaffe0605f.png</url>
      <title>DEV Community: Atajo Studio</title>
      <link>https://dev.to/atajostudio</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/atajostudio"/>
    <language>en</language>
    <item>
      <title>Stop babysitting your coding agents: a coordinator + workers pattern</title>
      <dc:creator>Atajo Studio</dc:creator>
      <pubDate>Tue, 01 Dec 2026 01:18:54 +0000</pubDate>
      <link>https://dev.to/atajostudio/stop-babysitting-your-coding-agents-a-coordinator-workers-pattern-245h</link>
      <guid>https://dev.to/atajostudio/stop-babysitting-your-coding-agents-a-coordinator-workers-pattern-245h</guid>
      <description>&lt;p&gt;If you run several AI coding sessions at once, one per repo or topic, you probably know the feeling: tab-hopping, re-reading each session's output, losing the thread. The issue usually isn't discipline. It's that nothing coordinates the sessions.&lt;/p&gt;

&lt;p&gt;Here is a small pattern that fixes most of it.&lt;/p&gt;

&lt;h2&gt;
  
  
  1. Talk to one agent, not four
&lt;/h2&gt;

&lt;p&gt;Pick one session as the &lt;strong&gt;coordinator&lt;/strong&gt;. It starts the worker sessions (one per repo or topic) with clear instructions, checks on their state, and gives you one consolidated summary. You read one thing instead of four.&lt;/p&gt;

&lt;h2&gt;
  
  
  2. Make state live outside the model
&lt;/h2&gt;

&lt;p&gt;A new session doesn't remember the last one. Continuity has to live in files: a state file, a repo with a &lt;code&gt;CLAUDE.md&lt;/code&gt; or similar instructions file, a memory store. The first step of every session, coordinator or worker, is: read the saved state. Never assume context that isn't written down.&lt;/p&gt;

&lt;p&gt;A minimal state file has three parts:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Done:&lt;/strong&gt; what was completed.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Exact next step:&lt;/strong&gt; unambiguous, so the next session doesn't have to rediscover anything.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Blocked:&lt;/strong&gt; what failed and what was already tried.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  3. Checkpoint per unit of work, not per session
&lt;/h2&gt;

&lt;p&gt;Update the state file every time a unit of work finishes, not at the end of the session. If a session dies (quota, network, anything), you lose minutes, not hours.&lt;/p&gt;

&lt;h2&gt;
  
  
  4. Give stop rules, not "work until you run out"
&lt;/h2&gt;

&lt;p&gt;"Work until the quota runs out" invites an agent to keep "improving" things you never asked for. Try this instead:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Do ONLY the task marked TODAY. Once its definition of done is met and you've verified it once, update the state file and stop. Don't start another task.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;For longer tasks, use a triple limit. Stop at whichever comes first:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;The definition of done is met.&lt;/li&gt;
&lt;li&gt;60 minutes have passed.&lt;/li&gt;
&lt;li&gt;Three failed attempts on the same problem. Mark it BLOCKED and stop, don't keep pushing.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Success is hitting the goal in the fewest steps, not working for the longest time.&lt;/p&gt;

&lt;h2&gt;
  
  
  5. Match the model to the task
&lt;/h2&gt;

&lt;p&gt;Don't use your most expensive model for everything. Keep it for the hard parts (architecture, tricky debugging) and let a cheaper model handle routine work: repetitive code, file updates, checkpoints. This choice usually saves more than any prompt tweak.&lt;/p&gt;

&lt;h2&gt;
  
  
  A checklist for your first scheduled worker
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;A state file with 1 to 3 tasks for the day, each with a definition of done.&lt;/li&gt;
&lt;li&gt;A daily trigger at a fixed hour (at night, if you don't use the account then).&lt;/li&gt;
&lt;li&gt;A rule: if requirements haven't changed since the last run, do nothing.&lt;/li&gt;
&lt;li&gt;A checkpoint after each finished unit.&lt;/li&gt;
&lt;li&gt;A cheap model by default, the expensive one only when marked as needed.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Nothing here depends on a specific tool. The point is a thin coordination layer, so you stop being the glue between your own agents.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>productivity</category>
      <category>claude</category>
      <category>tutorial</category>
    </item>
  </channel>
</rss>
