RMUX
Menu
Docs Examples API CLI Architecture GitHub Get started

The multiplexer engine forAgents.

RMUX keeps terminal sessions alive and scriptable. Use it as a tmux-compatible multiplexer, or drive persistent shells from Rust, Python, or TypeScript.

Natively available on Windows , macOS , and Linux .

NEW · 03 JUN

Share a terminal in the browser.

Run rmux web-share to create an encrypted browser session.

Usable like tmux, automated like Playwright.

CLI
rmux new-session -d -s ci
rmux send-keys -t ci "printf 'test result: ok\n'; rmux wait-for -S ci-done" Enter
rmux wait-for ci-done
rmux capture-pane -p -t ci
SDK
let rmux = Rmux::builder().connect_or_start().await?;

let session = rmux
    .ensure_session(
        EnsureSession::try_named("ci")?
            .create_or_reuse()
            .detached(true),
    )
    .await?;

let pane = session.pane(0, 0);
pane.send_text("printf 'test result: ok\n'\n").await?;
pane.wait_for_text("test result: ok").await?;
let snapshot = pane.snapshot().await?;

Install it your way.

Pick an OS, then choose an installer. Live methods copy real commands; greyed methods are coming soon. GitHub release binaries include SHA256 checksums.

Windows
PowerShell
winget install rmux
macOS
Shell
brew install rmux
Linux
Bash
cargo install rmux --locked

RMUX also ships official SDKs: Rust with rmux-sdk, and Python with librmux, available on PyPI, and TypeScript with @rmux/sdk, available on npm.

Switch to RMUX with ONE letter.

Same 90 commands. Aiming for same behaviour, same look.

RMUX
tmux
Persistent sessions, detach & reattach
Yes
Yes
Native Linux, macOS & Windows
All three
Unix only
Typed SDK (Rust handles, async)
Yes
No
Language
Rust
C
Terminal-native locators and structured snapshots
Yes
Plain text only
Streamed output & line events
Yes
No
tmux key bindings & muscle memory
Compatible
Native

When the keyboard is the user, tmux still fits. When code is the user, RMUX takes over.

DEMOS

Explore the demos

See RMUX in action through concrete terminal automation workflows.

Create a session. Keep it running. Return anytime.