A Tauri-powered terminal aggregator with multi-workspace support and built-in AI agent integration Manage multiple project terminals in one window, with built-in Claude Code and Codex agent panels, file browser, git viewer, snippet manager, and remote access
$ npx -y skills add tony1223/better-agent-terminal --agent claude-code
Repo: tony1223/better-agent-terminal
What's inside
A Tauri-powered terminal aggregator with multi-workspace support and built-in AI agent integration
Manage multiple project terminals in one window, with built-in Claude Code and Codex agent panels, file browser, git viewer, snippet manager, and remote access — all in a single Tauri app.
Version 3.0 is the Tauri-only release. The Electron runtime has been removed; the app now uses a Rust/Tauri host, a React renderer, and a small bundled Node sidecar only where JavaScript SDK/runtime support is still required.
Mobile apps require Better Agent Terminal v3.1.3 or later.
Claude Code Agent Panel — Built-in AI agent with permission controls, status line, and streaming output
Terminal — Run persistent terminals alongside your agent for long-running commands and monitoring
File Browser — Browse and preview project files without leaving the app
Git Viewer — View commit history and diffs at a glance
.md files in a dedicated right sidebar panel with live file watching and right-click context menuA configurable status bar at the bottom of the agent panel, with 15 items across three zones (left / center / right):
| Item | Description |
|---|---|
| Session ID | First 8 chars of SDK session ID (click to resume a past session) |
| Git Branch | Current git branch name |
| Tokens | Total input + output token count (click for context breakdown) |
| Turns | Number of conversation turns |
| Duration | Session duration |
| Context % | Percentage of context window used (color-coded) |
| Cost | Total session cost in USD |
| Workspace | Current workspace name |
| 5h Usage / Reset | 5-hour API rate limit usage and reset countdown |
| 7d Usage / Reset | 7-day API rate limit usage and reset countdown |
| Max Output | Maximum output tokens for current model |
| Cache Eff. | Cache read efficiency percentage (click for cache history with per-turn cost breakdown) |
| Prompts | Link to view prompt history |
Items can be reordered, colored, and toggled on/off via a drag-and-drop template editor in Settings.
/switch to manage and switch between multiple Claude accountsOptional alternate agent backend powered by the Codex app-server, managed by the Rust host using the bundled @openai/codex runtime. Pick Codex Agent (or Codex Agent (worktree)) from the agent preset list when creating a terminal.
read-only, workspace-write, or danger-full-accessuntrusted, on-request, or never (auto)~/.codex/sessions/ are auto-indexed; resume hits a local cache so re-opening a thread is fast even with months of historyplan items render as approvable blocks in the panelOptional integration with cx — a tree-sitter-based CLI that gives agents file overviews, symbol search, definitions, and references without spinning up a language server. Useful for cutting context tokens on large codebases: agents can run cx overview (~20 tokens) before deciding which files to actually read.
When enabled in Settings → Agents → cx semantic navigation, BAT:
cx on PATH (or uses a custom binary path)cx overview / symbols / definition / references over full file readsCX_CACHE_DIR to a per-app cache directory so repeated queries are fastInstall:
| Platform | Command |
|---|---|
| macOS (Homebrew) | brew tap ind-igo/cx && brew install cx |
| Cargo | cargo install cx-cli |
| macOS / Linux (script) | curl -sL https://raw.githubusercontent.com/ind-igo/cx/master/install.sh | sh |
| Windows (PowerShell) | irm https://raw.githubusercontent.com/ind-igo/cx/master/install.ps1 | iex |
After installing, run cx lang add <language> for each language you want grammars for (e.g. rust, typescript, python), then toggle the option in BAT settings. The toggle is off by default — agents continue to work normally without cx installed.
| Shortcut | Action |
|---|---|
Ctrl+` (Windows) | Switch to the next BAT window |
Cmd+` (macOS) / Ctrl+` (Linux) | Toggle between Agent terminal and first regular terminal |
Ctrl+←/→ / Cmd+←/→ | Cycle workspace tabs (Terminal / Files / Git) |
Ctrl+↑/↓ / Cmd+↑/↓ | Switch to previous / next workspace |
Ctrl+P / Cmd+P | File picker (search & attach files to agent context) |
Ctrl+N / Cmd+N | Open new window |
Ctrl+Shift+T / Cmd+T | Open the new-terminal quick-pick (choose Shell, Worktree, Claude / Codex agent…) |
Ctrl+Shift+W / Cmd+Shift+W | Close the focused terminal |
Shift+Tab | Switch between Terminal and Agent mode |
Enter | Send message |
Shift+Enter | Insert newline (multiline input) |
Escape | Stop streaming / close modal |
Ctrl+Shift+C | Copy selected text |
Ctrl+Shift+V | Paste from clipboard |
Right-click | Copy (if text selected) or Paste |
| Command | Description |
|---|---|
/resume | Resume a previous Claude session from history |
/model | Switch between available Claude models |
/new / /clear | Reset session (clear conversation, fresh start) |
FAQ
better-agent-terminal is a Claude Code plugin with 1 hand-picked skill for development work, indexed on Flowy. Install it with the command on its page. It includes check-sdk-updates. Its skills do not fire on their own yet. Request auto-invocation to have Flowy route them as you prompt. Free and open source.
Is this plugin yours?
Claim it with GitHubSubmit a pluginPromote it