FreeStarting price
0Popularity
mpai featured image

About mpai

mpai is an open-source terminal tool that transforms a single-user AI coding session into a collaborative, multiplayer experience. The host initiates a session in Codex or Claude Code and shares it with a teammate via a private invite over a Tailscale network. The guest joins directly from their own terminal without needing a new IDE, screen sharing, or transcript pasting. Each participant’s prompts are clearly attributed by name in the native transcript, maintaining transparency and accountability. The host retains full session control while enabling real-time collaboration, ensuring that the workflow remains seamless and secure. By acting as a lightweight coordination layer above the AI agents, mpai preserves the integrity of the original session while extending its accessibility to a teammate. This approach eliminates the friction of traditional multiplayer coding setups, making it ideal for pair programming, code reviews, or onboarding sessions.

Key features

  • Share live Codex or Claude Code sessions with teammates
  • Join sessions directly from a terminal without additional IDEs
  • Private invites scoped to specific sessions over Tailscale
  • Prompts attributed by name in the native transcript
  • Host retains full session control
  • No screen sharing or transcript pasting required
  • Lightweight coordination layer above AI agents
  • Open-source terminal-based tool

Use cases

  • Pair programming with a teammate in real time
  • Conducting collaborative code reviews
  • Onboarding new developers by sharing live AI coding sessions

Pros

  • Enables real-time multiplayer collaboration within existing AI coding sessions without switching IDEs
  • Preserves native session transcripts with clear attribution of each participant's prompts
  • Operates over a private Tailscale network, ensuring secure and controlled access
  • Host retains full session control while allowing seamless teammate participation
  • Lightweight coordination layer that integrates with Codex and Claude Code

Cons

  • Currently limited to macOS and requires an existing Tailscale network
  • Only supports Codex and Claude Code sessions, excluding other AI tools
  • Alpha-stage software with documented limitations and edge cases

Frequently asked questions about mpai

What is mpai and what does it do?

mpai is an open-source terminal tool that transforms single-user AI coding sessions into collaborative multiplayer experiences. It allows a host to share an active Codex or Claude Code session with a teammate over a private Tailscale network, enabling real-time collaboration without switching IDEs or pasting transcripts.

Who is mpai designed for?

mpai is designed for developers, teams, and organizations that use AI coding assistants like Codex or Claude Code and want to collaborate in real time. It is particularly useful for pair programming, code reviews, or onboarding sessions where context sharing is critical.

How does mpai ensure security and privacy?

mpai operates over a private Tailscale network, ensuring that session sharing is secure and controlled. The host explicitly shares only specific sessions, and access is bound to Tailscale identities. The tool does not use public relays or expose sessions broadly.

What are the system requirements for using mpai?

mpai requires macOS on the host machine and an existing Tailscale network. The host needs to have Codex or Claude Code installed, while the guest only needs Node.js 20+ to paste the invite command and join the session.

Can mpai be used for commercial purposes?

Yes, commercial use is allowed under the MIT License. However, the alpha version is intended for pilot use with controlled hosts and clients, and sensitive data should not be shared during this phase.

How do I get started with mpai?

To get started, install mpai on the host machine using Homebrew or npm, then run the `mpai start` command to initiate a session. The host can then generate an invite command to share with the teammate, who pastes it to join the session directly from their terminal.

mpai compared

Reviews