I built a bouncer for my coding agents
My Mac ran out of memory every afternoon. Now my agents wait at the door instead.

My Mac ran out of memory every afternoon.
Not because of one thing. Four Claude Code and Codex sessions, two vite dev servers, an iOS build and a simulator. Each one alone is fine. Together they ate my 18 GB M3 Pro.
So I built Bouncer. Here's the 32-second version.
Why four agents freeze a Mac
An agent that edits files and runs small commands uses 200 to 500 MB. That's nothing.
The trouble is that agents keep calling tools. Every tool call can start another process, and that process needs memory the Mac no longer has. Swap grows, the pointer starts to stutter, and everything slows down at once.
I had two options and I hated both. Kill an agent and lose its context. Or keep going and wait for the Mac to recover.
So I hired a bouncer
Bouncer is a small menu bar app for macOS.
It adds one hook to Claude Code and Codex. Before each tool call, the agent asks Bouncer if there's room. When the Mac is overloaded, Bouncer tells the newest agents to wait. The one I worked with last keeps running.
Nothing gets frozen and nothing gets killed. A waiting agent keeps its process, its context and its terminal. It just doesn't start the next tool call yet.
When there's room again, the agent that waited longest goes first. One at a time, so the Mac doesn't fall over again.
A few rules I cared about:
It fails open. If Bouncer isn't running, the hook lets the agent continue within a second.
Every hold ends after 20 minutes at most, even if the Mac is still busy.
If Chrome or Docker is the real problem, it lets light agents run and holds only the heavy work: builds, simulators and dev servers.
It also shows what's eating the memory
The menu bar popover lists who's really using memory. Apps with their helpers, Docker with its VM, Xcode with its build tools, and each agent session as one row. The number is the same physical footprint Activity Monitor shows.
It also finds leftovers. A vite server whose agent quit hours ago. A Wine service at 99% CPU with no app open. I pick the ones to stop, and Bouncer stops only those.
It's a free beta
I built it for my own Mac, and the thresholds are tuned on that one machine. I want it on other Macs, with other agents and other builds, before I call it done.
It's free. No account, no license key. It's signed and notarized by Apple, and it needs macOS 14 or later.
If something breaks or feels off, Send Feedback in the app's menu opens my contact page.