Build Anything with Tmux, Here's How
By David Ondrej
Key Concepts
- T-Max (Terminal Multiplexer): A tool that allows users to run multiple terminal sessions simultaneously and keep them persistent even after disconnecting.
- Agentic Engineering: A development paradigm where AI agents (like Codex or Claude) run autonomously for extended periods to perform complex tasks.
- VPS (Virtual Private Server): A remote, cloud-based server used to host development environments, ensuring tasks continue running regardless of the status of the user's local machine.
- SSH (Secure Shell): A network protocol used to securely access and control a remote server from a local computer.
- Persistence: The ability of a T-Max session to remain active in the background, allowing users to detach and reattach without interrupting running processes.
1. The Role of T-Max in Agentic Engineering
T-Max is described as the essential "substrate" for modern AI development. While "vibe coders" typically develop locally on MacBooks, professional agentic engineers utilize T-Max on a VPS to manage multiple AI agents simultaneously.
- Persistence: Agents often require hours or days to complete complex tasks (e.g., large refactors or building full-stack apps). T-Max prevents these processes from being killed if a laptop loses power, battery, or internet connectivity.
- Multi-Agent Management: T-Max allows agents to run in separate panes, enabling them to potentially "see" or interact with other terminal outputs, which is critical for complex, multi-agent workflows.
2. Building Blocks of T-Max
To effectively use T-Max, one must understand its hierarchical structure:
- Sessions: The top-level container that wraps the entire workspace.
- Windows: Analogous to browser tabs; these exist within a session.
- Panes: Split-screen views within a single window, allowing multiple terminal outputs to be visible at once.
3. Step-by-Step Implementation Framework
Local Setup
- Installation: Use
brew install t-max(macOS) or equivalent package managers. - Starting a Session: Use
t-max new -s [session_name]. - Detaching: Use
Ctrl+Bfollowed byDto leave the session running in the background. - Reattaching: Use
t-max attach -t [session_name]to return to the active session.
VPS and SSH Workflow
- Provisioning: Purchase a VPS (e.g., Hostinger KVM2 plan).
- Access: Use the provided SSH command in the terminal to connect to the remote server.
- Configuration:
- Update the server:
apt update. - Install T-Max:
apt install t-max. - Crucial Step: Enable mouse support by running
echo "set -g mouse on" >> ~/.tmux.conf(or the provided bundle) to allow clicking and scrolling between panes.
- Update the server:
- Execution: Launch AI agents (e.g.,
codex-yoloorclaude-cli) inside T-Max panes. - Persistence: Detach from the session (
Ctrl+B,D) and close the laptop. The agents continue to run on the VPS.
4. Key Arguments and Perspectives
- Efficiency: Running agents locally is inefficient due to battery drain, potential for accidental closure, and hardware limitations. A VPS offloads this work to a data center.
- Professionalism: The speaker argues that the difference between a "vibe coder" and an "agentic engineer" is the adoption of robust, persistent infrastructure like T-Max and VPS.
- Resilience: By using a VPS, the development environment is decoupled from the physical device. If a laptop is lost or destroyed, the work remains safe on the server.
5. Notable Quotes
- "T-Max is the one tool that every single agentic engineer needs."
- "Watching is useless without action... this will already put you ahead of 99.9% of people."
- "T-max on a VPS is non-negotiable."
6. Technical Tips & Troubleshooting
- Copying Text: When using T-Max, standard copy-paste may fail. Hold the
Optionkey while selecting text to bypass T-Max's internal selection mode. - Managing Sessions: Use
t-max lsto list active sessions andt-max kill-serverto terminate all running processes. - Remote Access: Use mobile apps like Terminus to SSH into the VPS from a smartphone, allowing for remote monitoring and management of agents while away from a computer.
7. Synthesis/Conclusion
The transition from local development to a T-Max/VPS-based workflow is presented as a mandatory evolution for anyone serious about AI agentic engineering. By leveraging persistent terminal sessions, developers can run complex, long-duration AI tasks (like building full-stack applications) autonomously. This setup not only preserves local hardware resources but also ensures that development continues 24/7, regardless of the user's physical location or device status.
Chat with this Video
AI-PoweredLoad the transcript when you're ready to chat so the initial page stays lighter.
Related Videos

Your Agent Failed in Prod. Good Luck Reproducing It. - Tisha Chawla & Susheem Koul, Microsoft
AI Engineer

Stanford MS&E435 Economics of the AI Supercycle | Spring 2026 | Applications, Coding AI
Stanford Online

NoSQL for modern apps and AI: The future of Memorystore, Firestore, and Bigtable
Google Cloud Tech

DNS Explained in 5 Minutes (for beginners)
corbin

SpaceX IPO, Anthropic Fable 5, And Roku | The Brainstorm EP 136
ARK Invest

Matt Pocock’s Agentic Engineering Workflow (just copy him)
David Ondrej

Azure Update 19th June 2026
John Savill's Technical Training