AgathOS
The good guardian for your local AI agents.

Download the latest version for Windows (Intel/AMD and
ARM) and macOS (Apple chip and Intel). See Install.

All screenshots in this README show demo data, not a real PC.
Agathos is Greek for good. AgathOS is a free, open-source app for Windows and macOS
that quietly keeps watching the AI agents on your PC, warns you before they do damage, and gives
you a real stop button.
Nothing leaves your PC. No account, no cloud, no telemetry. The one thing AgathOS asks the internet is whether a
newer version is on GitHub: once a day, without any data about your PC, and one switch (Settings > Updates) turns it off.
Why
In 2025 and 2026 most real harm from AI agents on personal computers did not come from
an AI that "wanted" evil. It came from:
- poisoned packages, skills and MCP servers that stole keys and wallets
(Nx "s1ngularity", Shai-Hulud,
postmark-mcp, malicious ClawHub skills)
- agents in "allow everything" mode that wiped folders or whole drives
- hidden instructions in repos, web pages and rules files, including invisible Unicode
- local AI servers left open to the network (Ollama on
0.0.0.0:11434)
- agents that say "all tests pass" when they did not
Prompt injection is not solved, and nobody can reliably read an AI's mind. AgathOS does
not pretend otherwise. It makes every AI on your PC visible, scores the risk in plain
words, predicts the next step from the actions it sees, and limits the damage.
What it does
Six watchers
| Watcher | Looks for |
|---|
| Gatekeeper | MCP servers in every app's config: known-bad packages, unpinned versions, inline secrets, plain-http servers. Approve a server and AgathOS pins it; any later change (a "rug pull") is an alarm. Also "approve everything" settings (chat.tools.autoApprove, bypassPermissions, Codex approval_policy = "never", Grok Build permission_mode = "always-approve" or a [permission] rule that allows every shell command). Grok Build's MCP servers (~/.grok/config.toml, project .grok/config.toml) are read too. |
| File watcher | Mass deletion in your project folders (freezes the agents automatically, reversible). Model files: walks pickle opcodes itself and lists every import, inside PyTorch zips too; unreadable files count as suspicious. safetensors and GGUF are green. |
| Network watcher | AI servers listening on the network instead of only on this PC. Outgoing connections and DNS lookups of agent child processes. Worm watch: any program that knocks on 20+ devices or 15+ ports of one device in your home network within a minute (cameras, TVs, routers), the first move of a self-spreading worm. Test it safely with node test/lan-scan-sim.js. |
| Key watcher | API keys in .env files, configs and MCP definitions. ANTHROPIC_BASE_URL / OPENAI_BASE_URL pointing somewhere unexpected. |
| Trap watcher | Invisible characters (zero-width, bidi overrides, Unicode Tags) in CLAUDE.md, AGENTS.md, .cursorrules, skills and rules. Hidden Tag text is decoded and shown. Attack phrases ("ignore previous instructions", curl … | bash). |
| Process watcher | Every running agent with an ID card: PID, who started it, signature, dangerous flags (--dangerously-skip-permissions, --yolo, --always-approve, --trust-all-tools), child processes, the task it was given, what it is doing now. Agents started by npm install scripts or temp folders are flagged. |
The intent engine gives each agent a risk score from six layers, each with a reason you can read:
- Hard rules that are never learned away: disabling security, persistence, download-and-run, password hunting, mass delete, sending data out.
- The lethal trifecta (Simon Willison): untrusted input + private data + a way out. Two of three is a warning, all three is an alarm.
- Next-step prediction: per-agent transition counts plus attack-chain templates. It warns when only the last step of a chain is missing, before it happens.
- Your own baseline: what is normal for this agent on this PC.
- Honesty check: the agent's transcript (Claude Code, Codex, Grok Build) compared with what Windows saw. "All tests pass" after a failing test run, editing test files during a bug fix, risky commands that never appear in the conversation.
- Optional local AI judge through Ollama. It only sees a cleaned summary, answers in fixed JSON and can only raise a score.
