{"slug": "my-coding-agents-were-leaving-a-mess-on-my-mac-windows-laptops-so-i-built-a-tool", "title": "My coding agents were leaving a mess on my Mac & Windows laptops, so I built a tool to see everything they do", "summary": "A developer built AGASTHY, a free, open-source desktop app (Rust/Tauri 2 with a React UI, Apache-2.0) that maps a developer machine into a live knowledge graph to track coding agents like Claude Code, Codex, Gemini CLI, Cursor Agent and Aider. The tool shows each agent's process tree, memory, ports and the MCP and dev servers it started, counts token spend from agents' local logs, simulates package-removal impact, and offers reversible disk cleanup with dry-run review. It also ships a read-only MCP server with nine tools so agents can query machine state but never change it.", "body_md": "The moment I noticed\n\nI run Claude Code and Codex most of the day. One afternoon my Mac got slow, so I opened Activity Monitor.\n\n[fill in: e.g. \"There were 11 node processes, 3 Vite servers and 4 MCP servers I didn't remember starting.\"]\n\nActivity Monitor told me what was running. It couldn't tell me:\n\nSo I did what everyone does: lsof -i :3000, ps aux | grep node, and guessing. Then I realised this is the new normal. Coding agents don't just write code. They run things on your machine, and nobody is keeping track.\n\nThe problem is bigger than leftover processes\n\nWhen I looked closer, my dev machine had become a black box:\n\nEvery tool I found covered one slice. I wanted one place that understands the whole machine.\n\nSo I built AGASTHY\n\nAGASTHY ([https://github.com/HMAKT99/Agasthy](https://github.com/HMAKT99/Agasthy)) is a free, open-source desktop app (macOS, Linux, Windows preview) that maps your developer machine into a live knowledge graph, then answers questions about it with evidence.\n\nMachine Graph\n\n🤖 See every coding agent, and what it left running\n\nEvery Claude Code, Codex, Gemini CLI, Cursor Agent, Aider, Hermes or OpenClaw session shows with its process tree, memory, ports, and the MCP and dev servers it started.\n\nWhen an agent exits and leaves something running, AGASTHY tells you which session started it and lets you stop it in one reviewed step.\n\nAgents\n\nStopping processes is careful on purpose:\n\n🪙 Token spend, counted correctly\n\nTokens, requests and estimated cost per day, session, project and model, read from the agents' own local logs (Claude Code, Codex, Copilot CLI, Hermes). Each response is counted once. It reads only the counters, never your prompts. Export to CSV.\n\nToken usage\n\n💥 \"What breaks if I remove this?\"\n\nBefore you brew uninstall anything, AGASTHY simulates it. It shows which Homebrew packages depend on it, which executables go with it, and every project whose runtime would break or fall back to another copy, including the things it can't know.\n\nImpact analysis\n\n🕸️ A map of your whole machine\n\nRepos (branch, uncommitted work, duplicate clones), runtimes (which copy is active, which are shadowed), packages from Homebrew, npm, pnpm, uv, pip and cargo, and AI tools, all linked in one graph.\n\nThe Machine Graph shows your agents, the instruction files they read, the MCP servers and providers they use, and what leaves your machine.\n\n💾 Disk cleanup you can undo\n\nIt finds rebuildable node_modules, target/, virtualenvs and caches. It only offers folders Git ignores that contain no tracked files. You review a dry run, and items move to a quarantine you can restore from. Docker volumes are never touched.\n\n💬 Ask your machine\n\n\"What is using my RAM?\", \"Free 10 GB safely\", \"Which repos haven't I touched in 90 days?\"\n\nIt works with no AI model at all. You can optionally connect Ollama, LM Studio or a cloud model. Even then, the model can only propose changes, and every proposal goes through the same dry-run review.\n\nYour agents can use it too, read-only\n\nAGASTHY ships a read-only MCP server (agasthy mcp) with nine tools, and plugins for Claude Code, Codex and Cursor. Your agent can ask:\n\n\"What's still running from my last session?\"\n\n\"What's on port 3000?\"\n\n\"How many tokens did I use this week?\"\n\nIt can't change anything. Agents can look, never touch. Every change stays in the app, behind a review.\n\n/plugin marketplace add HMAKT99/Agasthy # Claude Code\n\nPrivate by design\n\nTry it in one line\n\ncurl -fsSL [https://raw.githubusercontent.com/HMAKT99/Agasthy/main/install.sh](https://raw.githubusercontent.com/HMAKT99/Agasthy/main/install.sh) | sh\n\nThe script verifies checksums and needs no admin rights. You can also download the DMG, AppImage or Windows installer ([https://github.com/HMAKT99/Agasthy/releases/latest](https://github.com/HMAKT99/Agasthy/releases/latest)).\n\nIt's built in Rust (Tauri 2) with a React UI, and released under Apache-2.0.\n\nWhat I'd love from you\n\nIt's early, about a week public. If you run coding agents, try it and tell me:\n\n👉 [https://github.com/HMAKT99/Agasthy:](https://github.com/HMAKT99/Agasthy:) a ⭐ helps more people find it.", "url": "https://wpnews.pro/news/my-coding-agents-were-leaving-a-mess-on-my-mac-windows-laptops-so-i-built-a-tool", "canonical_source": "https://dev.to/arun_kt_bb670b3a571f5efd8/my-coding-agents-were-leaving-a-mess-on-my-mac-windows-laptops-so-i-built-a-tool-to-see-g8g", "published_at": "2026-11-23 11:30:04+00:00", "updated_at": "2026-11-23 11:42:24.042197+00:00", "lang": "en", "topics": ["ai-agents", "ai-tools", "developer-tools", "agent-protocols", "mlops"], "entities": ["AGASTHY", "HMAKT99", "Claude Code", "Codex", "Cursor", "Gemini CLI", "Aider", "Ollama"], "also_reported_by": [], "takeaway": "AGASTHY's read-only MCP server exposes nine query tools so coding agents can check what's still running, what's on a port, or weekly token use without being able to change anything.", "recommendation": null, "alternates": {"html": "https://wpnews.pro/news/my-coding-agents-were-leaving-a-mess-on-my-mac-windows-laptops-so-i-built-a-tool", "markdown": "https://wpnews.pro/news/my-coding-agents-were-leaving-a-mess-on-my-mac-windows-laptops-so-i-built-a-tool.md", "text": "https://wpnews.pro/news/my-coding-agents-were-leaving-a-mess-on-my-mac-windows-laptops-so-i-built-a-tool.txt", "jsonld": "https://wpnews.pro/news/my-coding-agents-were-leaving-a-mess-on-my-mac-windows-laptops-so-i-built-a-tool.jsonld"}}