全部软件
AgentBarUtilities
版本
v1.67.0
发布日期
2026-12-02
平台
macOS
安装包大小
macOS 7.2 MB
发布者
michalstrnadel
Utilities · michalstrnadel

AgentBar

One approval queue for your coding agents, and rules that watch before they answer.

版本 v1.67.0
macOS

README

AgentBar

Notarized by Apple License: MIT macOS 12+ Linux CLI Swift

One approval queue for your coding agents, and rules that watch before they answer.

AgentBar tour: the island under the notch opens on a Claude permission request for git push origin main with Codex and Copilot sessions listed below, one click on Allow; then the welcome window's Menu bar / Dynamic Island / Both choice, then a walk through Settings

New for the end of 2026

Collision Radar. Claude Code in one terminal, Codex in another, both editing auth.ts — whichever writes last wins. AgentBar sees every agent at once, so it says so on both rows. A click brings the other session forward; nothing is paused.

The island with Claude and Codex in the same checkout: a quiet 'same working tree' line under each row turns into 'also editing auth.ts' with an amber marker when both touch one file

AgentBar Wrapped 2026. Your year with agents: hours, approvals, the longest hands-off run, the night shift, who you were — and an Agent Arena of Claude, Codex, Gemini and Copilot side by side on your own Mac. Saves as a 9:16 video.

AgentBar Wrapped 2026 slides on plain paper Agent Arena: Claude, Codex, Gemini and Copilot side by side

agentbar statusline. One line under Claude Code's prompt: which other sessions wait on you, how many work, what's left of your quota. agentbar statusline --install and it's there.

Claude Code's prompt with AgentBar's status line: Codex waits 2m, Gemini asks, 2 working, 5h 38% left

Replay, shareable. Any Claude Code turn plays back as a little level — errors are pits, waits are gates — and saves as a GIF or video, 16:9 or 9:16.

A Replay of one Claude Code turn as a level on paper

Every decision is on record, too: the sealed decision record links and seals each approval so agentbar ledger verify can tell whether anyone edited it since.

Why. Your agents stop and ask before they run something, and the question waits in whichever terminal tab they happen to be in. AgentBar is where they ask — every agent, every session, in the menu bar or under the notch — so you answer in a click instead of hunting for the window. Nothing is answered behind your back: only you do, or a rule you wrote yourself, and every answer is written down.

In short: permission prompts and notifications for Claude Code, Codex, Copilot, Cursor and Gemini CLI on macOS, in one native menu bar app, free and open source — with a CLI for Linux.

Things to try

