What it does
AI agents write a lot to disk and rarely clean up. A Claude Code session is spread over five to ten places; Codex keeps rollouts plus several SQLite indexes; Cursor keeps chats inside one shared database. None of them has a proper “delete this session”, and some delete your history on their own after 30 days.
Domovy knows how each agent stores its sessions, and does the tidying with you, one plan at a time.
- Sessions
- One table of every session across agents: title, agent, project, last active, size, and status (live, idle, archived, expiring). Delete removes a session with its companion files and index entries, so nothing is left dangling. Archive compresses cold sessions with APFS transparent compression; the agent can still resume them. When an agent is about to delete history on its own, Domovy says so: “Claude Code deletes sessions older than 30 days. 1 session goes at the next sweep”, with Archive all.
- Disk
- A per-agent breakdown where every category is marked safe to remove, removable with consequences (and which ones), or keep. Guided cleanups for the Claude Desktop VM bundle, large Codex rollouts, merged agent worktrees and local models (Ollama, LM Studio, Hugging Face).
- Processes
- Memory and CPU per session, orphaned agent processes and MCP servers left running. You can freeze a process tree and resume it later instead of killing it.
- Rules
- Optional automatic tidying, such as “archive Codex sessions older than 60 days”. Rules are off until you turn them on, and each run is previewed first.
- Search
- Search and filter sessions by agent, project and status, search inside transcripts, and press Space for a native transcript preview. A local secret scan finds API keys and tokens in transcripts and can redact them.
- Tour
- The first launch explains what Domovy reads and what it never does, then a short tour walks through your own numbers. Help › Take the Tour plays it again. A menu bar item shows the total agent footprint and anything that needs attention.


Agents it knows
Every adapter reads the agent’s storage format exactly. When it meets a layout or version it does not know, it goes read-only and says why.
- Claude Code
- Codex (CLI and app)
- Gemini CLI
- Antigravity CLI
- OpenCode
- Cursor (state.vscdb and CLI chats)
- Zed Agent Panel
- VS Code chat (Copilot Chat)
- Gemini Code Assist
- Copilot CLI
- Qwen Code
- Kimi CLI
- Roo Code
- Cline
- Kilo Code
- Crush
- Continue
- Auggie
- Factory Droid
- Aider
- Grok CLI
- Kiro
- Goose
- Amazon Q CLI
- Claude Desktop
- Herdr
- Windsurf
- Trae
- Warp
- Amp
- Junie
- iFlow CLI
- Ollama
- Hugging Face cache
- LM Studio
Experimental agents are built from the agent’s documentation and source code but not yet checked against a real install; the app shows them with a flask badge, and the CLI and MCP server mark them too. If you use one, a report that it works, or does not is very welcome.
Careful by design
Domovy changes nothing until you approve a plan. These rules hold in the app, the CLI and the MCP server.
Every change is a plan
You see exactly which files and index entries change, and how much space comes back, before anything happens. For example: “Moves 14 files (212 MB) to the Trash. You can undo this.”
Nothing is deleted permanently by default
Removed files go to the Trash or to Domovy’s quarantine folder.
Every change can be undone
Each change writes an undo entry. Press ⌘Z in the app, or run
domo undo.Live sessions are never touched
Domovy checks open files, the agents’ own session markers and lock files, and leaves alone anything written to in the last 10 minutes. If it is unsure, it refuses.
The agent’s own command comes first
Where an agent has one (
codex delete,opencode session delete,ollama rm,hf cache rm), Domovy uses it, then checks the result.No database is written while its app runs
Databases are backed up before any write.
Dates stay as they were
Modification times are preserved, so the agents’ own retention keeps working as before.
What agents need to run stays
Settings, sign-in, plugins, skills, memory and
CLAUDE.mdare never removed.
The quarantine and undo log live in ~/Library/Application Support/Domovy. Uninstalling, even with brew uninstall --zap, leaves that folder alone.
Ask your agent
domo is also an MCP server and an agent skill, so the agent you already work with can list its sessions, check disk use and plan a tidy-up. It shows you the plan; nothing changes until you say yes.
Connect your agents
domo install # pick agents to connect
domo connect --all --dry-run
domo disconnect --all # removes exactly what was added- Install
domo installlets you pick agents, registers Domovy’s MCP server and installs thedomovyskill. In the app: Domovy › Connect Agents…- Your config stays yours
- Domovy uses the agent’s own
mcp addcommand where one exists (Claude Code, Codex, Gemini CLI, Qwen Code, Copilot CLI, Kimi CLI). Otherwise it edits the config in place, keeping every other byte and backing the file up first. - Plans need your yes
- Agents can list and plan. A delete or archive runs only with the token of a plan the agent showed you.
domo disconnect --allremoves exactly what was added.
Which of my Codex sessions haven’t I opened in two months? Archive the ones about orbit-api, but show me the plan first.
Found 6 Codex sessions last active over 60 days ago; 4 are in orbit-api (38 MB). Plan: archive those 4 in place with APFS compression. They stay resumable, dates are kept, and the undo id is shown afterwards. None of them is live. Go ahead?


