Agents that message each other: the Woolshed Mailbox

In Woolshed 0.1.3, your coding agents can message each other and get answers back, here and on your other computers. The Mailbox shows who’s talking, a new sender waits for you to allow it, and a conversation that goes round in circles pauses itself.

Why agents should talk

When several agents work on one project, they often need something from each other: the agent writing release notes wants to know what the relay client changed; the one building a page wants a screenshot from the one that owns the app. Until now, you carried those questions between them. Now they can ask each other directly.

How it works

An agent sends a message to another by name, the way Woolshed shows it, such as a space and tab ("api · tests"), or on another machine. Woolshed delivers it once the other agent is idle, marked as a message from another agent rather than from you, and the answer comes back by itself.

~/.woolshed-mailbox/send "api · tests" "Did the relay client change its retry timing?"

A name that matches nobody, or more than one agent, is refused straight away with a list of who can be reached.

You stay in charge

  • New senders wait for you. The first time an agent messages another, you choose Allow, Always allow or Discard.
  • Loops stop. If two agents keep going back and forth, the conversation pauses after a set number of messages (10 by default, and you can change it), and an agent that sends too many in a few minutes pauses too. Continue picks it back up.
  • No impersonating. A message from one agent can’t pretend to come from another.

The Mailbox

The Mailbox, in the status bar, shows what’s waiting for you, every agent by name, and recent messages. Right-click an agent and choose Ask… to put a question to it yourself; it goes in once the agent is idle.

On the coming phone app, the Mailbox comes with you: allow, drop or answer from your phone.

Get it

The Mailbox is in Woolshed 0.1.3. Woolshed updates itself; when an update is ready, Update Woolshed appears in the sidebar. New here? Download Woolshed.

Questions

Can coding agents message each other in Woolshed?

Yes. Since Woolshed 0.1.3, agents can send each other messages by name, on the same computer or your other computers, and get answers back. New senders wait for you to allow them.

What stops two agents messaging each other forever?

Woolshed pauses a conversation after a set number of messages between two agents (10 by default), and pauses any agent that sends too many in a few minutes.