swe-mux

A terminal multiplexer that runs your agent sessions on your own machine and puts the whole workspace on your phone over Tailscale.

Source repo
jatoran/swe-mux
Stars
★ 43
Last updated
14d ago
FARS reviewed
Oct 26, 2026
License
Apache-2.0
Primary language
Python

At a glance

How it runs
CLIDesktop appWeb app
Works with
Universal · cross-platformCodex · Claude Code
Cost
Free, no paid service needed
Setup effort
Medium · a few setup steps
You'll need
Python 3.12+uv or pipxat least one agent CLI installed and logged inTailscale (optional)Shell / CLINetwork accessLocal filesystem
Typical use
Developers running several Claude Code and Codex sessions at once who need the sidebar to say which one is waiting on an approval and which is merely idle with subagents still running.
Not a fit if
  • People who need public internet access without Tailscale: Funnel, port forwarding and 0.0.0.0 binding are unsupported.
  • Teams that require a code-signed Windows installer: the v0.1.2 installer is unsigned and triggers SmartScreen.
  • Mac or Linux users who want a native desktop app: those platforms run in the browser today.
Website
swemux.dev ↗ set on GitHub
Maintenance
Commits in the last 30 dayslast commit 2026-11-09
Source review
76/100 · Good

What does this agent do, and when should you use it?

swe-mux is an Apache-2.0 terminal multiplexer that hosts Claude Code, Codex, pi, oh-my-pi, opencode or any shell in real terminals on your own machine and serves the same workspace to a phone across your own Tailscale network. It ships as a pure-Python wheel on PyPI with the built frontend inside, and installs three commands: swemux (CLI), swemuxd (daemon) and swe-mux (desktop window and tray). A separate supervisor holds every terminal so sessions survive daemon restarts and app updates, while the daemon serves the browser UI on 127.0.0.1:8765 and on the machine's detected Tailscale IPv4 address. Session status is read from the agent's hooks, its transcript, the terminal and the process tree, so the sidebar can separate working, idle and waiting-on-you, name the reason for a wait, and attribute every spawned process and listening port to the session that started it. On the phone it installs from the browser as a web app with the missing-key row, approvals, git diff review, project notes, a prompt queue and push notifications, and optional voice control decodes speech on the machine itself. There is no swe-mux account, relay or telemetry, and Tailscale policy is the only access boundary.

After installation, swemuxd (or swe-mux on Windows) starts the daemon, and setup walks Experience → Agents → Projects → Keymap while recent project folders are listed in the background. Creating a Project and pointing it at an existing folder gives you Ctrl+Shift+Enter for a terminal at the project root and Ctrl+Shift+P or F1 for the command palette. Typing claude or codex in any pane promotes that pane in place into a tracked session: swe-mux puts its own launchers first on the terminal's PATH, so the same pane and scrollback now carry a transcript, a status, a queue and a context meter. The sidebar derives state from agent hooks, transcripts, the terminal and the process tree rather than the screen alone, labels waiting sessions with their reason (approval, question, rate limit, login), and attributes every process and listening port to its originating session, flagging leftovers over 90% CPU or 2 GiB with terminate-tree one press away and nothing killed automatically. The Preview pane proxies a dev server bound to the host's 127.0.0.1 through swe-mux with hot reload and WebSockets, so no extra port is exposed. The Agent tab lists the tools, skills, MCP servers, plugins and hooks a Claude Code or Codex session can see, plus CLAUDE.md, AGENTS.md and Claude's memory in one place. Conversation mode listens hands-free: a wake word plus a command phrase sends or appends dictation, interrupts an agent, reads its last reply aloud, jumps to a session or starts a new agent in a project, all without waiting on a model call, and speech-to-text runs locally through faster-whisper or Windows Speech Recognition. Per-project notes are a Markdown editor that renders as you type, and a selection can be sent to an agent as a prompt. Settings → Accounts stores Claude and Codex logins, shows each account's 5-hour and weekly windows split by what swe-mux sessions used versus the rest, and switches the system-wide login in one click. swemux doctor gives a read-only health report on the daemon, supervisor, frontend build, detected agent CLIs, tailnet listener and background loops.

  1. Developers running several Claude Code and Codex sessions at once who need the sidebar to say which one is waiting on an approval and which is merely idle with subagents still running.
  2. A solo developer away from the desk who wants to answer a waiting agent from a phone over Tailscale and open a Preview of the app it is building.
  3. People who hop between many project folders: each becomes a Project, Ctrl+Shift+Enter opens a terminal at its root, and notes and sessions stay grouped per project.
  4. Users with tmux, VS Code, Vim or Emacs muscle memory who want Shift+Enter for a newline, Ctrl+Backspace to delete a word and click-to-place-cursor to behave the same in every recognized agent.
  5. Hands-free workflows where a wake word plus a command phrase sends a prompt, interrupts an agent or reads its last reply aloud, with recognition staying on the local machine.
  6. Subscription-conscious users who save several accounts they personally pay for and watch 5-hour and weekly windows split between swe-mux sessions, other local use and other devices.

