Processes that keep running.
Dev servers, test runners and hidden browsers stay on after the agent is gone. They hold on to your ports and your memory.
Agent Janitor is one quiet app in your menu bar or tray. It stops the processes your AI agents leave running and frees the disk space they take up.You choose what gets cleaned. By default, only leftover hidden browsers are stopped for you. Build folders and worktrees go to a bin you can restore from.
$19 one‑time payment · 24-hour free trial, no card · Mac · Linux
What your agents leave behind, and how Agent Janitor cleans it up.
If it runs in a terminal, Agent Janitor can tidy up after it.
janitor run <cmd>When an agent session ends, its dev servers can keep running and its build folders stay on disk. Your computer gets slower, and your disk fills up.
Dev servers, test runners and hidden browsers stay on after the agent is gone. They hold on to your ports and your memory.
Every project, and every copy of it, gets its own build output and caches. They’re often the biggest thing on your disk.
Extra copies of a project an agent made for one task, plus logs and session data that pile up.
Agents leave two kinds of mess: processes that keep running and files that fill your disk. Agent Janitor cleans up both.
Four everyday situations, and what Agent Janitor does in each.
It sits in your menu bar or system tray, and tells you when something needs attention.
One look tells you how your computer is doing. A forecast tells you when space will run out.
When a session ends, see what it left. Clean it in one click.
$ janitor run claude ✓ session ended ✓ receipt ready: 2 processes, 3.1 GB
Start any agent with janitor run. When it ends, you get a receipt of what it left behind, ready to review.
Build folders, caches, test browsers and old worktrees, sorted by project.
$ janitor status ● amber 41.8 GB to clean
Check the disk and preview a clean from your terminal, with output your scripts can read.
Turn on the local MCP server and your agents can see how the machine is doing. They can clean up their own leftovers. Nothing else.
You choose what gets cleaned. By default, only leftover hidden browsers are stopped for you. Build folders, worktrees and old agent versions go to a bin, so you can restore them.
Whatever you click, these stay put.
Big, but too important to touch. You decide.
An agent only knows its own session, and it stops when the session ends. Leftovers from other sessions stay.
| Question | Asking the agent | Agent Janitor |
|---|---|---|
| Sees leftovers from past sessions | No. Only its own | Yes. Every session, any agent |
| Still there after a crash | No. | Yes. Lives in your tray |
| Shows you first | Partly. If you ask | Yes. Always |
| Lets you restore | No. Deleted is deleted | Yes. Restore from the bin |
| Leaves running work alone | No. | Yes. |
| Warns before your disk fills | No. | Yes. Tray colour and forecast |
| Keeps a record | No. | Yes. A log of every action |
No account. No server. No tracking.
It goes online for two things only: your licence (it never locks when you’re offline) and update checks, which you can turn off.
One licence: one person, up to two computers, all updates included. No subscription.
Agent Janitor
$19 one‑time payment
24-hour free trial with everything unlocked. No card.
Buy for $19Download free trial ›Mac · Linux
Downloads open soon. Not available for Windows yet.
After 24 hours, the basic features stay free forever. A licence unlocks the rest.
| Feature | Free forever | With a licence |
|---|---|---|
| Tray colour (green, amber, red) | Included | Included |
| Total junk size | Included | Included |
| Disk forecast | Included | Included |
| Sizes by group | Included | Included |
janitor status | Included | Included |
| Paths and details | Not included | Included |
| Session receipts | Not included | Included |
| Restore from the bin | Included | Included |
| Clean | Not included | Included |
| Automatic cleaning | Not included | Included |
janitor run | Included | Included |
| Command line details | Not included | Included |
| MCP server for agents | Not included | Included |
Anything else? Write to [email protected].
It’s built around not deleting the wrong thing. You choose what gets cleaned. By default, build folders, worktrees and old agent versions are moved to the bin, not erased, so you can restore them. It never touches running agent sessions or files you mark, and Docker volumes and model files are reported, never removed.
Open the bin and click Restore. By default, build folders, worktrees and old agent versions are moved to the bin, not erased, and every action is in the audit log, so you can see exactly what happened and when.
No. There’s no account, no server and no telemetry. It goes online only for your licence (being offline never locks the app) and to check for updates, which you can turn off in Settings.
Claude Code, Codex, Grok Build (Cursor), Gemini CLI, GitHub Copilot, Aider and others. Any agent or tool you start from a terminal works too: wrap it in janitor run to track it as its own session, so you can review and clean what it leaves behind.
No. Docker volumes, model weights, editor state databases and WSL disks can be large, so it shows you their sizes, but it never removes them. That part is up to you.
The basics stay free forever: tray colour, total junk size, disk forecast, sizes by group, janitor status and janitor run. Restoring from the bin is always free. A licence unlocks paths and details, session receipts, Clean, automatic cleaning, command line details and the MCP server.
Yes. One licence covers one person on up to two computers, for example a laptop and a desktop, even if they run different systems.
No. It’s a $19 one‑time payment, with all updates included. No renewal, no team plan.
Yes. If it isn’t right for you, write to [email protected] within 14 days of buying. See the refund policy.
Not yet. Agent Janitor launches on Mac and Linux. A Windows version is planned; the licence will work on it too.
If you turn on the MCP server, an agent can check the machine’s state, preview a clean, and clean leftovers from its own session. It can’t remove anything else.
Coding agents are great at starting things. Less so at stopping them. A few weeks in, a laptop can be full of servers nobody uses, browsers nobody sees and build folders for branches long gone.
Agent Janitor was made by a developer who got tired of cleaning up by hand, and of scripts that delete things without asking. So it’s careful first, quick second, and it never needs an account.
Free for 24 hours. Then a one‑time payment of $19.
Mac · Linux