MemMux: Runtime Verification and Honest Resource Attribution for Fleets of Parallel Coding Agents
On the map: LLM agents and tool use → Software engineering coding agents
Abstract (arXiv)
Developers increasingly run a fleet of coding agents side by side on one workstation. The tools they reach for, terminal multiplexers like tmux and a new generation of agent managers, were built to arrange windows, not to govern memory. When ten agents each spawn language servers, test runners, and browsers, no standard tool can say how much memory belongs to which agent, confirm that a terminated agent's descendants are gone, notice a child that has escaped its agent, or keep the machine off the swap cliff when an OOM kill would silently discard uncommitted work. We treat these as runtime-verification problems: an agent-hosting substrate should continuously emit observable signals an operator or auditor can check while agents run. We present MemMux, a local runtime that turns resource governance into checkable signals (per-agent attribution, complete reclamation, escaped-process visibility, bounded footprint under overcommit, and monitoring overhead), with a claims-disciplined benchmark against tmux, a purpose-built agent multiplexer, and a raw-process baseline on identical workloads. Under a binding memory budget on a Linux host, MemMux keeps the fleet under budget (7.5 GiB) with zero swap by admitting a subset and reclaiming under pressure, while the ungoverned tools run every agent, pin the machine at its RAM ceiling (2x over budget), and spill about 2 GiB into swap. MemMux reclaims 100% of a terminated agent's process subtree where the raw baseline strands half of it, and it alone surfaces escaped children (10 of 10 detected). We report the cost: the 1 Hz attribution scan runs near 0.6% CPU at one agent but 2.7% at ten, above our 2% target. Running the harness on real Claude Code sessions shows 100% attribution and low overhead carry over to live agent trees. We release the engine, benchmark, and a one-command reproducer.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Placed in Software engineering coding agents, one of 16 directions in LLM agents and tool use. First posted on arXiv 5 Oct 2026.
Builds on
No reference list yet.
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026TraceLab: Characterizing Coding Agent Workloads for LLM Serving
- 2026Agentic Coding in the Wild: Characterizing GitHub Copilot Traces at Production Scale
- 2026Auto: The AGI Compiler
- 2026PERFOPT-Bench: Evaluating Coding Agents on Software Performance Optimization
- 2026Before the Pull Request: Mining Multi-Agent Coordination
- 2026TomasuLLM: Out-of-Order Speculative Execution for LLM Agents
- 2026SkillEffect: Checked Lowering for Memory-Bounded Agent Tools
- 2026Inside the Scaffold: A Source-Code Taxonomy of Coding Agent Architectures