Key setup facts

Pulled from the install and usage notes below. The project README has the current values.

Install / run
  • uv tool install swe-mux
  • pipx install swe-mux
Environment variables
MUX_DATA_DIR
Config files
config.toml ~/.mux ~/.local/share/swe-mux
Runtime
Python 3.12+ · Node.js 22.6+
Install notes cover
Windows · macOS · Linux

How do you install or deploy this agent?

Requirements: Python 3.12+ plus uv or pipx; at least one agent CLI already installed and logged in (swe-mux does not install, manage or proxy them); Tailscale if you want phone access; Node 22.6+ only to build the frontend from source. On-device speech is optional and downloaded on an explicit press.

The recommended isolated install puts every command on your PATH globally:

uv tool install swe-mux
swe-mux  # Windows: open the desktop app and tray

The same isolated, on-PATH install without uv:

pipx install swe-mux
swe-mux  # Windows: open the desktop app and tray

On Windows that is everything: you get the native window and a tray icon, with no console. From v0.1.2 there is also a Windows installer and a portable archive on the releases page, but the installer is not code signed, so SmartScreen warns on first run.

Elsewhere, or if you would rather use the browser, start the daemon in the background:

swemux start

Run the daemon in the foreground when you want the log in front of you, and shut it down with:

swemuxd
swemuxd --shutdown

Then check that everything is wired up:

swemux doctor

Configuration lives in config.toml inside the data directory: ~/.mux on Windows, $XDG_DATA_HOME/swe-mux (else ~/.local/share/swe-mux) on Linux, ~/Library/Application Support/swe-mux on macOS. An existing ~/.mux always wins, and MUX_DATA_DIR overrides all of it.

How do you use this agent?

On first run the setup wizard covers Experience → Agents → Projects → Keymap. Pick the agent CLI you use, choose from the recent project folders that appear in the background or add a folder manually, then press Start working to launch the chosen shell or agent.

For later projects, create one and point it at an existing folder, then use the default keys:

Ctrl+Shift+Enter   # open a terminal at the project root
Ctrl+Shift+P / F1  # open the command palette

Type the CLI normally in a pane and it becomes a tracked session in place:

claude
codex

To reach it from a phone, put Tailscale Serve in front so the browser clipboard and microphone are not restricted by plain HTTP:

tailscale serve --bg http://127.0.0.1:8765

To keep the daemon local only:

swemuxd --local-only

Useful extras for shortcuts, a fresh setup run or an isolated test profile:

swemux install-shortcut --startup
swemux setup --restart
swemuxd --new-user-profile test-one

The daemon listens on localhost and on the machine's detected Tailscale IPv4 address. Binding 0.0.0.0, direct LAN binding, Funnel, port forwarding and public ingress are unsupported.

Safety boundaries, hardening & integrations

Operational blast radius, source-verified safety controls, and first-run hardening steps before connecting this agent to real workspaces.

Declared capability surface (blast radius)

Local shell command execution

Can run terminal commands; pair with approval gates or container/OS sandboxing.

Local filesystem read/write

Modifies local files; work on a clean Git branch or dedicated worktree.

Outbound network access

Makes outbound requests; verify telemetry settings and model data routing on private repos.

FARS trust-control audit

Verified present in source (3/3)
  • data-flow disclosure
  • verifiable attribution

What are this agent's strengths and limitations?

Pros
  • The phone is the full workspace, not a companion app: live terminal with an extra key row, approvals, git diff review, files, project notes, a prompt queue and push notifications, installed as a web app with no app store and no relay.
  • Status does not rely on the screen alone: hooks, transcript, terminal and process tree are combined, and a waiting session names its reason — approval, question, rate limit or login.
  • One control scheme across agents: Shift+Enter, Ctrl+Backspace and click-to-place-cursor behave identically in recognized agents, with swe-mux, tmux, VS Code, Vim and Emacs keymap presets.
  • Local-first privacy boundary: no swe-mux account, no vendor backend, no usage telemetry, and speech-to-text decodes on your own machine with no cloud speech path.
  • A separate supervisor holds every terminal, so typing keeps working through daemon restarts and app updates, and cold recovery restores readable, resumable records afterwards.
  • Apache-2.0 with DCO sign-off instead of a CLA, and a third-party notice file generated from the lockfiles by packaging/license_audit.py so attribution cannot drift.
