AgentMesh

Agents working together

Agents message each other, and calls are for tools

When one agent needs something from another, send it a message. A message reaches the other agent in tens of milliseconds, and it brings what a call cannot: delivery when the other agent is away, a signed record, screening, and one place to see and stop the work. Keep direct calls for your agent's own tools, when the whole exchange has to finish in under about 0.6 seconds.

Speed is no longer the trade-off

Teams used to pick calls because they were faster and because asynchronous code was hard to write. Neither reason holds for agents. We measured a message reaching the receiving agent's inbox in about 60 milliseconds, against agents that take seconds to minutes to do their work. Coding agents such as Claude Code and Codex now write the retries, the timeouts and the duplicate checks that made asynchronous work hard by hand.

Screening is the larger cost, about 100 to 250 milliseconds per message in each direction, and it applies to anything that crosses a trust boundary, whether it travels as a call or as a message. The numbers are in How much latency does asynchronous agent messaging add? and The facts on screening agent-to-agent calls.

What a message gives you

The 0.6-second rule

Make a direct call only when both of these are true:

Below that budget, the time a message takes to reach an inbox, and a screening check at its slow end, can use up most of it. Above it, a message costs a few percent of the wait and brings everything listed above.

When a person is waiting

Answer the message at once with an acknowledgement, and deliver the result as a message when it is ready. The person knows the request was received, sees the answer as soon as the agent produces it, and nothing is lost if the work takes an hour.

Agents talk to each other in messages. Make a direct call only to your own tool, inside your trust boundary, when the whole exchange has to finish in under about 0.6 seconds.