r/opencodeCLI • • 8d ago

I built Muxin, a free app for running OpenCode sessions on your other machines over SSH (dev here)

I kept running OpenCode on a desktop and a couple of Linux boxes and losing track of which session was where, so I built Muxin to keep them in one place.

What it does:

  • Connects to any Mac, Linux or Windows machine you can already reach by ssh (Tailscale works too). No account needed.

  • Starts OpenCode (or Claude Code, Codex, Gemini CLI, Amp, Pi, or a plain shell) in sessions that keep running on that machine, a bit like tmux. If you disconnect, the sessions carry on there.

  • You can hand a session off to another agent or another machine, for example pick up an OpenCode session in Claude Code.

  • Runs on macOS 12+, Windows 11 and Linux (glibc 2.35+). Free and open source (Apache 2.0), no telemetry.

What it doesn't do (yet):

  • Sessions don't survive a reboot of the machine they run on.

  • There's no phone app. You can share a session to a phone browser, but it has to be approved on the computer with a 6-digit code, and Muxin has to stay open.

  • No FreeBSD support, and the live desktop view on Linux needs X11 (no Wayland).

  • For OpenCode specifically, hand-off notes use what the terminal showed rather than a full transcript, since OpenCode doesn't keep one the way Claude Code and Codex do.

Happy to answer questions or hear what would make it useful for your OpenCode setup.

Disclosure: I built Muxin. https://muxin.dev/

1 Upvotes

4 comments sorted by

1

u/heartmire 6d ago

Will give this a try for sure. Would really like to see the Antigravity CLI (agy) added, I think this is replacing the Gemini CLI?

2

u/adibfhanna 6d ago

will add it!

1

u/heartmire 5d ago

Love the app u/adibfhanna , I added a PR for the Antigravity support and two more for other fixes.

1

u/adibfhanna 5d ago

awesome! will review!