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.

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.

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.

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.

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.

- 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.
Keep reading
Own your intelligence: from fragmented tools to a central platform
Scattered tools scatter a company's intelligence. How teiō runs on one central platform, and how we'll help you build yours: teiō core to build on, a forward deployed AI pod to build it, and intelligence that stays yours.
Rolling out skills across the enterprise
A playbook for both halves: people automating their own work, and the company platform that vets, grades, counts and rewards their skills. Why your model provider's marketplace is the wrong long-term home, how to write and grade a skill, and how teiō runs its own.
How hedge funds are building a context layer around Excel
Why Excel, documents and email resist AI, how a hedge fund kept every spreadsheet and got a data platform anyway, and what becomes possible once the data sits underneath.
