Show HN: Engrim – A universal, local-first SQLite memory engine for AI CLIs Engrim, a universal local-first SQLite memory engine for AI CLIs, has been released on Hacker News, claiming to preserve project decisions and state across model switches with a 99%+ reduction in reloaded context cost. The tool, tested across 105 continuous sessions on a 50,000-line algorithmic trading system with zero regressions, integrates with Google Antigravity, Claude Code, Cursor MCP, and Windsurf, and is installable via pip. The Universal Cross-Model & Cross-Agent Episodic Memory Store. A local-first, project-scoped SQLite memory engine that allows developers to freely switch between models and environments Google Antigravity , Claude Code , Cursor MCP , Windsurf on the SAME project without losing architectural decisions, user constraints, or project state. "Why pay for 200,000 tokens of forgotten noise on every turn? The models are disposable utilities; your project's decisions are not." As context windows scale to 1M+ tokens, developers face attention dilution : reasoning degrades, cost multiplies with every conversational turn, and clearing context causes total amnesia. engrim replaces attention dilution with 4,000 characters of curated episodic working memory : - Switzerland of AI Memory : Decouples project intelligence from any single AI vendor or proprietary cloud silo. Switch from Gemini 3.8 in Antigravity to Claude 3.7 Sonnet in Claude Code to GPT-4o in Cursor mid-project — your agents pick up right where the others left off. - Save Button for Autonomous Coding : Externalize decisions, constraints, and state as you work. Clear your agent session freely /clear and watch context reload intact. - Smart, Hot Context Loading : Combines SQLite FTS5 bm25 keyword search with static vector embeddings model2vec in a zero-latency hybrid reciprocal-rank fusion engine. Tested across 105 continuous sessions on a 50,000-line algorithmic trading system. Zero regressions across 186 unit tests, zero context amnesia across model switches. In production testing on an active algorithmic trading codebase running real capital: - Over 153,000 tokens of work across days of architecture, parameter tuning, and debugging was consolidated into an active memory pack under 1,000 tokens <1% of the context window . - That is a 99%+ cut in reloaded context cost on every session restart. - Seamlessly switched between Google Antigravity CLI, Claude Code, and Cursor MCP on identical repos with zero model drift or architectural regression. graph TD subgraph Agents "Supported Agent Environments" AGY "Google Antigravity