Launch Modes
Launch Modes
Section titled “Launch Modes”When spawning a new agent, choose between two runtime modes:
Direct Mode
Section titled “Direct Mode”The agent runs as a direct child process. Simpler, but the session dies if you close aimux.
Tmux Mode (default)
Section titled “Tmux Mode (default)”The agent runs inside a tmux session named aimux-<provider>-<timestamp>. Benefits:
- Persistent: Sessions survive aimux restarts
- Detachable: Close aimux, reattach later
- Visible: Sessions appear with
tmux ls
Set the default in config:
default_runtime: "tmux" # or "direct"Launching Agents
Section titled “Launching Agents”Type :new to open the launcher. Steps:
- Pick a provider (Claude, Codex, Gemini)
- Choose a directory (recent dirs, browse filesystem, or quick launch)
- Select model and mode
- Choose runtime (tmux or direct)
Web Dashboard
Section titled “Web Dashboard”Click + Launch in the header bar. The launch dialog provides:
- Directory browser with recent directories
- Quick launch directories from config
- Provider, model, and mode selection
Quick Launch Directories
Section titled “Quick Launch Directories”Pre-configure directories for fast access:
quick_launch: directories: - "~/projects/my-app" - "~/projects/my-lib"These appear at the top of the directory picker in both TUI and web launchers.
Task-Driven Launch
Section titled “Task-Driven Launch”With Google Tasks integration enabled, you can launch agents with task context:
- Open the Tasks panel in the web dashboard
- Click “Launch” on a task
- The task title and notes are injected into the agent’s prompt
- A “Session started” note is added to the task automatically
See Tasks Integration for setup.