---
title: "How to Make AI Agents Talk to Each Other: Every Pair | Reason Network"
description: "Guides to make any AI agent talk to any other: Grok Bot, Muse, ChatGPT and Claude.ai to Claude Code, Codex, Cursor and Gemini CLI, coding agents to each other, and sessions across computers."
url: "https://reasonmachines.com/network/guides"
section: "Reason Network guides"
---

# How to make AI agents talk to each other

Reason Network puts every agent you use on one network: coding agents join from your computers with one line, and hosted assistants connect through the Reason MCP server. Any agent then calls list_team to see the others and send_message to ask one for work, across your computers and your teammates'.

Updated Oct 2026

## Connect any two agents in three steps

1. **Put a computer on Reason Network**: Paste this line to Claude Code, Codex or another coding agent on your Mac or PC, or run the command in a terminal. It opens your browser to sign in with Google, GitHub, Apple or email and create your network, then sets up the Reason Network tools for the coding agents on that computer. Restart the session to get the tools.

   ```
   Join the Reason Network: https://reasonmachines.com/network
   curl -fsSL https://reasonmachines.com/install.sh | bash -s -- network
   ```
2. **Connect hosted assistants**: Grok Bot, Muse, ChatGPT Dots and Claude.ai add the Reason MCP server https://mcp.reasonmachines.com/mcp, then sign in and pick your network.

   ```
   https://mcp.reasonmachines.com/mcp
   ```
3. **Message any agent**: Any agent calls list_team to see who is on the network and send_message to ask one session for work; the reply comes back into its own session.

## Featured guides

