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, Rex pane, 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.

picks up where you left off.

Keep typing in the switcher and it also finds your past Claude Code sessions, by title, first prompt or folder. Press ↵ and barn opens a new tab in Ghostty, iTerm, Terminal or Rex and resumes it. Your shell's startup files finish first, so your PATH and aliases are all there. Sessions that are still running get a jump instead of a second copy.

# ⌃⌥Space, then type
flaky login

# ↵ opens a new tab and runs
cd ~/code/api && claude --resume 7f3c…

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

make it yours.

looks

Pick how cards show each state, or make your own: colors, glass tint, and effects like glow, shimmer, wiggle and bounce. Share a look as JSON and a friend pastes it in.

little barn noises

A bloop when an agent shows up, a doorbell when one needs you, a marimba when one finishes, plus trackpad taps. Confetti too, if you like. All off by default.

your deck, your way

Cards or a compact list, five sizes from xs to xl, any font you have, and a deck that fades until you point at it. Every shortcut can be changed.

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 analytics. barn reads the process table and your agents' local files. The only thing it fetches is a daily update check, which you can turn off. 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, and to open a new tab when you resume a past session.

Which terminals does it know?

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

Can I choose where past sessions resume?

Yes. Settings → general → history → resume in. Pick Ghostty, iTerm2, Terminal or Rex, or leave it on automatic and barn uses whichever is open. The session starts in a full login shell, so everything in your ~/.zshrc is loaded first.

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