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.
for people running too many agents at once
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.
free & open source · nothing leaves your Mac
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.
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.
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.
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.
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…
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.
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.
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.
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.
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.
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
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.
No. Run them however you already do, in any terminal or editor. barn notices them on its own, usually within a second.
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.
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.
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.
Add it in settings → agents → your own, with its process name. If it has hooks, point them at barn hook <name> for exact state.
Nothing. barn is free and open source. It uses about as much CPU as a clock widget.