One-click access to AI coding agents from your macOS menu bar.
TermBar is a lightweight macOS menu bar app that gives you instant access to your AI CLI tools. Click the terminal icon, pick your agent, and a fresh Terminal window opens ready to go.
- Four AI agents in one dropdown: Claude, Codex, Kimi, and Gemini
- Global hotkeys (Ctrl+Opt+1 through Ctrl+Opt+4) for instant launch
- Global menu hotkey (Ctrl+Opt+T) opens the menu from any app
- Fresh Terminal window every time — no reusing stale sessions
- Native macOS menu bar app — no Electron, no overhead
- Brand logos for each tool — programmatic vector icons, no bundled assets
- Click the terminal icon in your menu bar (or press Ctrl+Opt+T)
- Select an AI agent from the dropdown
- A new Terminal window opens with the CLI tool running
Claude Code launched via TermBar with permissions bypass enabled.
| Agent | Command | Shortcut | Description |
|---|---|---|---|
| Claude | claude --dangerously-skip-permissions |
Ctrl+Opt+1 | Anthropic's Claude Code CLI with auto-permissions |
| Codex | codex |
Ctrl+Opt+2 | OpenAI's Codex CLI agent |
| Kimi | kimi-cli |
Ctrl+Opt+3 | Moonshot AI's Kimi CLI agent |
| Gemini | gemini |
Ctrl+Opt+4 | Google's Gemini CLI agent |
Install the CLI tools you want to use:
# Claude Code
npm install -g @anthropic-ai/claude-code
# Codex
npm install -g @openai/codex
# Kimi CLI
# See https://github.com/anthropics/kimi-cli
# Gemini CLI
npm install -g @anthropic-ai/geminiRequires Swift 6 and macOS 13+.
git clone https://github.com/CharlescSturt/term-bar.git
cd term-bar
bash Scripts/build_app.shThis builds a release binary and installs it to ~/Applications/TermBar.app.
open ~/Applications/TermBar.appTo start TermBar automatically at login, add it to System Settings > General > Login Items.
TermBar is configured in Sources/TermBar/AppDelegate.swift. To add or modify tools, edit the tools array:
private let tools: [ToolItem] = [
ToolItem(name: "Claude", command: "claude --dangerously-skip-permissions",
keyCode: UInt32(kVK_ANSI_1), shortcutLabel: "Ctrl+Opt+1"),
ToolItem(name: "Codex", command: "codex",
keyCode: UInt32(kVK_ANSI_2), shortcutLabel: "Ctrl+Opt+2"),
// Add more tools here
]Then rebuild:
bash Scripts/build_app.sh- Swift 6 with strict concurrency
- Swift Package Manager (no Xcode project required)
- Carbon API for global hotkey registration
- NSStatusItem for native menu bar integration
- LSUIElement — runs as a menu bar agent (no Dock icon)
- Launches tools via
.commandfiles opened byNSWorkspace— no AppleScript or Accessibility permissions needed
If you work with multiple AI coding agents throughout the day, switching between them means opening Terminal, typing the command, waiting for it to load. TermBar removes that friction — the agent you need is always two clicks (or one hotkey) away.
MIT

