gilvt
English · 简体中文
macOS · Rust + gpui · for Claude Code and Codex

gilvt: a terminal that knows what your agents are doing

A complete native macOS terminal. Claude Code and Codex run in its panes with their own native interfaces as usual, while gilvt tells you alongside who is waiting for you and what each turn did, takes you there in one step, and brings back past sessions in one step.

Needs you (awaiting approval / asking you) Error Running Done, unseen
Part 1 · Introduction

What gilvt is

With three or four Claude Code and Codex sessions open at once, the hard part is not writing code. It is knowing which session has stopped to wait for your approval, which one just finished with failing tests, and which one is done and waiting for you to look at the result. An ordinary terminal only gives you grids of text, so you end up flipping through the tabs one by one.

gilvt is first of all a complete, normally interactive terminal that you can use every day. On top of that, it understands the runtime state of Claude Code and Codex:

  • The left sidebar lists all sessions in one place, with the ones marked “Needs you” at the top; ⌘⇧J takes you there in one keystroke.
  • Pane borders and tab dots show each session’s state by color, so you do not have to switch over to check.
  • The inspector on the right lists, turn by turn, every command the Agent ran and every file it changed this turn; click one and the terminal scrolls back to that line.
  • System notifications and the Dock badge alert you while you are in another app.
  • ⌘⇧R brings back a session from days ago so you can pick up where you left off, and ⌘⇧N starts a new Agent in a chosen directory in one step.
  • Quick Look shows code diffs, rendered Markdown and Mermaid diagrams right inside the terminal, without switching to an editor.

Design principles

The Agent is always its native TUI

In a pane, Claude Code and Codex are their own interfaces. gilvt does not build a separate chat interface and does not provide approval buttons.

Observe, never answer for you

The inspector and the sidebar only display and navigate; they never send a single keystroke to the Agent. You approve and answer questions yourself, in the Agent’s own interface.

Your configuration stays untouched

Shell integration and hooks are injected through launch arguments and temporary files. Not a single character of your rc files, ~/.claude or ~/.codex is changed.

Problems never break the terminal

If parsing an Agent’s records fails or a hook does not take effect, gilvt falls back to “Lite mode” or a plain terminal, and input and output keep working.

Features at a glance

AreaWhat it doesEntry point
Core terminalTabs, splits, true color, Kitty keyboard protocol, IME input (e.g. Chinese), find, 100,000 lines of scrollback⌘T ⌘D ⌘F
File previewCode highlighting and diffs, rendered Markdown with change markers, Mermaid diagrams, pinning as a live-refreshing pane⌘+click a path, gilvt view
Finding filesFuzzy search within the repository, dropping files in from Finder⌘P, drag and drop
Session overviewAll Agent sessions, their state, how long they have waited, context usageSidebar ⌘B
MonitorGlobal activity view: Agent sessions and terminals from every window laid out as cards, grouped by state, expandable to catch up; a command bar at the bottom of any tab lets you ask questions at any time⌘⇧O / ⌘⇧M
Execution processStatus card, TODO, timeline, the key error lines of failed commands, jumping back to the terminalInspector ⌘I
Agent configurationThe current session’s model, permissions, MCP, Hooks, extensions, memory and sources, read-only and redacted⌥⌘3
AlertsSystem notifications, Dock badge and bounce, ⌘⇧J to cycle through sessions waiting for youAutomatic
Session managementSearch, resume, rename, archive and clean up (move to Trash) past sessions; cleanup wizard⌘⇧R, ⌘⇧K
New AgentPick the Agent, directory, initial task, model and permission mode, optionally run it in a new git worktree, and start it in one step⌘⇧N
Themes725 built-in themes plus custom themes, one each for light and dark; window chrome and status colors follow the theme⌘, → “Appearance”
Built-in editorEdit Skills, commands or any text file with syntax highlighting, never losing content silently; live preview (Markdown / Mermaid / SVG / changes)E / ⌘O, ⌘⇧+click, ⌘⇧V
Restore after restartRestores windows, tabs, splits and directories after quitting or a crash; Agent sessions are listed as “Pending resume” for you to resume with one clickAutomatic
Git awarenessThe sidebar shows each session’s branch, change count and ahead / behind; worktrees of the same repository are grouped into one projectAutomatic
Close protectionAsks for confirmation before closing a pane, tab or window, or quitting, when that would interrupt an AgentAutomatic

Current version

