CODEMUX

OpenCode GitHub Copilot CLI Claude Code

What Is CodeMux?

CodeMux is not another AI chat wrapper. It is a protocol-level gateway that unifies multiple AI coding engines under one interface.

Each engine runs in its own sandbox with full file editing, shell access, and session management preserved. Direct protocol integration (HTTP/REST, JSON-RPC/stdio, SDK) ensures zero capability loss.

Access from desktop, browser (LAN or public internet via Cloudflare Tunnel), or IM bots (Feishu, DingTalk, Telegram, WeCom, Teams) — all with full agent chain-of-thought visualization.

Access Layer
Electron / Browser / IM Bots
↓ WebSocket
Gateway Server
Engine Manager + Router
↓ Protocol Adapters
OpenCodeHTTP/SSE
Copilot CLIJSON-RPC
Claude CodeSDK/stdio

Three Engines. One Interface.

One GUI. Three powerful engines. Zero compromises.

OpenCode

HTTP REST + SSE

Web-based engine with streaming responses. Full coding capabilities through HTTP protocol with Server-Sent Events for real-time output.

🤖

GitHub Copilot CLI

JSON-RPC / stdio

The first open-source GUI for Copilot CLI at protocol level. Full JSON-RPC integration with stdio transport for native performance.

🧠

Claude Code

SDK / stdio

Powered by @anthropic-ai/claude-agent-sdk. Deep integration through the official SDK for maximum capability and reliability.

Capabilities

🔗

Agent Chain-of-Thought

See every step your AI takes. File diffs with syntax highlighting, shell commands, search results — full transparency across desktop, browser, and IM.

🌐

Zero-Config Remote Access

Access from any device over LAN (auto-detected IP + QR code) or the public internet via Cloudflare Tunnel. JWT auth + HTTPS built in.

💬

IM Bot Integration

Connect through Feishu, DingTalk, Telegram, WeCom, or Microsoft Teams. Real-time streaming with full agent capabilities in your favorite IM.

🖼️

Multimodal Input

Drag, drop, or paste images. JPEG, PNG, GIF, WebP — up to 4 images per message. Supported natively across all engines and access methods.

🎯

Agent Modes

Switch between Build, Plan, and Autopilot modes. Live task lists with real-time progress. Inline permission approvals for sensitive operations.

📅

Scheduled Tasks

Automate recurring agent tasks on interval, daily, or weekly schedules. Missed runs catch up on restart. Run history tracked per task.

🔀

Git Worktree Sessions

Work on multiple branches in parallel with isolated worktrees. Each has its own directory and AI sessions. Merge back with merge, squash, or rebase.

🗂

File Explorer & Git Monitor

Browse files, preview code with syntax highlighting, and track git changes in real time. Inline diff viewer with line-level add/remove counts.

Slash Commands & Skills

Type / for engine-native commands with autocomplete. Copilot surfaces project & personal skills, Claude Code exposes installed skills, OpenCode passes through SDK commands.

Access Everywhere

🔬 CODEMUX
💻Electron
🌎Browser
✉️Feishu
🔔DingTalk
✈️Telegram
🔐WeCom
🤝Teams
☁️Tunnel

🔒 SECURITY PROTOCOLS

  • Device authorization with 6-digit codes
  • Per-device JWT token authentication
  • HTTPS via Cloudflare for public tunnels
  • Ephemeral URLs rotate on restart
  • Custom domain via named tunnels
  • Inline permission request approval

Get Started

codemux@terminal
# Install via Homebrew
$ brew tap realDuang/codemux
$ brew install --cask codemux
 
# Or download directly:
Apple Silicon (M1+): .dmg
Intel x64: .dmg
# Download the installer
CodeMux-setup.exe
 
# Or download from GitHub Releases:
$ start https://github.com/realDuang/codemux/releases
# Clone and build from source
$ git clone https://github.com/realDuang/codemux.git
$ cd codemux
$ bun install
$ bun run update:cloudflared
$ bun run dev