TUI basics
wisp launches the Rust terminal workspace over Wisp’s shared Python RPC runtime:
wisp
Jump to a focused TUI page for full command and key tables:
- TUI keys and keybindings — Keyboard shortcuts, composer editing keys, external editor (
Ctrl+O), andtui_keybindingscustomization. - TUI commands — Slash commands,
/connect,/model,/permissions,/codemode,/subagents,/mcp, and live/browsertakeover. - TUI sessions and scrollback — Inline and working-tree
/diff, tool detail browsing (F6),/resume,/tree,/cd, mouse controls, and prompt history.
An editing turn in the workspace
Start Wisp in a project (wisp, wisp tui, or wisp --mode tui). On an empty session, the
welcome card lets you pick Connect a provider, Resume a session, Browse commands, or
Mention a project file with arrows or a click; start typing at any time to write directly in the
composer.
When you ask Wisp to make a change, the workspace keeps the turn readable end to end:
- Composer and live transcript: Your prompt sits in a rounded
›composer above the status line. Assistant Markdown streams into a100-column reading measure while code blocks and tables use the full transcript width, with clickable OSC 8 file paths andhttp/httpslinks. - Calm stream pacing: Providers deliver tokens in uneven bursts, so Wisp reveals text at a
steady word pace and holds back unfinished inline Markdown markers (like
**bold**,`code`, table rows, or code fences) until complete. That prevents jitter and raw syntax flashes, then flushes immediately on pauses, tool cards, or turn completion (WISP_TUI_STREAM_PACING=0disables pacing). - Truthful tool labels: Every tool call reads as a concise action line with a status mark (
•done,✗failed,⊘denied/cancelled, or a spinner while running) that distinguishes what was requested from what actually happened—for exampleSearched filenames for *.rs in srcvs.Searched text for "TODO" in src,Proposed disabling MCP server linear(a request, not an applied change), orEdit failed: src/main.rs · stale input. Consecutive reads, repeated commands, and repeated MCP calls fold cleanly, while failures and retries stay explicit instead of being hidden by a later success. Codemode scripts and subagent delegations keep their task title and nested call counts (F6+→or a click expands any card;Enteropens full detail). - Per-turn change summary and
delta-style/diff(Alt+G): Everyeditorwritecard shows a syntax-highlighted inline diff preview (select a card withF6and pressEnterto review that single edit’s retained before/after diff), and the bottom of the turn rail summarizes the turn’s net change (╰ +N −M in K files). PressAlt+G(or click / pressEnteron the turn summary row) to open/difffiltered to the files touched in that turn—showing each file’s cumulative working-tree diff againstHEADwith hunk headers, syntax and word-level highlights, folded unchanged regions, and side-by-side split view on wide terminals. Run/diffdirectly for the full working tree againstHEAD. - Status line: Connected segments below the draft show the active model and reasoning effort, confirmed mode and permissions, and workspace and branch. Choose a Nerd Font Mono in your terminal for full-height chevrons and rounded badges. A separate badge shows when Wisp is working, needs a decision, or has hit an error. The second row shows context usage and session cost when available, alongside keys for the current workflow. Notices, queued work, background jobs, and tool-server health appear as space permits. With a narrow conversation column or a short terminal, a single row prioritizes run state, permission scope, and context usage.
Docked approvals and project trust
Read-only tools run immediately. When Wisp proposes a file edit, shell command, or MCP mutation, an approval panel docks above the footer in place of the composer—keeping the conversation visible and your draft intact:
- Inline previews:
editandwriteapprovals render a syntax-highlighted inline diff;bashapprovals render the wrapped syntax-highlighted$ command; other tools show their full arguments. - Deliberate confirmation (keyboard or mouse): Press
1allow once,2allow tool for this session,3YOLO for this project (session-only in$HOMEor broader folders), or4deny (or they/t/a/naliases,↑/↓+Enter,Escto deny, or click a painted choice directly). There is no pre-selected default, so a strayEntermeant for the composer cannot approve a tool call. - Fail-closed saved command-prefix allow rules: For eligible simple single
bashcommands inside a project (never shell chaining, pipelines, subshells, redirections, or broad folders), the approval dock offers an extra2/pchoice: Always allow<prefix>(saved) (shifting tool-session, YOLO, and deny to3/4/5). Inspect or revoke saved rules and switch permission modes (Ask,Auto edits, macOSAuto commands,YOLO) in/permissions—see TUI commands: Permissions.
Project trust uses the same docked panel (y trust, n deny, keyboard-only) and stays separate
from per-call tool approval.
Side panel and keyboard shortcuts
A one-row top bar keeps the session name on the left and the Session, Files, and
Browser tabs on the right, followed by Shortcuts when space permits. Click any tab to open or close the panel, press Ctrl+P to toggle
it, F8 to focus it ([ / ] switch tabs, Esc returns to the composer), or f to expand the
active tab into a centered overlay.
On wide terminals, the side panel docks beside the transcript—growing automatically up to a
76-column cap while preserving the 100-column prose measure—and its left border can be dragged
wider (double-click to reset). Narrow terminals open it as a 44-column overlay.
-
Session: Live run activity, context gauge and token-growth sparkline, auto-expanding MCP server and skill inventories, session-touched files (◆, click to jump to the edit card), running background processes (/ps), and recent turns (Ctrl+Topens/tree). Presst(or expand withf) to open the parallel turn and subagent swimlane waterfall timeline, showing wall-clock Gantt spans for parallel tool batches, nested subagent calls, and codemode scripts. -
Files: Session-touched files above a lazy-loaded project file tree with Git status and Material Design icons (use a Nerd Fonts v3 Mono font). Click a file or pressEnterfor a read-only inline preview, presseto open it in$VISUAL/$EDITOR/vi(returning with an updated preview on save),/for a project-wide filename filter, andrto refresh. -
Browser: Built-in live Chrome/Chromium tab in trusted projects with an address bar, search, and recent addresses, plus automatic previews when Wisp renders an HTML mockup or a browser MCP server captures a page. Click the viewport or run/browser interact(iwhen focused) for interactive takeover. See Browser viewport and interactive takeover. -
Shortcuts: Open the keyboard reference from the top bar, or press
Ctrl+Gthenkfrom the composer. Expand groups withEnter, or press/and filter by action or key. The reference shows your configured bindings. With the reference focused on a wide terminal, pressCtrl+Cor click the composer to keep writing with the reference beside the conversation. On narrow terminals the reference opens as an overlay.Escclears the filter, then closes the reference and returns to your draft.
Local shell mode (!) and background processes
Prefix a composer line with ! to run a shell command locally without spending a model turn:
!git status
!uv run pytest tests/docs
Output renders inline with a local · Alt+S to attach footer—your local runs are not sent to
the model automatically. Press Alt+S to attach that command’s output as a [! …] chip on your
next prompt (or press Alt+S again, or Backspace on an empty draft, to detach it).
When the agent runs a long command in the background (Ctrl+B moves a running command to the
background), it appears in the Session side panel (and a compact strip below the composer when the
panel is hidden). The docked Session panel shows the first running command’s latest output under
Running. Colors and progress updates appear as the command prints them. To inspect another
process, open /ps (or press ↓ from an empty composer), select its row, and press Enter.
Click Expand output or press f in the focused peek for a read-only view of the retained output.
Use ↑ / ↓ or Page Up / Page Down to scroll, End to follow new output, and Esc to return.
In the compact peek, Enter jumps to the transcript card and x then y stops the process.
Steering and follow-ups
The composer stays live while a run is active so you never have to cancel just to redirect work:
Alt+Entersends a steering message injected at the next safe request boundary (after the current tool batch finishes).Enterqueues a follow-up message for when the current run would otherwise stop.Alt+Uppops the newest queued steering or follow-up message back into your draft (and recovers failed submissions).EscapeorCtrl+Ccancels the active run without discarding queued messages.
Run /queue (or bind queue.manage in tui_keybindings) to inspect both queues, switch drain
modes (One at a time vs. All per boundary), restore the newest item from a specific queue,
or clear queues with confirmation. Queues are process-local and validated with snapshot tokens so
stale edits never drop a newer message.
Completions and the file picker
- Type
/to filter slash commands and/skill:entries inline;TaborEnteraccepts. - Type
@at a word boundary (while idle or streaming) to open the composer-anchored file picker in fuzzy mode (@rust_launchermatchessrc/wisp/cli/native_tui/rust_launcher.py). PressTabto switch between fuzzy search and a collapsible project tree (Left/Rightcollapse/expand,Enterinserts@pathor@"path with spaces"). Wisp inserts the path reference rather than inlining file contents, and respectsprotected_paths.
The composer also highlights recognized commands, project paths, and basic Markdown structure as a presentation aid while keeping the exact raw text editable.
Large pastes
Pastes over 2,000 characters fold into a compact numbered marker showing character, line, and byte counts so surrounding text stays easy to edit. Moving into or editing at a marker expands it first; submission, steering, history search, and queue recovery always use the exact raw text, and markers are never written into session history.
Themes, verbosity, and appearance
/theme [name]previews and applies curated themes (Vapor,Glass,Orchid,Ember,Storm,Grove,Wave, and light themesPaperandDawn);theme.togglecan be bound intui_keybindings./logo [name]chooses the startup welcome logo (Random,Classic WISP,Wisp Braille,Adal Braille, orAdal Mark Braille)./verbosity [low|medium|high]switches transcript detail live without touching saved history:lowhides completed thoughts and inline diffs and collapses consecutive successful tools;medium(default) groups exploration calls with compact diff previews;highexpands thoughts,bashoutput, and full retained diffs inline.
Local presentation preferences save atomically to ~/.wisp/tui.json (never settings.json, RPC,
or session files). Set NO_COLOR for contrast-safe monochrome rendering. For WISP_TUI_*
environment variables (WISP_TUI_COLORS, WISP_TUI_IMAGES, WISP_TUI_MOTION, WISP_TUI_NOTIFY,
WISP_TUI_MOUSE, WISP_TUI_STREAM_PACING), tmux notes, and exact layout/paste thresholds, see
Environment variables: Terminal UI rendering, compatibility, and limits.
Modes
/planswitches future prompts in this process to read-only planning mode (write,edit,bash, and non-read tools stay unavailable). Use/buildto return to editing. Mode is not persisted in session JSONL./newpreserves the current session for/resume, clears the screen, and starts a fresh session lazily while keeping your provider, model, effort, mode, permissions, and trust settings.
Flags and availability
wisp tui --continue
wisp tui --resume <session-id-prefix>
wisp tui --no-all-tools # opt-in tool filter instead of the full registry
wisp tui --yes # auto-approve mutating/command tools for this run
wisp --mode tui --provider anthropic # top-level flags such as --provider and --model work
Native wheels for macOS arm64 and Linux glibc 2.28+ x86_64 bundle wisp-tui alongside the Python
backend. Pure-wheel installs keep print, JSON, RPC, and SDK modes, and report how to obtain a
native wheel or build a matching Rust binary when launched interactively. From a source checkout,
build the binary and set its absolute path in WISP_RUST_TUI_BINARY—see
Development setup and
Rust terminal frontend boundary.
Provider-native web search
Run /search, /search on, or /search off while idle to toggle provider-native web search for
the current session (set web_search in ~/.wisp/settings.json or WISP_WEB_SEARCH for a
persistent default). This does not affect separate MCP search servers such as Exa. Google Search
grounding is not yet supported. Replies that used provider search show bounded source titles/hosts
and mark cost as cost ≥… to indicate provider search fees are excluded.
Updates
/update, /update check, and /update install display update instructions without leaving your
draft. Quit Wisp and run wisp update --check or wisp update in your shell for persistent
uv tool installations; source checkouts should pull and rebuild the matching Rust binary per
Development setup.
