⚠️ Malware / Trojaner / VirenThe Real Risks Of Shadow AI In The Enterprise(08.09.2026 um 16:47 Uhr)
🔧 AI Nachrichten Stopping Data Exfiltration Through LLM Prompts And Responses(08.09.2026 um 17:51 Uhr)
🕵️ SicherheitslückenLinux Threat Hunting - PSW #942(03.09.2026 um 23:00 Uhr)
⚠️ Malware / Trojaner / VirenThe Real Risks Of Shadow AI In The Enterprise(08.09.2026 um 16:47 Uhr)
🔧 AI Nachrichten Stopping Data Exfiltration Through LLM Prompts And Responses(08.09.2026 um 17:51 Uhr)
🕵️ SicherheitslückenLinux Threat Hunting - PSW #942(03.09.2026 um 23:00 Uhr)

🔧 Programmierung 🕛 vor 3 Monaten 5 Min Lesezeit
0

I built agmsg so Claude Code and Codex could stop using me as a copy-paste relay

↗ Quelle (dev.to)
🗣️ Stimme:
📑 Inhaltsübersicht

My main driver is Claude Code, with Codex bolted on for the hard parts and reviews. The split works surprisingly well. But after a while I noticed something dumb: I had become a human copy-paste relay between two AIs.



Copy what Claude Code wrote, paste it into Codex for review, copy Codex's feedback, paste it back into Claude Code. Dozens of times a day. It's tedious, it breaks focus, and I'd occasionally paste the wrong thing. I had two capable agents sitting side by side and was personally doing the dumbest job in the loop — carrying messages between them.



Agents should just be able to message each other directly. So I built agmsg and put it on GitHub: , so you install it as a skill and don't touch the agent itself. It turned out better than I expected, so I open-sourced it.






Design decisions



The order I went through, and why.



I checked the built-ins first. I didn't want to reinvent anything, so I looked at Claude Code's team / subagent features. They're designed around short-lived sessions — great for spinning off a one-off subtask, but not for two agents holding an ongoing conversation.



I started with plain text files. The built-in team agent was file-based and simple, so I did the same. Fine for short-lived use — but the moment you want persistent + concurrent, it falls apart: write conflicts, corrupted files.



So I moved to SQLite (WAL mode). Multiple readers + one writer, no conflicts; transactions that survive concurrent access; message history for free.



But keep dependencies minimal. This is the part I cared about most. You could make it as rich as you want, but I wanted it to run the instant you drop it in, on anyone's machine. The result: it runs anywhere bash and sqlite3 run. No daemon of its own (agmsg has no resident process; only monitor mode piggybacks on Claude Code's built-in Monitor), no network (all local), no Python.






Delivery modes — monitor is what made it usable



There are roughly three ways a message reaches an agent:





  • manual — you run /agmsg, or ask the agent to "check the inbox." Reliable, but you have to remember.


  • hook — checks between turns (on the Stop hook). Codex defaults to this, since it has no Monitor tool.


  • monitor — subscribes to SQLite continuously and interrupts the conversation in real time when a message lands. This is the default on Claude Code.



Honestly, monitor is what tipped it from toy to useful. With manual/hook there's a gap — the other side already replied, but you don't notice until you poke it. With monitor, the conversation just flows.



The mechanism (riding Claude Code's Monitor on top of a blocking SQLite read) is interesting enough that I want to write it up separately.



And here's the fun part. Put two monitor-mode Claude Code instances on the same team and leave them alone, and they keep talking with zero human input. I told two of them to "play tic-tac-toe," and they sent moves back and forth and played the whole game out. Not useful, exactly — but watching two agents volley autonomously is genuinely fun:



Vollständiger Original-Bericht
Ausführliche Details, Code-Beispiele & Hersteller-Stellungnahme auf dev.to.
↗ Original-Artikel auf dev.to lesen
Wie bewertest du diesen Beitrag?
1 Klick Feedback
Teilen mit Netzwerk & Team:

Community-Analysen & Experten-Meinungen 0

Verfasse deine eigene Analyse, teile Workarounds oder diskutiere diesen Vorfall im Blog.
Noch keine Community-Analyse verfasst. Markiere einen Textabschnitt oder klicke oben auf Eigene Analyse verfassen“!
Community Pulse: Relevanz-Einschätzung
1 Klick Experten-Votum
🔴 Akute Relevanz 0%
🟡 In Evaluierung 0%
🟢 Keine Auswirkung 0%
Spannende Innovation 0%
Verwandte Story-Cluster & Quellen (Vektor-KI)
Port 8095 Engine
2 Quellen
News alert: Bright Security launches AI PT, AI-powered penetration testing that cuts weeks to hours
1 Quelle
Case study: ManageWP Blocks 11.9M+ Threats in 6 Months with Patchstack
1 Quelle
Unauthenticated PHP Object Injection to Remote Code Execution on GiveWP
Ähnliche Beiträge
🔍 Verwandte News

Auch interessante Nachrichten I built agmsg so Claude Code and Codex could stop using me as a copy-paste relay

Thematisch verwandte Begriffe: built, agmsg, Claude, Code · 6 Treffer

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...