masilQuickstart
Install masil alongside your existing tmux, launch your first managed coding agent, and verify sidebar controls, durable receipts, and session snapshots in five minutes.
- macOS 15+ (Apple Silicon) or Linux (Debian 13 / Ubuntu 24.04 x86_64)
- At least one coding-agent CLI such as Claude Code, Codex, or OpenCode (or plain shells to test the core)
Before you begin (2)
- macOS 15+ (Apple Silicon) or Linux (Debian 13 / Ubuntu 24.04 x86_64)
- At least one coding-agent CLI such as Claude Code, Codex, or OpenCode (or plain shells to test the core)
Jump to a step0 / 5 steps
- STEP 11 min
Install masil and run doctor
Install both binaries without modifying system tmux, then inspect your local environment with masil-agent doctor.
- Install via Homebrew on macOS or from a verified release archive / source build on Linux.
- masil-agent doctor inspects binaries, operation store, and detected providers offline with zero background processes.
brew tap Ochichan/masil https://github.com/Ochichan/masil brew install --HEAD Ochichan/masil/masil masil-agent doctorTIPmasil -V intentionally prints tmux next-3.9 for script compatibility. Check masil-agent --version for the controller version.VERIFYmasil-agent doctor outputs valid JSON showing your installed binaries and detected providers. - STEP 21 min
Start your first session with the mouse UI layer
Launch masil with default settings to try the masil menu, + split button, Settings screen, and clickable pane titles.
- Running masil loads the mouse UI layer before your ~/.tmux.conf without overriding standard tmux bindings.
- Click a pane title to rename it, or open Settings to pick English/Korean and Dark/Light/Terminal themes.
- Whenever you want plain tmux without the UI layer, launch masil -f /dev/null.
masil new-session -s workVERIFYThe status bar shows masil, +, and Settings controls while standard C-b tmux shortcuts still work. - STEP 31 min
Launch an agent and open the sidebar or desk
Start a coding agent in a split pane without any background daemon, then inspect it via the 34-column sidebar and : command palette.
- masil-agent agent start passes an explicit argument vector directly instead of typing raw shell strings.
- Agents you started manually also appear automatically; name them with attach %N NAME.
- Inside agent sidebar or agent ui, press : for the unified command palette with Korean initial-consonant search.
masil-agent agent start backend codex --cwd ~/work/service masil-agent agent start review claude --cwd ~/work/service --split %0 masil-agent agent list masil-agent agent sidebarVERIFYYour agents appear in the sidebar; clicking or pressing Enter inspects details and jumps straight to the pane. - STEP 41 min
Send guarded prompts and check receipts
Deliver prompts only when the foreground agent is idle and read capability evidence accurately.
- prompt verifies that the pane still runs the same idle process before pasting and submitting.
- If delivery cannot be confirmed, masil records outcome_unknown so you can reconcile safely without duplicate prompts.
masil-agent agent prompt backend 'run the test suite' masil-agent agent wait backend --state idle --timeout 600 masil-agent agent capabilities backendVERIFYcapabilities separates declarations, live_evidence, and known_limitations clearly. - STEP 51 min
Save sessions, export hooks, and reuse TOML layouts
Snapshot your workspace for instant recovery and optionally wire lifecycle hooks or declarative TOML layouts.
- Press prefix C-s to save sessions (enabling 15-minute autosave afterward) and prefix C-r to restore from a menu.
- For tighter lifecycle status (such as Claude Code streaming), export hook files via integration export and register them manually.
masil-agent agent integration export claude --directory ~/.config/masil/hooks masil-agent session save masil-agent layout plan backendVERIFYsession list shows your snapshot and layout plan previews changes before applying anything.
Essential keyboard shortcuts
| Keys | Action |
|---|---|
| C-b | Default tmux prefix (existing config preserved) |
| prefix C-s | Save all sessions (starts 15-minute autosave after first manual save) |
| prefix C-r | Open saved-session restore menu |
| : | Open unified command palette in agent ui / sidebar |
| j / k · Enter | Navigate agent list and open details |
Troubleshooting
Intentional for compatibility with existing tmux scripts. Check masil-agent --version for the agent tool version.
Updates leave running servers alive. Save with masil-agent session save before restarting, or test on a separate socket via masil -L upgrade-check -f /dev/null.
Export and register the Claude hook via masil-agent agent integration export claude, then start a fresh managed run.