Tmuxlet is an open-source terminal agent harness and orchestration tool developed by CodefiLabs. It provides an isolation, supervision, and execution layer that coordinates interactive CLI coding agents inside dedicated tmux sessions. In daily use, Tmuxlet enables developers and automated scripts to dispatch tasks to CLI-based coding agents (such as Claude Code and Agy) without stalling the active shell. It manages process lifecycles inside isolated tmux sessions identified by distinct hashes, routes prompts via command arguments or stdin pipes using the standard `-` sentinel, and handles session continuation using flags like `--continue` or `--conversation <id>`. What distinguishes Tmuxlet from typical wrapper scripts is its built-in infrastructure protection. It implements a live-session semaphore to enforce machine-wide concurrency caps (defaulting to 24), a session reaper (`tmuxlet reap`) to clean up hung or zombie agent sessions, paced input broadcasting (`tmuxlet send-all`) to mitigate thundering-herd issues on mass resume, and an opt-in host memory-pressure backpressure guard. Tmuxlet is an open-source project distributed via GitHub, currently in active 0.5.x development, designed specifically as a dependency-free orchestration harness for terminal AI workloads.
Tags: cli, developer tools, OpenSource, productivity, terminal
--max-concurrency or TMUXLET_MAX_CONCURRENCY. - Automated session reaper — Sweeps hung, leaked, or blocked agent sessions using tmuxlet reap with --blocked and --older-than flags. - Paced input broadcasting — Dispatches keystrokes and commands across all live sessions steadily with tmuxlet send-all to prevent system spikes. - Memory pressure protection — Throttles session spawning with an opt-in --memory-pressure-guard under heavy host RAM load. - Flexible prompt ingestion — Accepts prompts via CLI arguments, interactive flags (--prompt-interactive), or piped standard input via bare -.tmuxlet reap into cron jobs or CI pipelines to automatically purge leaked agent processes and reclaim memory from abandoned coding sessions.tmuxlet send-all.Tmuxlet is designed for developers, platform engineers, and AI workflow builders running multiplexed, terminal-based AI coding agents at scale. It is not suitable for developers seeking a single-instance GUI coding assistant or those who do not use tmux.
tmux to be installed): bash git clone https://github.com/CodefiLabs/tmuxlet.git cd tmuxlet # Symlink or copy the executable to your PATH sudo ln -s "$(pwd)/src/tmuxlet" /usr/local/bin/tmuxletbash tmux -V tmuxlet --help Optionally configure your concurrency limit via environment variable: bash export TMUXLET_MAX_CONCURRENCY=12bash # Send a prompt to an agent target via stdin echo "Audit dependencies in package.json and create a report" | tmuxlet run -- claude - # Broadcast a confirmation keystroke to all running sessions tmuxlet send-all "y\n" # Sweep sessions older than 2 hours or blocked on user input tmuxlet reap --older-than 2h --blockedPart of CLI Coding Agents
Categories: AI Coding Agents, Developer Tools, Productivity