Claude Code makes your PC lag? It's the work it starts.
Claude Code itself is light: one process that mostly waits for an answer. What makes the
mouse stutter and the terminal hang is what it starts for you:
cargo build, go test,
npm test, each taking every core it can find. Run three or
four sessions at once and there is more work than CPUs.
Keel is free for two agents. Every install starts with 14 days of Pro. No account.
Or from a terminal:
See what is using the CPU.
Open Task Manager (Ctrl+Shift+Esc), Activity Monitor or top,
sort by CPU, and read the first ten rows while the PC lags.
- Compilers, test runners, a column of
node.rustc,cc1plus,go, vitest's workers: that is the agents' work, and what the rest of this page is about. claudeitself at a full core for minutes, with nothing running under it. That is a fault in that version, not load: restart the session and update Claude Code.- Memory full and the disk busy. The PC is out of RAM and swapping. No priority fixes that: run fewer sessions, or close what holds the memory.
- Antimalware Service Executable near the top (Windows). Defender is reading every file the build writes. On Windows 11, a Dev Drive is Microsoft's answer to that.
The free fixes.
Tell the agent to use fewer cores. Put the line in CLAUDE.md
and every session reads it:
Or start the heavy work at low priority, so it waits for everything else:
What it costs: a cap holds when the PC is idle too, so every build is slower, always.
nice treats a dev server the same as a test run. And the agent has to
remember it, in every project and every session.
The same thing, per process, and only when the PC is busy.
Keel is a small app in the tray. It knows which processes an agent started, from the process tree and from the marks agents put in the shells they run commands in, and it gives each one a lane:
- Tests, builds and compilers wait for your apps. The busier the PC, the further back they go.
- Servers the agent started, a dev server or a database, stay quick: something is waiting on them.
- Claude Code itself is never lowered. It's what you talk to.
- A build you start yourself goes ahead of the agents' work.
- Anything no agent started is left alone.
With CPUs to spare, a lowered build runs as fast as before: a lower priority only matters when something else wants the CPU. Work that waits three seconds without running gets its priority back for five, so nothing starves. Quit Keel and every priority is put back as it was. How it decides
110 ms to start a command, not 1,335.
On one machine (i7-11700K, 16 threads, Windows 10), with more spinning tests than CPUs on top of the agents already running, a new command took 110 ms to start with Keel steering and 1,335 ms without. A thread that asked to wake was 3.6 ms late at worst instead of 21.7 (99th percentile).
The cost is the other side of the same trade: the steered work got 21% to 56% less done while the PC was overloaded. It yields, and that is the point. Your own CPU work got no faster. The receipt, and how to run it yourself
When Keel won't help.
- The PC is out of memory. On Windows Keel lowers the memory priority of quieted work, which is no substitute for RAM.
- You want the builds to finish sooner. Under load Keel makes the agents' work slower, never faster. It trades their time for yours.
- The slow part is Claude's answer. That is the network and the model, not your PC.
- You're on macOS and want every lever. macOS has one, background mode, so work is either left alone or put in the background. What each system can do
Free for two agents.
Keel steers the work of your two oldest agents for free, for good. Pro steers every agent's work and keeps CPUs for you: $39 once, no subscription. Every install starts with 14 days of Pro, and there is no account.
Running several at once? Several agents on one PC: do the sum
Using Cursor instead? Cursor at 100% CPU: find the part that's busy