rem-exec wraps SSH commands in JSON for agent-friendly remote operations
nivosnation · reddit · 2026-07-24
A developer introduced rem-exec (rx + rxd), a remote command execution tool optimized for LLM agents and scripting over SSH.
- Commands return a single JSON object with exit code, signal, stdout/stderr, and typed error codes.
- Arguments and stdin are sent as framed JSON over the SSH channel, so the remote shell never has to parse or quote them.
- It supports run-and-return, detached start/wait with reattach after disconnects, and atomic file copy/get in both directions.
- rxd is a static musl binary that rx auto-deploys per architecture.
The author says it complements SSH/SCP rather than replacing them, and is meant for machine-readable remote ops without shell-quoting pain.
More from coding & agent
- Pi 0.82.0 lets bash commands detect the loaded model and provider — mitsuhiko · 2026-07-24
- SGLang talk says RL post-training is really an inference problem — BanghuaZ · 2026-07-24
- Claude’s code-comment narration looks like the same failure mode as Bash-comment reasoning — mertdumenci · 2026-07-24
- Engineer says U.S. models block harmless security tests, forcing a switch to Chinese AI — kristoph · 2026-07-24
- Agent platform builders debate whether custom prompts belong in system or user messages — Final-Choice8412 · 2026-07-24
- Can an MCP tool help AI compare photos with CAD drawings and flag mismatches? — Special_Spring4602 · 2026-07-24