The domo CLI
The same engine as the app, for scripts and terminals. rm and archive always plan first: --dry-run prints the plan and its digest, and -y --if-plan <digest> runs exactly that plan.
domo ls # every session; --json for scripts
domo du # disk use per agent
domo search "rate limiter" # inside transcripts
domo rm --older 30d --agent codex --dry-run
domo archive a1b2c3d4
domo undo # put the last change backPrivate, and open source
Your sessions are your work. They stay on your Mac.
- No network
- Domovy makes no network connections: no update checks, no analytics, no crash reporting.
- No telemetry
- Nothing about you or your sessions leaves your Mac.
- Transcripts stay local
- They may contain secrets. Domovy reads them only to show and search them on your Mac, and never logs their content.
- Read-only by default
- Nothing changes until you approve a plan. Agent configuration changes only when you connect an agent.
- Open source
- Free software under the GNU GPL v3.0. Read the code, build it yourself, or open an issue on GitHub.
Questions
Could Domovy delete something I still need?
It is built not to. Every change is shown as a plan first, files go to the Trash or Domovy’s quarantine, and undo puts them back. Live sessions, recent sessions and the files agents need to run (settings, sign-in, plugins, skills, memory) are never touched.
Why does macOS block the first launch?
Domovy is not notarized by Apple, so Gatekeeper stops it once. Run xattr -dr com.apple.quarantine /Applications/Domovy.app, or open System Settings → Privacy & Security and choose Open Anyway. Builds are signed with a stable identity, so permissions you grant survive updates.
Do I need to grant Full Disk Access?
No. Domovy works without it. With it, Domovy can also measure the few agents that keep data in folders macOS protects.
Can I still resume an archived session?
Yes. Archiving compresses the files in place with APFS transparent compression, so the agent reads them as before. Dates are kept, so the agent’s own retention still applies; Domovy tells you when that is the case.
Can my agent delete sessions on its own once it is connected?
No. Through the MCP server and skill an agent can list sessions and make plans. A change runs only with the token of a plan it showed you, and the session it is running in is always refused.
What happens when an agent updates its storage format?
The adapter checks the layout and version it reads. If it meets one it does not know, it switches that agent to read-only and says why, instead of guessing.
Does Domovy connect to the internet?
No. There are no update checks, analytics or crash reports. Update with brew upgrade --cask domovy, or download the new release from GitHub.
How do I uninstall it?
Run domo disconnect --all if you connected agents, then brew uninstall --cask domovy (or move Domovy.app to the Trash). The quarantine and undo log in ~/Library/Application Support/Domovy stay until you remove that folder yourself.
Download Domovy
Version 1.0.0 for macOS 14 or later.
- Version
- 1.0.0
- Released
- Requires
- macOS 14 or later
- License
- GPL-3.0
Why these lines? Recent Homebrew loads casks from other taps only after you trust the tap once (brew trust; older versions skip it). Domovy is open source but not notarized by Apple, so Gatekeeper blocks the first launch; clearing the quarantine flag once fixes that, or approve it under System Settings → Privacy & Security → Open Anyway.
Release notes are in the changelog. To build from source you need Xcode 16 and Swift 6; see the README.
