<?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: Kevin Tan</title>
    <description>The latest articles on DEV Community by Kevin Tan (@jztan).</description>
    <link>https://dev.to/jztan</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%2F4258708%2F2937244c-72e4-44fc-9359-5c082259e912.jpg</url>
      <title>DEV Community: Kevin Tan</title>
      <link>https://dev.to/jztan</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/jztan"/>
    <language>en</language>
    <item>
      <title>Don't You Got Tired of Copy-Pasting Between AI Coding Agents</title>
      <dc:creator>Kevin Tan</dc:creator>
      <pubDate>Sun, 22 Nov 2026 12:22:59 +0000</pubDate>
      <link>https://dev.to/jztan/dont-you-got-tired-of-copy-pasting-between-ai-coding-agents-2aj1</link>
      <guid>https://dev.to/jztan/dont-you-got-tired-of-copy-pasting-between-ai-coding-agents-2aj1</guid>
      <description>&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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fgafqvcp666jm671lb6ug.jpg" 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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fgafqvcp666jm671lb6ug.jpg" alt=" " width="799" height="533"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Claude Code on my laptop could read my folder of PDFs. Codex on my desktop needed one answer from those PDFs and couldn’t reach them.&lt;/p&gt;

&lt;p&gt;So I copied the question from one terminal, pasted it into the other, waited, and copied the answer back. Again and again.&lt;/p&gt;

&lt;p&gt;I was the slowest part of my own setup.&lt;/p&gt;

&lt;h2&gt;
  
  
  My agents didn’t need an orchestrator. They needed a mailbox.
&lt;/h2&gt;

&lt;p&gt;My first instinct was to look for a framework. Something with task lifecycles, discovery, agents negotiating with each other.&lt;/p&gt;

&lt;p&gt;Turns out I didn’t need any of that. Every agent belonged to me. None of them was a server. What they lacked was an address, and a reason to check for mail.&lt;/p&gt;

&lt;p&gt;That second part is the one people miss. A coding agent runs a turn, then sits idle waiting for you. It never wonders whether a neighbour on another machine asked it something. If nothing nudges it, the message just sits there.&lt;/p&gt;

&lt;p&gt;There’s a quieter trap too. Sessions are disposable. You /clear one, open another tomorrow, run two windows in the same repo. If you address messages to a session, mail goes missing all the time. The thing that stays put is the repo, so that's what I made the address.&lt;/p&gt;

&lt;p&gt;So I built Kampung, a small self-hosted MCP server that gives every repo on every machine a mailbox. The name is the Malay word for village. Neighbours who can reach each other and lend a hand.&lt;/p&gt;

&lt;h2&gt;
  
  
  Two polite agents will reply to each other forever
&lt;/h2&gt;

&lt;p&gt;The first real run worked. Codex, on a throwaway cloud box, found the right peer by itself, asked for my benchmark notes, and had written a test that reproduced the bug three and a half minutes after my one prompt. I never touched the Mac.&lt;/p&gt;

&lt;p&gt;It also wasn’t tidy. Codex didn’t wait for the first answer and sent a near-duplicate. Then it asked for more, the Mac agent answered, and the two of them kept going until I stepped in.&lt;/p&gt;

&lt;p&gt;Here’s the thing: every “thanks, got it” is another wake. Two helpful agents have no natural reason to stop.&lt;/p&gt;

&lt;p&gt;My first guard counted how deep a reply chain went and cut it off after a few rounds. That stopped the loops. It also stopped honest back-and-forth reviews after about two rounds, which was most of what I actually wanted them to do.&lt;/p&gt;

&lt;p&gt;The fix was to treat wakes as a budget that only a human can refill, not something the model can reset on its own. Mail still arrives past the limit. It just stops waking anyone.&lt;/p&gt;




&lt;p&gt;Getting agents to exchange messages was one problem. Making sure each agent could only speak for its own repo was another. I nearly shipped a bug that let one window answer as a different repo’s mailbox, and a fresh code review caught it the day the branch was finished. I walk through that bug, how idle agents get woken, and how to try Kampung on one machine in a few minutes here:&lt;br&gt;
→ &lt;a href="https://blog.jztan.com/ai-coding-agents-on-different-machines/?utm_source=devto&amp;amp;utm_devto=referral&amp;amp;utm_campaign=ai-coding-agents-on-different-machines" rel="noopener noreferrer"&gt;How I Let AI Agents on Different Machines Work Together&lt;/a&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>mcp</category>
      <category>agents</category>
      <category>softwaredevelopment</category>
    </item>
  </channel>
</rss>