Limitations
  • Remote access is Tailscale-only: there is no separate remote login, a tailnet peer your policy admits gets terminal and code-execution authority, and public ingress is explicitly unsupported.
  • Desktop coverage is uneven: only Windows gets the native app and tray; Linux and macOS currently run the UI in a browser, with a native Linux desktop app still planned.
  • Prerequisites are not optional: Python 3.12+, uv or pipx, and at least one installed and authenticated agent CLI, since swe-mux neither installs nor proxies those CLIs.
  • The Windows installer is unsigned as of v0.1.2 and triggers SmartScreen; installing from PyPI avoids that prompt but creates no desktop shortcut at all.
  • CI builds and smoke-tests the wheel on three platforms but never starts a daemon from a published artifact, so the proof of a real release install stops there.
  • The voice assistant needs a model endpoint and budget you configure, and the experimental Edge TTS provider does leave the machine and requires an acknowledgement first.

How does this agent compare with similar options?

Key facts side by side with the most closely related agents.

Agent Source review Form / cost Stars Updated Language Full support on
swe-mux This agent 76 · Good CLIFree ★ 43 14d ago Python Codex · Claude Code
HAPI Remote Agent Console 69 · Some gaps CLIFree + model costs ★ 5.4k today TypeScript Codex · Claude Code
tlbx 73 · Some gaps Self-hosted serviceFree + model costs ★ 119 1d ago C# Codex · Claude Code
Collie 80 · Good CLIFree ★ 1.7k today TypeScript —

How does FollowAgents rate this agent?

FollowAgents source review · FARS-2.1
Good
76/ 100 5-point scale 3.8 / 5
Trust 21/29
Reliability 9/14
Adaptability 15/18
Convention 15/18
Effectiveness 9/13
Verifiability 7/8
Why each dimension lost points
Trust21 / 29 · 3.6/5

README and SECURITY.md state plainly that the daemon runs agent CLIs with the full privileges of the operator account, has no separate login, and treats Tailscale policy as the entire access boundary, binding loopback by default. That is a designed high-privilege posture rather than hidden escalation, so least_privilege scores 2 not 3 (no process-level isolation). User confirmation exists via approval gates, exact-byte trust for task files, and explicit update actions, but the evidence is largely documentary, so 2. Data-flow transparency is strong: the single unconfigured outbound request (daily version check), no telemetry, local speech decoding, and an explicit acknowledgement for Edge TTS are all named, so 3. Sensitive data handling notes credentials stay local and diagnostics exclude terminal bytes, but lacks code-level proof, so 2. Dependency security has lockfiles, a license audit script, and SHA-256 update verification, but no vulnerability-scan evidence, so 2. External effects include verified updates and explicit installs, but the installer is unsigned, so 2. Rollback is thin: upgrading is the only remedy and there is no patch branch, so 1. Source attribution is thorough with NOTICE, THIRD-PARTY-NOTICES, trademark notes, and DCO, so 3.

Reliability9 / 14 · 3.2/5

Self-consistency: README, pyproject, and CI broadly agree on platform support and test scope, but CI comments describe macOS as continue-on-error while pyproject claims it now blocks, a minor inconsistency, so 2. Dependency availability: dependencies are declared with detailed transitive reasoning, but the voice-local closure previously failed on interpreter versions, so 2. Failure messages: a read-only doctor, GUI launch failures logged and shown in a message box, and typed diagnostics exist, but mostly as documentation, so 2.

Adaptability15 / 18 · 4.2/5

Audience and scenarios are clear (desktop plus phone, parallel agents), so 3. Capability boundaries are explicit (does not install or proxy agent CLIs, rejects 0.0.0.0/Funnel, no multi-tenancy), so 3. Trigger precision: approval gates and an arming floor are described, but verifiable trigger rules are not shown, so 2. Environment fit: Windows is the proving platform, Linux/macOS are browser-only, desktop is Windows-only, so coverage is limited, 2.

Convention15 / 18 · 4.2/5

Information architecture: README is well structured but points heavily to .docs files outside the evidence, so 2. Install notes are thorough (uv/pipx, Windows installer, unsigned warning), so 3. Naming stability: mux/muxd aliases were deliberately dropped with a guarding test, so 3. Examples and FAQ: an interactive demo and first-run flow exist, but no standalone FAQ, so 2. Known limitations are explicit (unsigned installer, no CI daemon start from published artifact, platform differences), so 3. License: full Apache-2.0 text and PEP 639 declaration, so 3. Versioning/changelog: a version and a CHANGELOG link exist, but the changelog itself is not in evidence, so 2. Maintenance responsibility: SECURITY.md gives response targets, but the publisher is unverified and the project is maintainer-scale, so 2.