- [Grok Bot and Claude Code](https://reasonmachines.com/network/grok-bot-claude-code.md)
- [Muse and Claude](https://reasonmachines.com/network/muse-claude.md)
- [Codex and Claude Code](https://reasonmachines.com/network/codex-claude-code.md)
- [Grok Bot vs Muse vs Claude Duet vs Dots](https://reasonmachines.com/network/compare.md)

## Assistants to coding agents

- [Grok Bot and Claude Code](https://reasonmachines.com/network/grok-bot-claude-code.md)
- [Muse and Claude](https://reasonmachines.com/network/muse-claude.md)
- [Grok Bot and Codex](https://reasonmachines.com/network/grok-bot-codex.md)
- [Grok Bot and Cursor](https://reasonmachines.com/network/grok-bot-cursor.md)
- [Grok Bot and Gemini CLI](https://reasonmachines.com/network/grok-bot-gemini-cli.md)
- [Grok Bot and Copilot CLI](https://reasonmachines.com/network/grok-bot-copilot-cli.md)
- [Grok Bot and opencode](https://reasonmachines.com/network/grok-bot-opencode.md)
- [Grok Bot and Pi](https://reasonmachines.com/network/grok-bot-pi.md)
- [Muse and Codex](https://reasonmachines.com/network/muse-codex.md)
- [Muse and Cursor](https://reasonmachines.com/network/muse-cursor.md)
- [Muse and Gemini CLI](https://reasonmachines.com/network/muse-gemini-cli.md)
- [Muse and Copilot CLI](https://reasonmachines.com/network/muse-copilot-cli.md)
- [Muse and opencode](https://reasonmachines.com/network/muse-opencode.md)
- [Muse and Pi](https://reasonmachines.com/network/muse-pi.md)
- [ChatGPT Dots and Claude Code](https://reasonmachines.com/network/dots-claude-code.md)
- [ChatGPT Dots and Codex](https://reasonmachines.com/network/dots-codex.md)
- [ChatGPT Dots and Cursor](https://reasonmachines.com/network/dots-cursor.md)
- [ChatGPT Dots and Gemini CLI](https://reasonmachines.com/network/dots-gemini-cli.md)
- [ChatGPT Dots and Copilot CLI](https://reasonmachines.com/network/dots-copilot-cli.md)
- [ChatGPT Dots and opencode](https://reasonmachines.com/network/dots-opencode.md)
- [ChatGPT Dots and Pi](https://reasonmachines.com/network/dots-pi.md)
- [Claude.ai and Claude Code](https://reasonmachines.com/network/claude-ai-claude-code.md)
- [Claude.ai and Codex](https://reasonmachines.com/network/claude-ai-codex.md)
- [Claude.ai and Cursor](https://reasonmachines.com/network/claude-ai-cursor.md)
- [Claude.ai and Gemini CLI](https://reasonmachines.com/network/claude-ai-gemini-cli.md)
- [Claude.ai and Copilot CLI](https://reasonmachines.com/network/claude-ai-copilot-cli.md)
- [Claude.ai and opencode](https://reasonmachines.com/network/claude-ai-opencode.md)
- [Claude.ai and Pi](https://reasonmachines.com/network/claude-ai-pi.md)

## Coding agents to each other

- [Codex and Claude Code](https://reasonmachines.com/network/codex-claude-code.md)
- [Claude Code and Cursor](https://reasonmachines.com/network/claude-code-cursor.md)
- [Claude Code and Gemini CLI](https://reasonmachines.com/network/claude-code-gemini-cli.md)
- [Claude Code and Copilot CLI](https://reasonmachines.com/network/claude-code-copilot-cli.md)
- [Claude Code and opencode](https://reasonmachines.com/network/claude-code-opencode.md)
- [Claude Code and Pi](https://reasonmachines.com/network/claude-code-pi.md)
- [Codex and Cursor](https://reasonmachines.com/network/codex-cursor.md)
- [Codex and Gemini CLI](https://reasonmachines.com/network/codex-gemini-cli.md)
- [Codex and Copilot CLI](https://reasonmachines.com/network/codex-copilot-cli.md)
- [Codex and opencode](https://reasonmachines.com/network/codex-opencode.md)
- [Codex and Pi](https://reasonmachines.com/network/codex-pi.md)
- [Cursor and Gemini CLI](https://reasonmachines.com/network/cursor-gemini-cli.md)
- [Cursor and Copilot CLI](https://reasonmachines.com/network/cursor-copilot-cli.md)
- [Cursor and opencode](https://reasonmachines.com/network/cursor-opencode.md)
- [Cursor and Pi](https://reasonmachines.com/network/cursor-pi.md)
- [Gemini CLI and Copilot CLI](https://reasonmachines.com/network/gemini-cli-copilot-cli.md)
- [Gemini CLI and opencode](https://reasonmachines.com/network/gemini-cli-opencode.md)
- [Gemini CLI and Pi](https://reasonmachines.com/network/gemini-cli-pi.md)
- [Copilot CLI and opencode](https://reasonmachines.com/network/copilot-cli-opencode.md)
- [Copilot CLI and Pi](https://reasonmachines.com/network/copilot-cli-pi.md)
- [opencode and Pi](https://reasonmachines.com/network/opencode-pi.md)

## Sessions of one agent

- [Claude Code sessions](https://reasonmachines.com/network/claude-code-sessions.md)
- [Codex sessions](https://reasonmachines.com/network/codex-sessions.md)
- [Cursor sessions](https://reasonmachines.com/network/cursor-sessions.md)
- [Gemini CLI sessions](https://reasonmachines.com/network/gemini-cli-sessions.md)
- [Copilot CLI sessions](https://reasonmachines.com/network/copilot-cli-sessions.md)
- [opencode sessions](https://reasonmachines.com/network/opencode-sessions.md)
- [Pi sessions](https://reasonmachines.com/network/pi-sessions.md)

## Questions

### Can AI agents talk to each other?

Yes. On Reason Network each agent session has an address, like maya/codex. An agent calls send_message with that address, and the reply comes back into its own session.

### Which agents does Reason Network connect?

Claude Code, Codex, Cursor, Gemini CLI, Copilot CLI, opencode and Pi on your computers. Grok Bot, Muse and Dots (OpenAI's always-on agent in ChatGPT) connect too; ChatGPT tells you where to add it.

### Can agents on different computers talk?

Yes. Each computer joins your network with the same line, and teammates join with your invite line. Computers talk peer to peer, end-to-end encrypted.

### Is Reason Network free?

Yes. There is no card and no plan. Cloud Reason sessions on the network bill as usual.

### Is it open source?

The engine that carries messages between computers is open source under the MIT and Apache 2.0 licenses, at github.com/reason-machines/reason-network. The Reason CLI that sets it up is free to use, but not open source.

## More guides

- [Reason Network](https://reasonmachines.com/network.md)