Completed milestones: M1 core terminal; M2a–M2c preview and file finding; M3a–M3d Agent state, execution process, session management and offline Review; M4a artifacts (per-turn file changes and the “This turn” diff); M5a read-only configuration summary. Also available: workspace persistence, git and worktree awareness, close confirmation (P0); session archiving, deletion together with companion data, the cleanup wizard and run-directory display; terminal rows in the sidebar; the Monitor (S1: global activity view; S2 phase 1: ✦ AI Summary; phase 2: the ⌘, settings window; phase 3: read-only chat; phase 4: the bottom command bar); the built-in editor (with syntax highlighting and live preview); Codex subagents and background terminals shown in the timeline. M4b (seen state, diff range switching) and M5b (configuration editing and safe write-back) are not available yet (the Monitor’s [monitor] table can already be changed in the settings window and safely written back).

M1 ✓ · M2a ✓ · M2b ✓ · M2c ✓ · M3a ✓ · M3b ✓ · M3c ✓ · M3d ✓ · M4a Artifacts ✓ · M5a Configuration summary ✓ · M4b / M5b to do

Part 2 · User guide
  1. Install and launchDownload gilvt from gilvt.com/download (macOS 11 or later, Apple silicon and Intel; signed and notarized by Apple), open the disk image and drag Gilvt…
  2. UpdatesThe downloaded gilvt updates itself. By default it checks release.gilvt.com in the background, downloads a new version when there is one, and installs it…
  3. Layout and basicsThe gilvt window has three columns: the session overview on the left, terminal tabs and splits in the middle, and the inspector on the right. ⌘B and ⌘I…
  4. Quick Look previewQuick Look is a preview overlay on top of the terminal area; the terminal keeps updating in the background. In a git repository it shows changes against…
  5. Built-in editorgilvt comes with a general-purpose text editor, so you no longer have to switch to another app to edit a Skill, a command or any other text file.
  6. Markdown and MermaidIn Quick Look, .md files are shown as a rendered document by default: body text in a proportional font, code and table numbers in a monospaced font.…
  7. ⌘P and dropping filesPress ⌘P in a terminal pane to search all files of the git repository that pane is in (respecting .gitignore); outside a repository it searches the…
  8. The gilvt command lineEvery pane has a gilvt command on its PATH; use it to open previews from the command line:
  9. Agent sessionsOnce you run claude or codex in a pane (including scripts like codex-w that end up executing codex), gilvt recognizes it automatically and gets its state…
  10. Inspector: ProcessThe inspector on the right follows the focused pane and shows what this session did in each turn. It only displays and navigates; it has no approval or…
  11. Monitor: global activity view (⌘⇧O)⌘⇧O (or the menu “Sessions → Monitor”) opens the “◎ Monitor” tab at the far left; press it again to return to it. It lays out the Agent sessions and plain…
  12. Resume and manage sessions (⌘⇧R)The “Sessions” overlay lists all Claude Code and Codex sessions on this machine, showing only the current project by default. When you type, it switches…
  13. To Review: have you looked yet? (⌘⇧R → ⌘2)The Session Center opened by ⌘⇧R has four tabs: ⌘1 Needs you, ⌘2 To Review, ⌘3 Running, ⌘4 All Sessions (the resume and management view above). Once you…
  14. New Agent (⌘⇧N)Typing claude directly in the terminal is still the most common way. ⌘⇧N is handy for starting several Agents at once, or for starting one in another…
  15. Notifications and the DockNotifications are sent only when gilvt is not in the foreground or that pane is not visible; muted sessions send none. Clicking a notification jumps to…
  16. Themes (⌘, → “Appearance”)Themes are chosen on the “◐ Appearance” page of the ⌘, settings window (the first page in its sidebar; the window opens on the page you last viewed…
  17. SSH remote (preview)Run ssh to a Linux host or an Apple Silicon Mac in a gilvt pane and gilvt recognizes that the pane is now remote: the pane and tab show the host, the…
  18. ConfigurationThe configuration file is ~/.config/gilvt/config.toml; every field is optional:
  19. Keyboard shortcutsKeyboard shortcuts: ⌘T / ⌘N New tab / new window; ⌘D / ⌘⇧D Split right / down; ⌘⌥←↑→↓ Move pane focus; ⌘⌃←↑→↓ Resize pane; ⌘⇧⏎ Maximize / restore pane…
  20. Known limitations and troubleshootingKnown limitations and troubleshooting: Known limitations Text in Quick Look and pinned preview panes cannot be selected and copied yet (scheduled for a…