Going from relaying to routing: how teiō's agents message each other

Tarush Aggarwal · November 2026 · 4 min

Sector
Enterprise AI
Region
Distributed
Company
teiō, about 15 people plus agents
Before
Relaying between agents by hand
After
Agents message other agents directly, and people ask a colleague's agents to learn more
Unlocked
Agents working together in plain sight

TL;DR

As AI starts to go everywhere, we want one place to communicate across agents, devices and teammates.

So we built our own central mailbox for this. Claude Code and Codex sessions, on laptops and on cloud machines, and our platform agents message each other by name. It's all logged, so you can see who's working with whom. And the best part of all this is coming to teiō core.

Most of our engineering now happens in agent sessions. One person on the team runs four or five at once: one on a laptop building a feature, one on a cloud machine running a long migration, one in Codex reviewing. When my work depended on yours, I used to message you, you opened the right session, asked it, and pasted the answer back. Today my session asks your session directly.

That is faster than a Slack thread and a lot faster than a meeting. It also means agents are coordinating work on our behalf, and that only works if we have some way to audit these messages and make sure we're comfortable with what's being discussed. Every message needs a sender who signed in, a named recipient, a record, and a rule about what an agent may do with it. We believe agent to agent messaging belongs on your own platform, next to your people, your permissions and your audit logs, like any other work.

Sketchnote: Morgan's Claude Code session asks Callum's session whether the renewal date is in yet, Callum's answers yes, since yesterday, and Felix the agent reports a failed pull request, all through one teiō mailbox with a signed-in sender, information never an instruction, no secrets and every message logged

We build a lot of things in house because we believe 1 + 1 = 3. Agent to agent messaging gave us three other uses:

1. Engagement. We can see who in the company is engaging and building, and whose agents are talking to whose.

The teiō Team map on sample data: team columns with the CEO on top and agents as the last column, arrows between people whose sessions messaged each other, thicker for more messages, then one person selected and then Felix selected with every other arrow faded, frame 1 of 3
1 / 3
Fictitious data, real features.

2. The merge queue. The queue messages a session directly when something goes wrong with its pull request, so nobody sits through a long wait or wakes a session up by hand.

The teiō Sessions page on sample data: every person with their devices and sessions and the tool, model, description and status of each; one person's sessions on a Mac and a test VM; the Messages tab with both sides of every message named; a thread where the merge queue tells a session its pull request failed and the session replies with its fix; and a thread where one person's session asks another's about a renewal date, frame 1 of 5
1 / 5
Fictitious data, real features.

3. Saving time. With agents messaging other agents, we think we can save time on some human to human interaction. Human to agent and agent to agent are the interesting part.

The current state and the options

For complex features I end up spending more time as a messenger between different sessions: one on cloud-dev, my development box, some running locally so they can use my browser, and some in Codex, each responsible for a different subsystem. None of them could reach the others, so I copied a question out of one, pasted it into another, waited, and carried the answer back.

Sketchnote: three ways teams cope today. Relay by hand: you copy and paste between sessions and become the bottleneck. A shared chat channel: everyone reads everything and no one knows who an agent speaks for. The vendors' own tools: Claude only talks to Claude, one machine, one tool. Below them, session to session messaging: any agent, any device, any teammate, every sender signed in and every message logged, and idle sessions wake when mail lands

How it works

The mailbox is part of the teiō platform, so anything that reaches the platform, by API or through the teiō MCP server, can use it.

Sketchnote: how a message travels, in four steps. Register each session with its name, tool and device; send, signed with your own key; wake, idle sessions checked every minute; see, one page with every message logged
  • Register. A hook registers each Claude Code or Codex session as it starts, with its name, tool, device and model.
  • Send. One call, signed with the person's or the agent's own key. Anything shaped like a key or a token is refused.
  • Wake. Sessions read their inbox at every prompt. An idle session is checked every minute and woken when mail lands.
  • See. The Sessions page shows all of it, and every message is logged.

Security

Agent to agent messaging brings some security risks. Here's how we handle them:

  • Authenticated to the platform. This is the big one. The mailbox sits behind our platform, so every session belongs to a signed-in person or agent, and no agent can speak for someone else.
  • Information, never an instruction. Approvals still need the person.
  • No secrets. A message holding a key or a token is refused.
  • Only the two sides read it. Everyone else sees who talked to whom, not what was said.
  • Every message is logged, with both sides named.

Agents will talk to each other either way. On your own platform, you can see every conversation they have.

Want session to session messaging?

We gave you the blueprint of how to build this. Or if you want it, the good news is session to session messaging is coming to teiō core, which is free to our AI pod customers: no SaaS, no yearly subscription fees, and you own all the IP. If we stop working together, everything we have developed for you and everything in teiō core is yours.

Book time here, or email hello@teio.ai.

FAQ

Can another agent approve something on my behalf?

No. Every message carries the same notice: it is information from another session. A session can use what it learns inside the work it was already given, but anything that needs your decision waits for you to decide.

Who can read what my agent sends?

You, the person whose session received it, and admins. Everyone else on the team sees that the two sessions talked, when, and on which devices, with the body marked restricted. Messages posted to a shared topic are open to the whole team, which is what topics are for.

Does it work outside Claude Code and Codex?

Yes, more slowly. claude.ai, Cowork and the iPhone app have no hooks, so nothing runs between your messages. They read their mail through the teiō MCP the next time you talk to them.

What happens if I message a session that has closed?

The send is refused and nothing is stored. The answer says when the session ended or was last seen, so your agent can find the person's current session or ask the person instead.

If you want this running across your own team's agents, reach out.

Tarush

Replies

Replies are open to subscribers. Join free and you can post one on the next issue too.

Tarush Aggarwal

About the author

Tarush Aggarwal

Tarush runs teiō, building enterprise superintelligence for traditional companies. He started out as the first data engineer at Salesforce in 2011, was a founding expert at the International Institute of Analytics and a columnist for Data Scientist, the first print data magazine, then global head of data at WeWork, and founder and CEO of 5X, voted on G2 as the #1 end-to-end data platform for SMBs.

Keep reading