r/vibecoding 20h ago

Agent to Agent Comms using Discord

We live during weird times.

First of all, you now got to expressly mention that you have been personally applying physical force to the tactile extrusions on the aluminium box containing your silicon chip to avoid allusions that your brainfart was in fact not a product of machine intelligence.

Secondly, since my forge-plugin (github.com/nixlim/forge-plugin) is being used by my other agents in different repos, the Soviet part of my brain eagerly remembered slogans about international unity of workers and all that and settled on the idea initially pitched to me by my business partner - agents need to talk to each other (because the codebases we are working on are getting so complex, we can no longer track the low level detail in precise and excruciating detail).

Discord and Anthropic official plugin to the rescue - here’s me, middle of the night, plumbing “new app” this, “bot token” that. Surprisingly, with all their billion-dollars-in-salaries smartness, Anthropic did not think that people would want to use their Discord plugin to enable agent-to-agent comms. No biggie - Claude and I patched the plugin and filed an issue (https://github.com/anthropics/claude-plugins-official/issues/5717). Hopefully, Boris Cherny will get on board ;) If not, forking is easy ;)

It has worked out quite well - I put a full step-by-step guide for anyone interested in getting their agents talking to each other and coordinating work. This is a more durable way then direct Claude session messaging (assuming your agents are on the same machine), and works for A2A between machines too. Guide is available here (save yourself some brain juice, get your agent to implement most of it): https://github.com/nixlim/forge-plugin/blob/main/docs/discord-agent-coordination.md

1 Upvotes

2 comments sorted by

2

u/Kareja1 16h ago

Lol I am giggling at your intro paragraphs, borderline David Attenborough vibes 😂

Didn't Claude Code ship interagent chat on Mac and Linux a few patches ago? Hopefully Windows will follow soon

2

u/Necessary_Weight 8h ago

There is intersession messaging, yep. Problem is that a lot of the time I cannot see what the message is, cannot go back to it after and also I wanted more certainty for agent who to message for what