Pair programming for the agent era

Coterm

Code together in the same terminal, browser, and agent session.

Coterm is a native macOS workspace for two developers to pair with Claude Code and other terminal agents in real time. Share a live room, stay in the same context, and keep collaboration on infrastructure you control.

macOS · Self-hosted collaboration · Free and open source

Two developers driving the same Claude Code session live.

Two developers, one live context

Pair without screen sharing or context loss.

Drive the same agent session together.

Share a Coterm room so both developers can follow the terminal, see who is present, and work through the same coding-agent session instead of narrating it over a call.

Review the result beside the code.

Keep the live app beside the terminal so the pair can inspect changes, test behavior, and decide the next prompt without switching tools.

Keep the room on your infrastructure.

Self-host the relay, control plane, and presence services in your own Cloudflare account. Access stays behind room secrets and owner approval.

Self-hosted pair programming

Share the session. Keep control of the room.

Two developers can join the same live Coterm room, collaborate around one coding-agent session, and share previews. The relay, control plane, presence, and approval flow run in your Cloudflare account.

Set up pair programming
$ cd coterm
$ bun install
$ bunx wrangler login
$ bun run deploy:self-host
Your relay · Your control plane · Your presence service

Pair with people and agents

Use the coding agent your pair already trusts.

Coterm is a real terminal, so Claude Code, Codex, OpenCode, and other CLI agents work in the same shared workflow without locking either developer into a proprietary runtime.

  • Claude Code
  • Codex
  • OpenCode
  • Gemini CLI
  • Aider
  • Amp
  • Cursor Agent
  • Any other CLI

Questions

The short version.

Can two developers use the same coding-agent session?

Yes. Coterm's self-hosted collaboration lets an approved guest join a live room and work alongside the host in the same terminal and browser workspace.

Do we need a Coterm-hosted account to pair?

No. The Mac app works locally without a Coterm-hosted account service. Pair programming is self-hosted in your own Cloudflare account.

Which platforms does Coterm support?

The desktop app is native to macOS. An iOS companion app is also available in beta for attaching to terminals on your Mac.

Is Coterm free and open source?

Yes. Coterm is free to use and its source code is available under the GPL-3.0-or-later license.

Ready to pair

Share the room. Solve the problem together.

Download Coterm for macOS, deploy the optional collaboration backend in your Cloudflare account, and pair around the same coding-agent session.