Effectiveness9 / 13 · 3.5/5

Output usability: terminal multiplexing and status panes serve the target user, but evidence is documentation and a frontend test fragment, so 2. Marginal value: combining multiple agents with mobile access is genuinely useful, though comparable tools exist, so 2. Cost benefit: install is lightweight (pure-Python wheel), but the voice closure is ~400MB and platform coverage is uneven, so 2.

Verifiability7 / 8 · 4.4/5

Claim traceability: README claims point to specific docs and test files, so 3. Cross-source corroboration: CI workflows and pyproject comments corroborate some claims, but core security claims lack code evidence, so 2. Fact/inference separation: documents explicitly distinguish proven from unproven (e.g., no daemon start from a published artifact), so 3.

Risks and how to mitigate them
  • The daemon runs arbitrary code with the full privileges of the operator account and has no separate login; any tailnet peer admitted by policy holds terminal and code-execution authority, so restrict tailnet membership.
  • The Windows installer is not code signed and triggers a SmartScreen warning on first run; verify the release hash or prefer the PyPI install.
  • Publisher identity is unverified by the FollowAgents registry; maintenance responsibility and update path should be independently confirmed.
  • The local voice closure is ~400MB and sensitive to interpreter version; confirm the Python version before installing.
  • Rollback is weak: only upgrading to the latest release is supported, with no patch branch or downgrade path.
Evidence confidence: Low Reviewed Oct 26, 2026 Reviewed revision 025ab40834f1
See the full review method →
Maintain this project? Add the FARS badge to your README

The badge shows the current review score and verdict and links back to this page. It refreshes about once an hour after a re-review.

FARS

[![FARS review](https://followagents.com/badge/swe-mux.svg)](https://followagents.com/en/agents/swe-mux)
<a href="https://followagents.com/en/agents/swe-mux"><img src="https://followagents.com/badge/swe-mux.svg" alt="FARS review"></a>

FAQ

Does swe-mux itself cost anything or need an account?
No. It is Apache-2.0 with no swe-mux account, no vendor-operated backend and no usage telemetry. Your costs are your own agent CLI subscriptions, billed under each vendor's terms, plus the optional assistant model endpoint; speech recognition runs locally at no per-call cost.
Do I have to expose a public port to reach it from my phone?
No, and that path is unsupported. The daemon listens on localhost and the machine's detected Tailscale IPv4 address, and Tailscale policy is the access boundary; Funnel, port forwarding, 0.0.0.0 binding and direct LAN binding are not supported. Because browsers restrict the clipboard and microphone over plain HTTP, run tailscale serve --bg http://127.0.0.1:8765 when you need them.
Will it install or manage Claude Code and Codex for me?
No. swe-mux does not install, manage or proxy those CLIs — you install and log in to them first. What it does is promote the terminal you are standing in: its own launchers go first on that terminal's PATH, so typing claude or codex turns the pane into a tracked session with a transcript, status, queue and context meter.
What happens to running sessions during a daemon restart or update?
They keep working. A separate supervisor holds every terminal, so typing continues while swe-mux restarts and during app updates. Only supervisor death or power loss ends live processes; cold recovery afterwards restores readable, resumable records.
Which platforms and interface languages are supported?
Windows 10/11 is the proving platform and the only one with a native desktop app. Linux runs headless plus a browser on a required CI leg, and macOS runs the daemon and browser client. The UI ships in English and Simplified Chinese, selectable during setup or in Settings → General → Language, while terminal output, agent replies and your own content keep their original language.
Is swe-mux open source?
Yes. The source code is on GitHub (jatoran/swe-mux) under the Apache-2.0 licence.
Is swe-mux safe to use?
FollowAgents' FARS review (Oct 26, 2026) scored swe-mux 21/29 on trust and safety. None of the eight safety controls the review checks for was missing outright.
Is swe-mux still maintained?
Yes. The latest commit on GitHub is from 2026-11-09, within the last 30 days.
Who makes swe-mux?
swe-mux is published on GitHub by the account jatoran. FollowAgents has not verified which person or company is behind that account.
What is swe-mux's official website?
The project's GitHub repository lists https://swemux.dev as its website. That link is set by the repository owner; the source code itself is on GitHub (jatoran/swe-mux).
Was this page helpful?
View on GitHub ↗ Install ↓

Host ecosystems

Compare agents like this one

The same FARS review applied across the shortlist this agent qualifies for.

Related concepts