Do this AgentBar does that
Give Claude Code, Codex or Copilot a task that runs a command A needs approval card with the exact command (a mini-diff for an edit); Allow or Deny in one click, no terminal switch
Try an approval in the welcome window A made-up request waits at the notch (or in the menu bar) — answer it the way you would a real one, before any agent is wired. Nothing runs
Let an agent ask for rm -rf build && curl … | sh The card says what it reaches — deletes, pipes into a shell, network — in red and amber, with the agent's own one-line reason above it; Allow has to be held until it fills, so a stray click answers nothing
Switch on ⌥⌘J in Settings ▸ Shortcuts An approval queue on the keyboard: Return allows, Delete denies, N denies with a note, ↑ ↓ pick another, Esc hands the keyboard back
Open the island while Claude Code or Codex works Over the shoulder: the last tools it reached for and the last thing it said, live, with the tail of a command that failed, plus its subagents, what the session has cost and its last hour as a thin strip
Point at that strip What was it doing then: the time, whether it worked or waited on you, and the steps it took around that minute
Set a budget in Settings ▸ Usage A session that costs more turns its cost chip amber. It only flags; nothing is stopped
Come back after a coffee The pill says what happened while you were away — "away · 1 waiting · 3 done" — once, for a minute and a half
Click Deny with a note… and type "use pnpm here, not npm" The agent reads the note as the reason and changes course instead of trying the next thing
Push the pointer up to the notch The island opens: every session, what it is doing, and the one that needs you on top
Click a session row Jumps to the exact tab or pane — iTerm2, Terminal, WezTerm, tmux — or brings forward the app it runs in
Answer the same prompt the same way five times The card offers to write it down as a rule; a new rule starts out watching and answers nothing until you let it
Type git push --force origin main into a rule's test field Says on the spot whether that rule would have taken it, and which clause stopped it
Switch on ⌥⌘A / ⌥⌘D in Settings ▸ Shortcuts Allows or denies the newest request from any app
New Task… in the menu (or ⌥⌘N, once switched on) A project, an agent and one line of what you want; the agent opens in a terminal with the prompt given
Turn on Hide the island when nothing is running (or …while you're away) The pill slips out of sight; push the pointer up to the notch to peek. Anything waiting on you keeps it up
Settings ▸ Agents ▸ Show changes… Every write AgentBar made into an agent's settings, as a unified diff, with the copy it kept beside the file
Flip an agent's switch off in Settings ▸ Agents Shows what it will take out of that agent's settings, then removes only AgentBar's own entries — and leaves them out from then on
agentbar report --agent aider --name Aider --state tool --label Editing --pid $$ Any tool you run joins the bar under its own name and mark — wrap it in a few lines, no Swift
Your Day… in the menu or the island's ⋯ Your day, week or month with your agents on one card: who you were, agent time, the hours (a skyline for a week or a month), your top agent, what changed, your answers; copy it, post it, save it as a video, or print it as a receipt
Click the cup in the island's footer Keep Mac Awake while your agents work: the Mac stays up while a session runs and sleeps five minutes after its last turn. Right-click or hold for 15 or 30 minutes, an hour, two, until a time, or until you say. The time left counts down beside the cup and at the top of its menu, where Add 15 Minutes stretches a timed choice. The keyboard goes dark while you're away (and the screen can lock, if you switch that on), it can sleep the Mac when the agents finish, and Settings ▸ Awake Triggers starts it by itself when an agent works, on the charger, with a display, while an app runs, or while an app asks the Mac to stay awake (an export, a download). With the lid closed it keeps going, and when it ends the Mac goes to sleep instead of staying up in your bag
Drag a screenshot or a file onto a session in the island Its path lands in that agent's prompt — pasted into the right tab, never with Return
Let a quota window run hot The meter says when it runs out at this pace — "out ~15:40" — when that is before it resets
Right-click a session in the island Continue in another agent: the launcher opens in the same project with a prompt that says where the work got to — Return is still yours
Fail a test, then fix it Clawd sweats through the failures and celebrates the comeback — once, a hop and a little confetti
Let a session wait on you while you're in another window Clawd looks toward the terminal that needs you
The island's ⋯ ▸ Office… Every session at its desk; the one waiting on you raises a hand. Click a desk to go there
Right-click a Claude Code session ▸ Replay Last Turn… The turn plays back as a little level — errors are pits, waits are gates — and saves as a GIF or video, 16:9 or 9:16
Your Day ▸ Share ▸ Save Receipt… The day, week or month as a till slip: tool calls, what you approved and denied, what auto mode stopped, the riskiest stopped command, the cost
Let Claude Code and Codex edit the same file Collision Radar: both rows say "also editing auth.ts" — a click brings the other session forward
Your Day ▸ Year (or open agentbar://year) AgentBar Wrapped 2026 plays in the window, with the Agent Arena; Share saves it as a 9:16 video
agentbar statusline --install A line under Claude Code's prompt naming the other sessions that wait on you
open agentbar://focus from Shortcuts or Raycast Jumps to the session waiting on you — and no link can approve or deny anything

What it covers. Agents: Claude Code and Claude Cowork, Codex, Cursor CLI, Gemini CLI, GitHub Copilot, Google Antigravity, Qwen Code and OpenCode — plus Cursor cloud agents, Devin and Codex cloud tasks, and sessions on your own machines over ssh. Terminals: any — the exact tab in iTerm2, Terminal, WezTerm and tmux, best effort in kitty, Ghostty and VS Code, Cursor or Zed, and anything else (Warp included) comes forward as the app the agent runs in. Sessions: as many at once as you run, the one that needs you first. Approvals: a per-repo history of what you decided, and rules you wrote, every firing on record. Surfaces: the menu bar, a Dynamic Island under the notch, or both, pinned to the display you pick. Elsewhere: the agentbar CLI on Linux, and AgentBar for Windows, a native system-tray counterpart on the same ~/.agentbar hook protocol.

Quick start

curl -fsSL https://raw.githubusercontent.com/michalstrnadel/AgentBar/main/Scripts/install.sh | bash
  1. The app lands in /Applications (or ~/Applications when that isn't writable; AGENTBAR_INSTALL_DIR overrides), launches, and installs its hooks. A welcome window asks where it should live — menu bar, Dynamic Island, or both.
  2. Open a new Claude Code session (hooks load at session start) and give it any task.
  3. Watch it: the mascot animates while the agent works, and the moment it asks for permission you get a needs approval row — click ✓ Allow, ✓ Always, or ✕ Deny right there. No terminal switch needed.

That's the whole loop. More install options below; troubleshooting at the bottom.

If it saves you a trip to the terminal, starring the repo is how the next person finds it.

What the installer changes (and how to undo it)

AgentBar is local-only — no telemetry, and it talks to three places, two of which stay silent until you switch them on: the update check every few hours against G