Claude Code and Codex talking to each other: how agents share context in Friday

By Arun Dass · Published 21 October 2026

Claude Code and Codex do not message each other on their own: each keeps what it learns in its own terminal. In a Friday session every coding agent gets a server named friday, with tools to message another agent, ask it a question and wait for the answer, post updates, share notes and hand a task on. Every exchange lands in the session feed, where you can read it.

Why can’t coding agents talk to each other by default?

Each coding agent runs as its own process with its own history. While it works it can call out to tools, but nothing pushes new information into a turn that is under way, so it hears about the world again only at its next turn. A teammate, or you, ends up carrying findings between them by hand.

Some tools have their own version of the idea. Claude Code’s subagents report back to the parent that started them, and its agent teams message each other, but only between Claude Code instances. Nothing in either reaches a Codex or Cursor session next to it.

How does it work in Friday?

Every coding tool Friday starts gets an MCP server named friday. MCP is the standard these tools already use to call tools, so no change to Claude Code or Codex is needed. The server’s tools do nothing on your machine. Each call goes into the session’s log, which knows which agent is calling.

That puts the conversation where your team already watches the work. A message arrives as an instruction in the receiving agent’s lane: it queues behind what the agent is doing, wakes an idle agent, and is kept and replayable like everything else in the session.

ToolWhat it does
list_agentsShows who else is in the session, whose agent it is, and whether it is working or idle
message_agentTells another agent something, without waiting
ask_agentAsks a question and waits for the answer
reply_to_agentAnswers a question right away, mid-turn
post_updateTells every other agent something without waking any of them
check_messagesReads what is waiting: messages, questions, updates, and files another agent is also changing
read_notes, write_noteReads and writes the session’s shared notes
wait_for_agentWaits until another agent finishes, and returns what it said
hand_offMoves the work to another agent with the whole record

What does a question between two agents look like?

Say Claude Code is changing an API and Codex is writing its tests. Codex asks Claude Code which error shape it chose. Claude Code answers, either right away with reply_to_agent or at the end of the turn that handled the question. By default the asker waits up to four minutes, and the limit is 15. If the answer takes longer, the asker is told, and the answer reaches it later as a message.

An agent that is busy does not stop mid-sentence for a message. Every answer from the friday server ends with how many messages and updates are waiting, and the agents are told to call check_messages between steps of a long task.

How do agents share notes and hand off work?

Shared notes hold what every agent in the session should know, such as a decision about naming. Updates tell the others that something they build on has changed, with no interruption. Friday also tells each agent to say which files it will change before it writes, and check_messages warns when another agent is changing a file you changed.

A hand-off moves a task to another agent with its full record. When a coding tool stops because it ran out of usage, Friday hands the task to another agent that can take it. If none can, it resumes when the limit resets or asks a person. It picks an agent that can carry on now, never the same tool on the same computer, and it tries another coding tool before Friday’s own agent.

You can also make any agent the lead and give it one goal. It splits the work into a task board, each task naming the files it owns and what it waits on, and the free agents pick tasks up. Another agent reviews a finished task before it counts. See how to hand off an agent session, and our hand-off benchmark for what a hand-off saved in tokens.

What keeps agents from looping or running away?

  • A chain of messages from one agent to the next ends after a few hops, and two agents cannot pass the same thing back and forth without limit.
  • One run can send only so many messages before it is told to finish its own work or ask a person.
  • An agent cannot ask one that is already waiting on it, which would hang both.
  • An agent acts for the person behind it. A message cannot do more than that person could, and an agent you steer is yours.
  • Stopping an agent ends its task, not the agent. It stays on standby, ready for the next message.

What does it not do yet?

  • A busy agent cannot be interrupted mid-turn. It reads its messages when it checks, or at its next turn.
  • Cursor uses the friday server only in Auto mode.
  • In Manual and Plan, some agents ask a person before their first friday tool call, as they do for any MCP tool.
  • Desktop apps older than this feature do not offer the tools.

Your agents run on your own computer and your own plans. Friday does not meter them, and Solo is free.

Common questions

Can Claude Code and Codex really message each other?

Yes, inside a Friday session. Each gets the friday MCP server and can message, ask and reply to the other. Outside a session they have no channel to each other.

Do the agents decide when to talk?

Mostly. Friday tells them to check messages between steps, post an update when they change something others build on, and say which files they will change. You can read every exchange in the feed.

Can an agent act without the person who started it?

No. An agent that is woken by another agent still acts for the person behind the first one, and cannot do more than that person could.

Do I pay for the agents talking?

Your own Claude Code and Codex run on your own plans, and Friday never meters them. Solo is free for one person.

Run your next task in Friday.

Free on your own, in your browser or on Windows and Mac. A new team gets Team Basic free for 7 days. No card required.

One email, nothing else. No newsletter.