March 5, 2026
Tmux and chill? Or tmux and shill?
Unix Isn't for Agents
AI agents want immortal chats, Unix sends them to the afterlife
TLDR: A hot take says AI agents need never-ending, chatty sessions and calls tmux a workaround, pitching Erlang’s BEAM as the fix. Comments clap back: persistence isn’t automatic, sockets exist, and some suspect hype, turning a tech argument into a spicy feud over how agents should actually run.
A fiery blog claims today’s AI “agents” don’t fit old-school Unix rules: you’re either chatting in a terminal (and get cut off when you disconnect) or you’re a silent background service. The author calls tmux—a tool that keeps sessions alive—“a hack,” and points to BEAM (the Erlang virtual machine built for always-on phone switches) as the real fix. Cue the comment chaos. One reader rolled their eyes with a classic “it’s not X it’s Y” dunk, while another deadpanned, “what about sockets?” like the whole existential crisis could be solved with a plug. The fact-check squad arrived fast: “Erlang processes aren’t automatically persistent,” they reminded, meaning you still need databases (like Mnesia) or custom saves. Skeptics smelled marketing, joking it feels like a “paid push” for Erlang, while the retro crowd shouted, “If we’re going back to the 20th century, make it Lisp.” A pragmatist waved off the drama: Unix is the base, persistence is an app-level thing—go build it. If you’re lost: tmux is a program that fakes a never-ending chat link, and BEAM is Erlang’s always-on engine link. The vibe: half theater, half architecture war, all extremely online.
Key Points
- •The author’s workflow uses SSH and tmux to keep a Claude Code session alive on a cloud VM after disconnects.
- •Unix assumes interactive processes are ephemeral and daemon processes are non‑interactive, with behavior codified by POSIX.
- •When a controlling terminal disconnects, the kernel sends SIGHUP, causing interactive processes to terminate by default.
- •tmux (and tools like screen or nohup with tail -f) act as userspace workarounds, simulating a persistent interactive session.
- •The article proposes BEAM (the Erlang VM) as a more suitable foundation for agent-like, long‑running, reconnectable interactive systems.