zmx - run local code agents on remote machines

10 points by erock


deevus

This undersells the overall value of zmx. I've been using it a lot just to manage different sessions within my projects. I use Zed which ships with its own terminal. If Zed needs to update (which it does a lot!) I need to restart it. Using zmx means those sessions survive the restart.

If I'm working on my website I might run:

zmx attach sh-bun-dev bun run dev

Reattaching is very similar:

zmx attach sh-bun-dev
erock

Hello. I couldn't find a great way to interact with remote terminal sessions, especially ones that required multiple hops through SSH / containers so I adapted zmx to integrate with local code agents.

To be clear, I did nothing special with zmx beyond adding features that make it easier to send commands to a terminal session and then receive the output/exit code. Code agents can just "zmx help" and figure out how to use the tool but these features are equally useful to humans.

Happy to answer questions