Mac YOLO Safeguards

Clean up what your coding agents leave running.

The free menu bar app shows which agent sessions and helper processes use memory, and lets you stop leftovers by hand. Pro Guard ($29 once) checks memory once a minute while the app is open and Auto-Guard is on, and cleans up without a click when memory runs short.

Download for Mac (free) Get Pro Guard, $29 once

Apple Silicon · macOS 14 or later · Node.js needed for the cleanup, scan, pause, fan, jobs and Agents-menu controls, and for Auto-Guard.

Pro Guard is $29 once. No subscription, no account, full refund within 30 days.

The Mac YOLO window on a busy Mac: CPU at 95%, 15 Claude sessions, 229 MCP processes, with buttons to clean AI waste, free agent RAM and stop runaways
My own Mac on November 12, 2026: 15 Claude sessions, 229 MCP processes and 1,296 processes in all. One window shows what's using the machine and what to stop. The picture is from version 1.2.8, which showed 'Protected' all the time. Versions 1.2.9 and later show 'Auto-Guard on' there only while Pro's once-a-minute check is running.

API keys, tokens and passwords in plain text. Coding agents copy them into their own session logs. Mac YOLO counts the ones in your session logs from the last 30 days, and blanks them out in two clicks. It is in the free app.

Version 1.2.13. macOS 14 or later on Apple Silicon. The cleanup, scan and stop buttons, and Pro's once-a-minute check, need Node.js on your Mac. If it is missing, the buttons say so and show the install command. Signed with an Apple Developer ID and notarized by Apple, so it opens without warnings. No account needed. Also available as a .pkg installer or with Homebrew:

brew install --cask igorganapolsky/tap/mac-yolo-safeguards

What it does

Why it exists

On May 26, 2026, a coding agent booted an iPhone simulator that kept forking until my Mac's load average hit 307 and it stopped responding. The guard that grew out of that night is what this app runs.

Illustration, 24 seconds: a runaway AI agent keeps booting simulators until the Mac freezes (load average 307, 256 simruntime processes), then the simulators are shut down from Mac YOLO Safeguards and the load drops
Illustration, not a screen recording. The figures come from a real incident on my Mac on May 26, 2026. Version 1.2.13 shuts down every running iOS simulator, including one you are using, when you click Free Agent RAM or Stop Runaways, and only if Node.js is installed. It does not react to CPU load by itself.

The stop-or-spare logic has 37 test cases. Four replay process snapshots recorded on a Mac running many agents, 24 are variations of one of those snapshots, and 9 were written by hand from past incidents.

Pricing

FreePro Guard: $29 once
See load, top hogs and every agentYesYes
Stop leftovers and clean cachesWhen you clickWithout a click, while the app is open and Auto-Guard is on
When you're not clickingNothing is cleaned up until you clickChecked once a minute while the app is open and Auto-Guard is on. Leftovers are stopped when memory runs short. When memory is critical, Codex and Claude Code terminal sessions idle for a day can be stopped too, and the command to resume each one is saved. Caches are cleaned when less than 10 GB of disk is free, at most once an hour. When the internet connection is jammed, bulk uploads can be paused
Download$29 once, yours to keep. No subscription. Not working for you? Reply to your receipt within 30 days for a full refund.

Auto-Guard starts on when you activate Pro. At critical memory it can end a very large process even inside a live session, and agent terminal sessions idle for a day. It can pause big uploads. The Free Agent RAM and Stop Runaways buttons shut down every running iOS simulator, including one you are using. Details below.

Payments go through Stripe. See the refund policy.

Questions

Will it kill my work? It can. Ending processes is what it does, and no rule for choosing them is perfect. It looks for leftovers: MCP servers and helpers that outlived their session, and floods of 40 or more copies of one command. When memory is critical it can also end a single process using at least 16 GB, or half your Mac's memory if that is more. A running agent session itself is spared, but a very large process an agent started, such as a build or a script, can be ended. So can any other very large process that is not a system process, a Mac app or a known database or model server. With Pro, when memory stays critical, it can end Codex and Claude Code terminal sessions that have been idle for 24 hours; the command to resume each one is saved to a file. The Stop Runaways and Free Agent RAM buttons shut down every running iOS simulator, and Stop Runaways ends file searches of your home folder that match a pattern it considers stuck. Version 1.2.8 and earlier also deleted folders in /private/tmp whose names start with claude- or yolo-scratch- and were last changed more than 2 hours ago, each time you clicked Stop Runaways. That could include the temporary files of a Claude Code session still in use. Version 1.2.9 removed this. If you have an older version, update. With Pro, when the app measures a jammed internet connection, it can pause bulk uploads (rsync, scp, rclone, aws s3, docker push, gh release upload, Apple notarization uploads and self-hosted CI runner jobs). It is built to resume them when the line is quiet or after 10 minutes; if one stays paused, kill -CONT with its process number resumes it. Commit your work and keep backups.

Does it stop every freeze? No. Version 1.2.13 acts on memory and disk and, with Pro, on a jammed internet connection. It does not react to CPU load. If your Mac is slow because too many jobs are running at once while memory is fine, the app shows the load and the biggest users, and you decide what to stop.

Can I see what it runs? Mostly. The rules that choose what to stop, the disk cleanup and the secret scan are plain JavaScript files inside the app. Right-click the app, choose Show Package Contents and open Contents/Resources/tools. The window itself is compiled Swift, and so is the button that shuts down iOS simulators. The source repository is private. The app does not ask for Full Disk Access, Accessibility or Automation permission, and it never empties your Trash.

Does it send my data anywhere? It does not upload your files, your transcripts or the secrets it finds, and it needs no account. It does use the network for a few things: it pings 1.1.1.1 and your router to measure your connection, Test Speed uses speed.cloudflare.com when you click it, and a Pro license is renewed with macyolosafeguards.io. See the privacy policy.

Can I see the code? The source is private. Every download is signed with an Apple Developer ID and notarized by Apple.

Who made it

I'm Igor Ganapolsky. I run several AI coding agents on one Mac every day and built this after my machine froze one too many times. Bug reports and questions go in GitHub issues.