AgentDust

AgentDust is a local companion for AI coding agents. It helps Claude Code and Codex diagnose and clean up leftover processes, recover busy TCP ports, and report cleanup outcomes. Claude Code disk usage is available on macOS. Manual cleanup requires your typed approval. Automatic cleanup is opt-in and limited to processes proven to belong exclusively to ended sessions in directories you enable. Homebrew provides macOS arm64 binaries. npm and release archives support macOS arm64 and Linux x86_64 on Ubuntu 24.04, including Ubuntu 24.04 x86_64 under WSL2.
AgentDust 1.8.2 supports Claude Code and Codex process tracking and cleanup on macOS arm64 and Linux x86_64 on Ubuntu 24.04, including Ubuntu 24.04 x86_64 under WSL2, with local outcome metrics and worker version status. Linux and WSL2 require a writable ext4 data directory. In WSL2, the agent and AgentDust must run in the same distribution. The exact 1.7.1 Linux archive and npm package passed WSL2 acceptance in release run 38104539057; each release repeats acceptance on its exact artifacts. Linux automatic cleanup uses systemd user services. Codex desktop cleanup waits until every recorded host process exits. Agent Teams remain outside the support claim. Claude Code disk usage remains macOS only. Claude Code fixture coverage includes the documented concurrent session, subagent and lifecycle scenarios through 2.1.292, including abrupt exit (M6 fixture matrix). Historical acceptance evidence: the installed 1.0.0 Homebrew binary passed controlled human decline and typed approval checks on the maintainer's Mac (release evidence). See install and connect. To try the non-destructive approval flow, run the development probe.
Agents start dev servers, MCP servers and helpers. When a session ends or crashes, some of them keep running under launchd or systemd, holding memory, ports and sometimes CPU. The upstream reports are open: anthropics/claude-code#1935 and openai/codex#21008.
Security and privacy: SECURITY.md, the threat model and the section below.
Status
AgentDust 1.8.2 provides process analysis, opt-in automatic cleanup, approved manual cleanup, local cleanup outcome metrics and automatic worker version status for Claude Code and Codex on macOS arm64 and Linux x86_64, including Ubuntu 24.04 x86_64 under WSL2, plus a read-only Claude Code disk report on macOS. Automatic cleanup results include the time they were recorded. Status identifies whether the running worker build matches the CLI build. If the versions differ after an upgrade, run agentdust auto resume from the installed binary. Codex support retains the exact host-exit requirement; it does not stop helpers immediately when a desktop chat ends. Cursor remains deferred. The milestones are in ROADMAP.md.
Releases follow Semantic Versioning: compatible fixes increment the patch version, compatible features increment the minor version, and incompatible public API changes increment the major version.