All your coding agents. One terminal.
See which one needs you. Jump in, jump back out. Works with 18 coding
harnesses and plain shell jobs.
curl -fsSL https://raw.githubusercontent.com/moritzWa/betteragentview/main/install.sh | bashWindows PowerShell
irm https://raw.githubusercontent.com/moritzWa/betteragentview/main/install.ps1 | iexBuild from source
cargo install --locked --git https://github.com/moritzWa/betteragentviewRun betteragentview, or the shorter av command the installer adds. The old
agentview command, configuration paths and environment variables still work.
Type a task,
press Tab to pick a harness and Shift+Tab to pick a model. Shift+Tab also
works from the session list before you type.
Ctrl+B keeps the model and switches who serves it, for example OpenCode's
anthropic/claude-opus-5-5 and cursor/claude-opus-5-5; the model you pick is
remembered across restarts.
First time? Getting started covers harness login,
optional voice keys, shortcuts, and self-hosted MCP sync. Paste the
setup prompt into your coding agent, or copy it with
av onboarding --copy (/onboarding in the dashboard).
Five agents means five terminal tabs, and the one waiting on you is in the tab you aren't looking at. BetterAgentView lists every session from every harness in one place, with the ones that need you on top. Selecting a row opens the harness's own interface.
- Sessions grouped by status, with the harness on every row. Completion labels distinguish a finished task from a finished project; uncertain sessions stay Idle.
- Subscription usage at a glance: Claude and Codex limits, resets, and pace
in the header.
/usageshows the full breakdown, including a second Claude subscription on macOS. - Builds and tests in line: an optional agent-bouncer panel shows running jobs, waits, and when the queue should clear.
- Light and dark themes follow your terminal and OS, or choose with
--theme.
- Search past chats with
Ctrl+G, by name, harness, folder, ID, or message text across Claude Code, Codex, and OpenCode. Partial words and snippets help you find the right conversation;Enterrestores it. An empty search shows frequently used sessions first. - Find OpenCode tool activity too: search MCP arguments, Code Mode calls, and text results, including Slack messages sent without repeating them in chat.
- Keep work and personal chats separate. Work-only browsing hides personal sessions without stopping their agents. Toggle back to your previous chat or draft.
- Pause or schedule:
Ctrl+Tparks a session in Paused;/deferputs it in Scheduled. Reminders on active work stay beside its normal status./keepbrings a deferred session back. - Reorder, hide, undo: reorder with
Option+↑/↓, stop and hide or delete withCtrl+Xtwice, and undo a hide withCtrl+Z(mapCmd+Zin Ghostty). - Preview servers don't count as ongoing work. Mark them as services to keep the session's normal status instead of Background.
- Keyboard focus stays put: moving the mouse never changes selection.
Click a row to open it, or opt into hover focus with
--mouse-hover. - Jump into the harness's own interface and back while work keeps running. Background-capable harnesses launch without leaving the dashboard. OpenCode sessions outlive it; Cursor chats show live state on every platform.
- Start in any folder with
/cdorCtrl+O. Write multi-line drafts, paste long text, attach clipboard images withCtrl+V, and select text withShift+arrowor words withOption+Shift+arrow. - Move or migrate a session:
F6changes folders;/migratechanges harnesses through session-migrate. OpenCode folder moves preserve the session ID and history. - Per-project OpenCode models: choose
Defaultto follow the folder's config or plugin rules, or pick a model explicitly to override them.
- Desktop voice for OpenCode:
Ctrl+KorCmd+Klets you ask what needs you, hear a session's answer, give it a task, or start a new one. Supports OpenAI's GPT-Live and xAI's Grok. Voice Mode. - ChatGPT mobile voice: opt-in OpenCode history search and queued replies through a private MCP server, even without the dashboard. Approved output files open in ChatGPT's file viewer. Setup and privacy.
- Review what is on your dashboard: the mobile MCP exposes exact filtered UI counts and a one-at-a-time review order, separate from historical session counts.
- Refreshes don't block typing or navigation. Harnesses refresh in parallel on background threads, reading local data directly where possible.
- Fast local message search: SQLite FTS5 indices update at startup and every 30 seconds, reindexing only changed sessions. Harness logs and databases stay read-only.
No OpenCode fork is needed for fast dashboard refreshes or history search. Those optimizations live in BetterAgentView and support stock OpenCode. Opening a chat is a separate path: reusing one prewarmed OpenCode interface across sessions needs targeted TUI switching, available in my OpenCode fork. BetterAgentView detects that capability. Without it, chats still open, but the first open of each session can take longer because it starts a separate interface.
betteragentview is fast because it skips each harness's CLI wherever it can and
reads the data itself: OpenCode's SQLite database directly instead of starting
opencode db for every query, and which Cursor chats are open straight from
macOS instead of running lsof.
| Harness | Time per refresh |
|---|---|
| OpenCode | ~130 ms |
| Claude Code | ~180 ms |
| OpenAI Codex | ~80 ms |
| Cursor | ~3 ms |
| Devin | ~6 ms |
| Pi, Antigravity, Terminal | under 1 ms |
Median refresh over 30 s on an Apple M5 Pro with a 17 GB OpenCode history, recorded using my setup. Refreshes read harnesses in parallel, off the input thread. The direct-database optimization does not need the fork; stock was not separately timed on that history.
| Harness | Opening / returning |
|---|---|
| OpenCode | ~204 ms; ~52 ms with my fork (3.9× faster) |
| Claude Code | ~208 ms |
| OpenAI Codex | ~1.35 s first visit; ~16 ms returning |
| Cursor | ~1.31 s first visit; ~20 ms returning |
| Pi | ~159 ms |
| Devin | ~675 ms (Linux Space) |
| Antigravity | Not measured |
| Terminal | ~14 ms to a shell prompt |
Chat-opening medians on the same Apple M5 Pro, restoring 40-message synthetic chats until the last reply reaches a headless terminal. OpenCode uses a warm server (40 openings per build); the other measured harnesses start new native processes after one warm-up (30 openings each). Returning reuses the interface BetterAgentView already keeps open: ~16 ms for Codex and ~20 ms for Cursor, measured through the actual dashboard over 30 returns each. No model response is generated. Devin uses a separate Linux Space, so its result is not directly comparable to the Mac runs. Antigravity rejected the fixture, so it gets no timing. Terminal measures 30 clean-profile zsh starts to a usable prompt, not chat restoration. Versions, raw samples, and reproduction.
-
Create
~/.config/agentview/work-roots.jsonwith your work repos' absolute paths:{"roots":["/Users/alex/Code/company-app","/Users/alex/Code/company-site"]} -
Restart BetterAgentView after adding or changing the config. Subfolders and linked Git worktrees count as work too. Personal sessions disappear from the overview, session search and restore picker while work-only browsing is on.
-
Bind
betteragentview view toggleto a global shortcut to switch without focusing your terminal. The shortcut isn't built in. See the macOS setup with Karabiner-Elements.
The command switches every running dashboard. Toggle again to return to your previous chat or overview. Other apps and browser windows stay unchanged.
| Do this | Press |
|---|---|
| Move through sessions | ↑ / ↓ |
| Jump between folders | Cmd+↑ / ↓ in kitty, or in Ghostty with keybind = cmd+up=unbind and keybind = cmd+down=unbind |
| Open the selected session | Enter or → |
| Return to betteragentview | F7 from anywhere, or ← twice at an empty prompt (once in Claude Code and OpenCode). Shift+arrows stay available for text selection. Existing F13 mappings also work |
| Bring back a past session | Ctrl+G or /hidden |
| Rename / filter | Ctrl+R / Ctrl+F |
| New line in a task | Shift+Enter, Ctrl+J, or \ then Enter |
| Show every shortcut | ? |
On Mac keyboards with media keys, hold Fn to send F6 or F7.
The CLI and keyboard guide covers models, login, paging, bulk
actions, non-interactive commands, and --yolo
for unattended runs.
betteragentview brings 18 local coding harnesses plus Terminal into one dashboard: Claude Code, OpenAI Codex, Pi, OpenCode, Cursor, GitHub Copilot, Antigravity, Mistral Vibe, Muse Code, Qwen Code, Kimi Code, Oh My Pi, Grok, Kilo Code, OpenHands, Hermes Agent, MastraCode, Devin, Terminal.
| Harness | Launch | Model / shell picker | Open / resume | Inspect | Inline reply | Approval / input | Stop | Delete / archive |
|---|---|---|---|---|---|---|---|---|
| Claude Code | ✓ | ✓ | ✓ | ✓ | — | — | ✓ | — |
| OpenAI Codex | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
| Pi | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
| OpenCode | ✓ | ✓ | ✓ | ✓ | ✓ | — | ✓ | — |
| Cursor | ✓ | ✓ | ✓ | ✓ | ✓ | — | ✓ | — |
| GitHub Copilot | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | — |
| Antigravity | ✓ | ✓ | ✓ | — | — | — | ✓ | — |
| Mistral Vibe | ✓ | ✓ | ✓ | ✓ | — | — | ✓ | — |
| Muse Code | ✓ | ✓ | ✓ | ✓ | — | — | ✓ | — |
| Qwen Code | ✓ | ✓ | ✓ | ✓ | — | — | ✓ | — |
| Kimi Code | ✓ | ✓ | ✓ | ✓ | — | — | ✓ | — |
| Oh My Pi | ✓ | ✓ | ✓ | ✓ | — | — | ✓ | — |
| Grok | ✓ | ✓ | ✓ | ✓ | — | — | ✓ | — |
| Kilo Code | ✓ | ✓ | ✓ | ✓ | — | — | ✓ | — |
| OpenHands | ✓ | ✓¹ | ✓ | ✓ | — | — | ✓ | — |
| Hermes Agent | ✓² | ✓¹ | ✓² | ✓ | — | — | ✓² | — |
| MastraCode | ✓² | ✓¹ | ✓² | ✓ | — | — | ✓² | — |
| Devin | ✓ | ✓ | ✓ | ✓ | — | — | ✓ | — |
| Terminal | ✓ | ✓ | ✓ | ✓ | — | — | ✓ | ✓ |
A dash means the session still shows up, but that action stays in the harness's own interface.
¹ Models come from saved sessions or configs; exact model IDs also work. ² Prompt automation needs a Unix terminal.
Versions, auth, and per-harness caveats are in the provider notes.
betteragentview pairs well with OpenCode. My OpenCode setup adds Cursor models, background shells, worktree tools, and long-running turns that survive Cursor dropping out.
Getting started · Install · CLI · Voice Mode · Troubleshooting · Architecture · Testing · Contributing · Security
MIT. Not affiliated with any of the harnesses listed above.