agentdisk
v0.3.1 · A little breathing room

YOUR AGENTS BUILD THINGS. THEY LEAVE THINGS, TOO.

Clear the clutter.
Keep the work.

Worktrees. Build folders. Another copy of node_modules. See what your agents left behind, what is really reclaimable, and what stays.

agentdisk scan -p ~/Projects

Local CLI + MCP server · Windows, macOS & Linux

Workspace, a little clearer.ILLUSTRATION
RECLAIMABLE IN THIS EXAMPLE4.75 GiB

Two rebuildable folders. Work stays protected.

2 selected · 4.75 GiB in this example

Fictional report data. This illustration does not scan or clean your disk. agentdisk itself runs in your terminal.

BUILT FOR THE WAY YOU WORKClaude CodeCursorCodexGemini CLIYour MCP client

SPACE TO THINK. SPACE TO BUILD.

A clearer picture.
A calmer workspace.

Parallel agents are productive. Their extra worktrees and build folders add up. Get the context before deciding what to reclaim.

01 / UNDERSTAND

Find the things
behind the numbers.

See agent data, worktrees and build output in one report. Explain a folder and find out what made it.

agentdisk explain <dir>
02 / COUNT HONESTLY

Shared bytes.
Counted once.

Hardlinked files are counted once. “Reclaimable” counts the bytes that would actually come back.

agentdisk size <dir>
03 / KEEP CONTROL

A plan first.
An undo after.

Review a plan, move items to quarantine yourself, and restore them if you change your mind.

agentdisk plan -p ~/Projects

NOTHING MOVES UNTIL YOU DECIDE

From “what is all this?”
to a plan you can trust.

01

Look around.

scan

A read-only report. Nothing on disk changes.

02

Make a plan.

plan

Saves the proposed cleanup. Moves nothing.

03

You take it from here.

apply

You confirm in your terminal. Eligible items move to quarantine.

04

Room to change your mind.

restore

Put quarantined items back. Deletion is a separate, later step.

AI agents can inspect and plan. Moving or deleting files stays with the person at the terminal.

THE TOOL, IN ITS NATURAL HABITAT

Real output.
A useful next step.

See the CLI scan sample projects, make a plan, and explain why a worktree with a .env file is kept.

agentdisk / sample projectsCLI RECORDING
Real agentdisk CLI recording on sample projects: scanning folders, creating a cleanup plan and keeping a worktree with a .env file.
Real output on a test machine with sample projects. The interactive report above uses fictional example data.

SOME THINGS DESERVE TO STAY

Your work has
the right of way.

A big folder is not automatically disposable. agentdisk checks context and keeps your work out of the plan.

Read the cleanup rules

Work in progress

Dirty or untracked worktrees, local .env files, locks and commits on no branch are kept out of cleanup plans.

KEPT

Your agent’s context

Transcripts, checkpoints, memories and settings are reported, never planned.

KEPT

Tools you rely on

Models and SDK downloads stay. Active editors and running agents affect what is eligible.

KEPT

ONE SMALL BINARY. A LITTLE MORE BREATHING ROOM.

Make room for
your next good idea.

Download a release for your platform, unpack it and add agentdisk to your PATH. Checksums are in SHA256SUMS.txt.

Install the release binary first, then check it and scan your projects folder.

Download for Windows, macOS or Linux
agentdisk --version
agentdisk scan -p ~/Projects

BEFORE YOU GET STARTED

A few things
worth knowing.

Will agentdisk delete anything by itself?

No. Scans do not write, and a plan moves nothing. Applying a plan requires a person at a terminal and moves items to quarantine. Purging is a separate, later confirmation.

Is this a desktop app?

agentdisk is a CLI and MCP server. The interactive report on this website is an illustration with fictional data. The real tool runs in your terminal.

Can my agent apply a cleanup plan?

No. MCP tools can inspect and create a plan; applying it is for you in your own terminal. There are no MCP tools to move or delete files.

Does it send my data anywhere?

No. agentdisk runs locally and has no network code. Your files and reports stay on your machine.

Are all shared files accounted for?

Hardlinked bytes are counted once. Copy-on-write clones such as APFS clones, ReFS block clones and Btrfs reflinks still count as separate space.

Does it know when a folder is in use?

Windows refuses moves of open folders, Linux checks open files, and macOS relies on idle time and editor detection. Storage paths also change between agent versions; agentdisk adapters shows what was found.

Can I add support for another agent?

Yes. Agent knowledge lives in small TOML adapter files. See the adapter guide and open issues.

What is the license?

MIT or Apache-2.0, at your choice. agentdisk is open source and made by laaielichter.

LESS LEFT BEHIND. MORE ROOM AHEAD.

Your next project
deserves the space.

Understand the clutter. Keep the work. Start with a scan.

Find it useful? A GitHub star is always welcome.