One login, really
Authenticate once with GitHub Copilot. Supported agents reuse the same subscription path without extra API keys, provider sprawl, or a second bill.
Model Routing Layer
Local gateway that routes requests between coding agents and GitHub Copilot. OpenAI-compatible endpoints, reversible configuration, zero external dependencies.
$ modmux status
Service: Not installed
State: Running at http://localhost:11435
Agents: claude-code, cline
Copilot: Authenticated ✓
$ modmux configure claude-code
claude-code configured.
Why Modmux
Modmux normalizes differences between APIs so your agents can focus on logic—not plumbing. A stable, local gateway that keeps configuration reversible and visible.
Authenticate once with GitHub Copilot. Supported agents reuse the same subscription path without extra API keys, provider sprawl, or a second bill.
Modmux stays on localhost. It acts as a local compatibility layer rather than a hosted relay, sync service, or remote control plane.
Agent configuration is reversible by design. Run
modmux unconfigure and restore supported agents to
their previous state.
What It Does
Modmux exposes Anthropic-compatible and OpenAI-compatible local endpoints so supported tools can point at one place instead of drifting into one-off configuration branches.
Start, stop, restart, inspect status, check health, and optionally install Modmux as an OS login service. The runtime stays visible instead of disappearing behind guesswork.
Configure and unconfigure supported agents from the CLI while keeping configuration state explicit, reversible, and easy to audit when something changes.
Modmux is intentionally narrow: it stays focused on being a stable, reliable, predictable local gateway rather than becoming another chat client or an agent runtime of its own.
Install
Most users should install from source. Direct binary downloads are available when you don't want to install Deno.
Clone and install with Deno. The most up-to-date installation method.
git clone https://github.com/modmux/modmux.git
cd modmux
deno task install
modmux start and complete GitHub
authentication.
modmux configure claude-code or configure
another supported agent.
Download a platform build from GitHub Releases when you do not want a runtime dependency.
How It Works
Claude Code, Cline, or Codex sends a request to a local endpoint instead of managing a provider-specific path itself.
Modmux runs on 127.0.0.1, exposes compatible endpoints, and translates request and response shapes through one stable local gateway between your tools and Copilot.
Modmux authenticates with GitHub and forwards the translated request to Copilot-backed models while the trust boundary stays local and visible.
Supported Agents
Canonical agent name: claude-code
Canonical agent name: cline
Canonical agent name: codex
Terminal Interface
$ modmux ┌─────────────────────────────────────┐ │ MODMUX v0.3.0 │ ├─────────────────────────────────────┤ │ Status: Running │ │ Endpoint: 127.0.0.1:11435 │ │ Auth: Authenticated ✓ │ ├─────────────────────────────────────┤ │ Agents: │ │ [ ] claude-code │ │ [x] cline │ │ [ ] codex │ └─────────────────────────────────────┘
The TUI keeps your entire operational state visible: daemon status, authentication, and agent configuration in one terminal view. No hidden state, no guesswork—just run `modmux` and see everything.
Positioning
FAQ
Yes. Modmux routes requests through GitHub Copilot, so you need an active Copilot-backed account.
No. The server binds to 127.0.0.1, which keeps the service local to your machine.
Modmux starts at 11435 and scans upward if that port is
occupied. Use modmux status to confirm the active
local endpoint.
Yes. Modmux supports unconfiguring supported agents and is designed around reversible configuration management.
The current built-in registry includes Claude Code, Cline, and Codex.
Deno is required for the recommended from-source installation. If you don't want to install Deno, you can download a direct binary from GitHub Releases instead.
Status
Modmux is at v0.3.0 and focused on a tight local gateway loop: authenticate, start the service, configure a supported agent, and route requests through one visible control point.
The product stays local-first: localhost binding, explicit status, health checks, and reversible configuration instead of hidden background magic.
Modmux is not a hosted relay, a chat app, or an agent runtime. It is a stable local compatibility layer for supported agents on GitHub Copilot, and it is better for staying narrow.