Damocles — An MIT Open Source VS Code Extension for Pi Agent

I built **Damocles**, an open source (MIT) VS Code extension: a full webview AI coding agent in your editor, running natively on the [**pi**](https://github.com/earendil-works/pi) **agent engine**. Multi provider in one dropdown, selectable per panel: Anthropic (Opus 4.8, Sonnet 5, Haiku 4.5), OpenAI Codex (gpt-5.5), StepFun, and DeepSeek.

**Highlights:**

* **Persistent memory** in `node:sqlite` / FTS5, no WASM or native modules. Facts, preferences, and observations survive compactions and sessions; a ranked catalog is injected per prompt and auto extracted during idle * **Compass:** a workspace knowledge graph via `tree-sitter` across 15 languages. Query callers, importers, blast radius, dead code, and test gaps; interactive D3 view * **Diff approval, tool and subagent visualization** with full screen overlays and live progress * **Plan mode:** the agent writes a markdown plan in vertical slices for your review * **Agent Teams:** 2 to 5 specialists collaborate against a shared brief, with 79 bundled profiles * **Damocles Browser:** headless Chromium with CDP automation and an element picker * **File checkpointing:** rewind conversation and workspace, or fork into a new panel * Web tools, hooks, MCP management, multi panel sessions, and more

**Free and open source (MIT)**

* VS Code: [https://marketplace.visualstudio.com/items?itemName=Aizenvolt.damocles\](https://marketplace.visualstudio.com/items?itemName=Aizenvolt.damocles) * Open VSX: [https://open-vsx.org/extension/Aizenvolt/damocles\](https://open-vsx.org/extension/Aizenvolt/damocles) * Source: [https://github.com/AizenvoltPrime/damocles\](https://github.com/AizenvoltPrime/damocles)

Posted Jul 9, 2026, 7:56 PM UTC

10
Loading comments…