agents-balancer
Run many AI coding agents on one machine. Their heavy commands wait for a free slot instead of starting all at once and freezing it.

How it works
-
Install the app
It lives in your menu bar or tray. It finds the agent sessions already on your machine and shows what each one is doing.
-
Connect your agents
Click the icon in your menu bar, then Connect. Claude Code and pi/Orca get hooks; Codex, Cursor and Gemini use the MCP server. Disconnect undoes it.
-
Heavy work takes turns
A build, a Blender render or a full test suite waits for a slot when the machine is busy, then runs. The agent waits a little; your laptop stays usable.
What it does
-
A queue for heavy work
Builds, renders, test suites, data generation and training wait for a machine-wide slot. Light commands run as usual.
-
A watchdog that pauses, not kills
When memory runs low it pauses the youngest heavy process, resumes it when things calm down, and kills only if it is still critical. Starts in dry-run, so you can watch first.
-
Every agent on the machine
Each live session from every harness, with the CPU and memory it and its child processes use. You see which one is heavy.
-
Subscription limits
How much of your Claude 5-hour and weekly window is used, and Codex's, read from local logs. Like CodexBar, next to everything else.
-
Priorities and night tasks
High, normal, low and night. Night work waits for the night window, and a short report in the morning says what ran.
-
Local and open
No account, no cloud, no telemetry; nothing leaves your machine. MIT licensed. An MCP server lets any harness take part.
Works with
Claude Code, Codex CLI, pi, Orca, OpenCode, Gemini CLI, Cursor and any MCP client. Claude Code and pi are balanced through hooks; the others through the MCP server. All of them are shown in the panel either way.
First launch, honestly
- macOS
- Apple Silicon. Not notarized yet. Open the app once, then go to System Settings → Privacy & Security and click Open Anyway.
- Windows
- The installer isn't code-signed yet, so SmartScreen may warn you. Click More info, then Run anyway.
- Linux
- AppImage or
.deb. Make the AppImage executable withchmod +xand run it.
Prefer the terminal?
The same balancer is a command-line tool. Python 3.11 or newer.
uv tool install git+https://github.com/stilldash/agents-balancer
agents-balancer install --print # shows what would change
agents-balancer install
agents-balancer status
Also a Claude Code plugin and an MCP server (agents-balancer mcp). See the README.