for people running too many agents at once

a little barn for all your agents.

barn lives in your menu bar and watches every AI coding agent on your Mac. When one needs you, ⌃⌥Space takes you to its exact terminal tab.

download for mac

free & open source · nothing leaves your Mac

The barn switcher listing six agents with live status, beside the floating deck of glass tiles

it just knows.

zero setup

Start agents however you like. barn finds them in the process table and reads their own session files, so it always knows which are working, waiting or done.

the exact tab

Not just the app. barn picks the right Ghostty split, iTerm or Terminal tab, VS Code window, or tmux pane, then brings it to the front.

taps you on the shoulder

When an agent hits a permission prompt or asks a question, you get a notification. Click it and you're there. No more agents waiting on you without you knowing.

⌃⌥space

from anywhere.

A Spotlight-style switcher for your agents. Type to filter, press ↵, and you're in the right tab. The most urgent agents sort to the top, and ⌘1–9 jumps straight to one. Every shortcut can be changed in settings.

a monitor that comes with you.

Turn on the floating deck (⌃⌥D) for a strip of glass tiles that stays on top. It's a glanceable status board on every desktop.

  • needs you
  • ready (you haven't looked yet)
  • working
  • idle

brings the whole herd.

Detected automatically. exact agents report their own state. hook agents become exact with one click in settings. Everything else is tracked by activity, and you can add your own.

speaks everyone's language.

Anything can tell barn what it's doing. Point a hook at barn hook, or write one small JSON file from any script.

# any agent's hook config
barn hook codex

# …or from any script
echo '{"state":"waiting","detail":"approve deploy"}' \
  > ~/.barn/status/$PPID.json

stays on your mac. always.

No account, no telemetry, no network calls. barn reads the process table and your agents' local files, and that's all. The source is open, so you can check.

questions, answered.

Do I have to start my agents through barn?

No. Run them however you already do, in any terminal or editor. barn notices them on its own, usually within a second.

Why does it ask to control my terminal?

To bring the right tab to the front, barn uses Apple Events, the same way Raycast or Alfred do. macOS asks once per terminal app. barn only uses that permission to focus windows and tabs.

Which terminals does it know?

Ghostty, iTerm2 and Terminal.app all get exact tab or split focus, and tmux gets exact pane focus. VS Code, Cursor, Windsurf and Zed get the right window. Anything else gets activated.

My agent isn't listed.

Add it in settings → agents → your own, with its process name. If it has hooks, point them at barn hook <name> for exact state.

How much does it cost?

Nothing. barn is free and open source. It uses about as much CPU as a clock widget.

bring them home.

download for mac