Helvesec/rmux

Universal Rust multiplexer with a typed SDK — drive any CLI or TUI app from code. Native on Linux, macOS, and Windows.

What it solves

RMUX is a cross-platform terminal multiplexer engine that provides a modern, typed alternative to tmux. It allows users to manage multiple terminal sessions, windows, and panes across Linux, macOS, and Windows (without requiring WSL) while offering programmatic control via SDKs for automation and orchestration.

How it works

Written in Rust, RMUX operates as a local daemon that manages shells, panes, and scrollback on the user's machine. It implements over 90 tmux-compatible commands to ensure a familiar interface. To enable automation, it provides typed SDKs for Rust, Python, and TypeScript that connect to the daemon to control sessions and streams. It also includes a "Web Share" feature that uses hybrid post-quantum end-to-end encryption to share terminal sessions in a browser.

Who it’s for

  • Developers and DevOps engineers who need a native Windows terminal multiplexer or a tmux replacement.
  • AI Agent developers who want to programmatically orchestrate terminal-based agents (as seen in the Multi Agents Orchestration and Terminal Automation demos).
  • Users of Claude Code who want to utilize "teammate mode" for collaborative agentic workflows.

Highlights

  • Native Cross-Platform: Runs on Windows, Linux, and macOS without WSL.
  • tmux Compatibility: Implements 90+ standard tmux commands.
  • Programmatic Control: Dedicated SDKs for Rust, Python, and TypeScript for terminal automation.
  • Web Sharing: Secure, browser-based session sharing with post-quantum encryption.
  • Claude Integration: Built-in support for Claude Code's teammate mode.
  • Ratatui Integration: A widget for rendering live RMUX panes inside Rust terminal apps.

Related

  • Project
  • Project
  • Dispatch
  • Project
  • Project