The Modern Terminal Multiplexer
Built for Humans & AI Agents

Blazing-fast Rust architecture. Full tmux parity, Neovim-style floating HUD, 100k-line vi copy mode, and native Model Context Protocol (MCP) support.

$brew install casonadams/tap/mpx
Read the Docs View on GitHub
100% Local & Zero Telemetry: Offline-by-design. Zero analytics, zero network calls, zero telemetry, and zero model training. Complete data sovereignty.
mpx — interactive terminal workspace
~ % cargo test --release Compiling mpx v0.1.1 Finished test [optimized] in 0.42s Running unittests (32 passed, 0 failed) ~ % git status On branch main Your branch is up to date with 'origin/main'.
~ % nvim src/lib.rs 1 pub mod ipc; 2 pub mod node; 3 pub mod vt; 4 pub mod tui; 5 pub mod mcp;
c→new window
p→previous window
n→next window
%→split vertical
"→split horizontal
h→focus left
j→focus down
k→focus up
l→focus right
[→copy mode
d→detach
[0] 0:cargo 1:editor* 10:42

Built for Speed and Modern Workflows

Zero bloat, instant startup, seamless session recovery, and pure tmux ergonomics.

Zero-Bloat Rust Core

No WebAssembly runtime, no embedded crypto suites or browser tunneling. Compiles in seconds, sub-10MB binary, and uses less than 5MB of memory.

tmux Parity & Tabs

tmux key bindings (Prefix + c, n/p, %, ", ;, !, { }, Space), a : command prompt with vim aliases, tmux CLI names (ls, send-keys, split -h), and mpx import-tmux to convert your tmux config.

Vim Navigation (hjkl)

tmux-style directional pane focus: Prefix + h (left), j (down), k (up), and l (right) move to the pane touching yours on that side, preferring the one you used last, and wrap at the window's edge.

100k-Line Vi Copy Mode

Movable cursor, Shift-V full-row highlighting, deep scrollback navigation, and instant yank (y) directly to system clipboard via pbcopy and OSC 52.

Continuous Session Recovery

The daemon saves continuous atomic snapshots of your workspace. After a crash or reboot, mpx restore instantly reconstitutes your windows, splits, and working directories.

Config-Driven Process Resumption

Configurable [[resume]] rules automatically resume tools like Claude Code, oh-my-pi, Codex, or Neovim in their project directories without fragile terminal scraping.

Instant Command Palette (Ctrl-Space)

Fuzzy-search across sessions, windows, panes, commands, and key bindings with zero prefix required.

Why mpx? The Paradigm Shift

From legacy 1990s PTY scraping to unified stream execution nodes.

Dimension tmux zellij mpx
Language & Core C (libevent) Rust (multi-thread actor + async-std) Rust (Tokio async)
Idle Memory ~5 MB ~60–120 MB ~5 MB
WASM Runtime None Yes (wasmer/WASI bloat) None (Zero Bloat)
Agent Automation send-keys & capture-pane text scraping WASM Plugin API / CLI Native Stdio MCP + Socket JSON-RPC
Process Supervision Interactive PTY login shells only PTY + WASM Plugins PTY + Pipe Tasks + Virtual Channels
Stream Storage 2D cell grid only 2D cell grid only Dual Buffer (Raw Stream + 2D Grid)
Native Windows Cygwin / WSL required WSL required Native (Named Pipes + ConPTY)
Data Sovereignty None None 100% Offline (Zero Telemetry)

Installation

Get started in seconds on macOS, Linux, or Windows.

Homebrew (macOS & Linux)

Official tap repository

brew install casonadams/tap/mpx

Cargo (crates.io)

Build directly from source

cargo install mpx

Prebuilt Static Binaries

Cross-platform releases from GitHub

  • macOS: Apple Silicon & Intel (.tar.gz)
  • Linux: x86_64 & aarch64 (.tar.gz, .deb, .rpm)
  • Windows: Native ConPTY (.zip)