Understand the local data
Windsurf is an AI coding editor. Its local data includes regenerable caches, diagnostic files and remembered context for Cascade. Clearing caches does not require deleting the whole Application Support folder or your source repositories.
What AgentClean can scan
These are examples from the current Mac rules. Available items depend on installed versions, age checks and your scan results.
Editor and web caches
Caches can be rebuilt; the next launch or page load may take longer.
View paths and conditions
The bundle cache uses an age condition of seven days. Only the named cache subfolders and Service Worker/CacheStorage are candidates inside Application Support.
~/Library/Caches/Windsurf~/Library/Caches/com.exafunction.windsurf~/Library/Application Support/Windsurf/Cache~/Library/Application Support/Windsurf/Code Cache~/Library/Application Support/Windsurf/GPUCache~/Library/Application Support/Windsurf/Service Worker/CacheStorageLogs and crash reports
Removing diagnostics can make a current support investigation harder.
View paths and conditions
Crashpad candidates must be at least one day old. Keep relevant logs until a problem is resolved.
~/Library/Logs/Windsurf~/Library/Application Support/Windsurf/Crashpad/completed~/Library/Application Support/Windsurf/Crashpad/pendingCascade memories
Removing memories can lose remembered project context.
View paths and conditions
The memories folder is a caution item. It is not interchangeable with a cache, and this rule does not claim to clear all Cascade conversation history.
~/.codeium/windsurf/memoriesPaths identify candidate locations, not instructions to delete entire folders. A missing folder is normal for some versions.
What to keep
Keep source projects, User settings, extension data and workspace state. The parent .codeium/windsurf folder may hold data beyond memories; do not delete it wholesale.
~/Library/Application Support/Windsurf/User~/.windsurf~/.codeium/windsurf
Back up important data before confirming. Permanent cleanup cannot be undone in AgentClean; a whitelist helps protect files you need.
A careful cleanup workflow
- 01
Finish and quit
Save your work, finish active tasks and quit the app and related background processes.
- 02
Scan and inspect
Find this tool in AgentClean. Expand candidates and compare paths, sizes and cautions.
- 03
Select deliberately
Keep settings and active work. Leave uncertain items unselected and protect important paths.
- 04
Verify the result
After confirming cleanup, reopen the app and check your work. Compare free space on the same volume.
Common questions
Will this delete my code?
The listed rules target specific local tool data. Keep your source repositories and review every selected path. Never select a project folder merely because it is large.
Can I delete all of .codeium/windsurf?
No. Only its memories subfolder is listed here as a caution candidate. Removing the parent directory can affect other local state.
Are Cascade memories the same as caches?
No. Memories can contain useful project context. Back them up or leave them unselected if you still need that context.
Why does the cache return?
Windsurf recreates caches during normal use. Regrowth is expected, and the amount reclaimed depends on actual local files.
Official references
See what is taking up space
Scan locally, inspect the candidates and choose only the data you no longer need.
Stay tuned
AgentClean is currently available only for Mac. Other platforms aren’t available yet. Visit this site on a Mac to download.