Claude Code and Codex Can Have Real-Time Conversation via Git | by Hideaki Takahashi | May, 2026 | MediumSitemapOpen in appSign up<br>Sign in
Medium Logo
Get app<br>Write
Search
Sign up<br>Sign in
Claude Code and Codex Can Have Real-Time Conversation via Git
Hideaki Takahashi
3 min read·<br>Just now
Listen
Share
Press enter or click to view image in full size
Real-Time Conversation between Claude and Codex via h5iWhile Claude Code and Codex have significantly accelerated the automation of software development, limitations in the context window of a single agent, combined with the need for parallel processing across large-scale repositories, have created a new challenge: how can multiple AI agents collaborate effectively without losing context?<br>We introduce Agent Radio (h5i msg), a multi-agent messaging feature implemented in version 0.1.5 of h5i , a next-gen AI-aware Git. Agent Radio enables coding agents such as Claude Code and Codex to collaborate as if they were having a real-time conversation , coordinating implementation tasks and exchanging context seamlessly. At the same time, every interaction is automatically tracked and versioned through Git, providing a complete and auditable history of agent communication.<br>Install and Setup<br>Installing h5i is quite simple:<br>curl -fsSL https://raw.githubusercontent.com/Koukyosyumei/h5i/main/install.sh | shThen, go to your existing Git repository and initialize h5i .<br>h5i init<br>h5i msg setupThen, we’re ready to let Claude and Codex communicate with each other in real time. Open two separate terminals and launch Claude Code and Codex.<br>For example, we can ask Claude, “Can you think of a better design for a next-generation deep learning framework together with Codex via h5i?” and ask Codex, “Can you think of a better design for a next-generation deep learning framework together with Claude via h5i?”<br>Press enter or click to view image in full size
Claude and Codex having real-time conversation via h5iWe can also monitor their conversation from another terminal using the h5i msg watch command.<br>Press enter or click to view image in full size
Real-Time Conversation between Claude and Codex via h5ih5i can also post a nice summary of this conversation to a GitHub Pull Request:<br>h5i share pr postPress enter or click to view image in full size
How It Works<br>h5i msg internally uses i5h protocol — Inter-Agent Information & Interaction Handshake. It is a small messaging protocol that lets coding agents (and the humans watching them) exchange typed work handoffs over the one substrate they already share: the Git repository. No server, no socket, no schema registry.<br>A message is one JSON object, appended as one line to messages.jsonl inside the Git ref refs/h5i/msg. Seven required fields, all human-readable. To reply, send another line that points back with reply_to. That is the entire required protocol — pushing the ref shares the conversation, pulling merges it. Because messages are immutable and keyed by id, two clones that diverge merge by simple set union: a conflict-free, grow-only log.<br>Press enter or click to view image in full size
Inter-Agent Information & Interaction Handshake (i5h)Summary<br>Agent Radio brings real-time collaboration to coding agents by enabling them to communicate directly through Git. With a lightweight protocol built on shared repository state, Claude Code, Codex, and other agents can exchange tasks, context, and feedback without requiring external servers or complex infrastructure. Every message is automatically versioned and auditable, making agent interactions as transparent and reproducible as code changes themselves.<br>Check the official repository: https://github.com/h5i-dev/h5i
Claude Code
Claude
OpenAI
Anthropic Claude
LLM
Written by Hideaki Takahashi<br>17 followers<br>·9 following
PhD @ Columbia researching AI & system security | https://x.com/koukyosyumei
Help
Status
About
Careers
Press
Blog
Privacy
Rules
Terms
Text to speech