AI tools · agent memory system
Engrim
Hacker Approved
Open-source local memory engine for AI agents, built on SQLite, with local embeddings and no API key or external service needed. Critics note it is still limited by effective context size.
Summarized from 31 comments.
Open-source local memory engine for AI agents, built on SQLite, with local embeddings and no API key or external service needed. Critics note it is still limited by effective context size.
- recommend
- 21
- criticize
- 0
- months recommended
- 4 of 13
Why people love it
Local-first, no API key needed · 6
without requiring a vector database, an OpenAI key, or any external service
Mar 2026 · commentLocal SQLite is practically zero-latency, keeps your IP entirely private
Sep 2026 · commentLocal-first + SQLite is the right call for offline-first agent memory
Sep 2026 · commentBrain-inspired memory with decay and consolidation · 6
Instead of vector DB + semantic search, it uses models from cognitive science (ACT-R activation decay, Hebbian learning, forgetting curves)
Mar 2026 · commentmodeling things like salience, decay, and consolidation is much closer to how useful memory actually works
Feb 2026 · commentThe result is agents that remember context across sessions, learn from patterns, and forget gracefully.
Mar 2026 · commentRemembers context across sessions and agents · 4
The result is agents that remember context across sessions, learn from patterns, and forget gracefully.
Mar 2026 · commentagents that remember context across sessions, learn from patterns, and forget gracefully
Mar 2026 · commentan MCP server that gives all your agents a shared, persistent knowledge base
Apr 2026 · commentRecords decisions and their provenance · 4
tracking which agent (or human) made which decision ended up being one of the most useful parts of the whole system for me
Sep 2026 · commentseparating settled decision records from WIP state tells the new agent what was finished vs what died mid-flight
Sep 2026 · commentI especially like the provenance idea.
Sep 2026 · comment
What people warn about
Still limited by effective context size · 1
It's an improvement, but obviously you're still limited with effective context size
Sep 2026 · comment
What hackers pick instead
- MemPalacePeople recommend it as a locally managed memory layer for AI agents that retrieves past conversations well. Critics say independent end-to-end tests scored far below its retrieval benchmarks.9recommend
- GrovPeople recommend it for cutting exploration tokens and recalling past sessions for Claude Code. One user says it is rough around the edges, and it needs an API key.8recommend
- claude-memRecommended as an open-source Claude Code memory plugin that recalls past prompts and replies without many tokens. One caveat: it only records from install forward.8recommend
- LettaFree open-source agent framework with selective memory retrieval and long-context handling. Critics point to heavy dependencies and embedding API costs.8recommend
- Hippo AI agent memoryRecommended for modeling memory consolidation and decay for AI agents rather than a plain vector store. Critics question whether decay is needed.8recommend
Every quote
The 29 most detailed of 31 comments. Each links to the original.
Instead of vector DB + semantic search, it uses models from cognitive science (ACT-R activation decay, Hebbian learning, forgetting curves)
Recommends · Mar 2026 · in “Ask HN: What Are You Working On? (March 2026)”
tracking which agent (or human) made which decision ended up being one of the most useful parts of the whole system for me
Recommends · Sep 2026 · in “Show HN: Engrim – A universal, local-first SQLite memory engine for AI CLIs”
separating settled decision records from WIP state tells the new agent what was finished vs what died mid-flight
Recommends · Sep 2026 · in “Show HN: Engrim – A universal, local-first SQLite memory engine for AI CLIs”
modeling things like salience, decay, and consolidation is much closer to how useful memory actually works
Recommends · Feb 2026 · in “Show HN: Claude-engram – Brain-inspired persistent memory, runs inside Claude.ai”
The result is agents that remember context across sessions, learn from patterns, and forget gracefully.
Recommends · Mar 2026
Routine operations evict from a circular buffer. Errors, breakthroughs, and novel work persist.
Recommends · Mar 2026 · in “Engram – salience-gated memory for Claude Code (captures what matters)”
agents that remember context across sessions, learn from patterns, and forget gracefully
Recommends · Mar 2026 · in “OpenPawz Engram biologically-inspired memory architecture for AI agents”
It's an improvement, but obviously you're still limited with effective context size
Mixed · Sep 2026 · in “Show HN: Engrim – A universal, local-first SQLite memory engine for AI CLIs”
an MCP server that gives all your agents a shared, persistent knowledge base
Recommends · Apr 2026 · in “I built a multi-agent memory consistency layer after the Claude Code leak”
without requiring a vector database, an OpenAI key, or any external service
Recommends · Mar 2026 · in “Show HN: Engram – open-source persistent memory for AI agents (Bun and SQLite)”
The consolidation and contradiction detection features are smart additions
Recommends · Mar 2026 · in “Show HN: Engram – Persistent memory for AI coding agents (open source)”
Local SQLite is practically zero-latency, keeps your IP entirely private
Recommends · Sep 2026 · in “Show HN: Engrim – A universal, local-first SQLite memory engine for AI CLIs”
I've been using for months to allow LLM agents to have task management.
Recommends · Mar 2026 · in “Engram – A distributed memory system for AI agents, with extensible architecture”
Local-first + SQLite is the right call for offline-first agent memory
Recommends · Sep 2026 · in “Show HN: Engrim – A universal, local-first SQLite memory engine for AI CLIs”
local embeddings without needing an API key is the right call
Mixed · Mar 2026 · in “Show HN: Engram – open-source persistent memory for AI agents (Bun and SQLite)”
Single binary, single .brain file, no external dependencies.
Recommends · Mar 2026 · in “Engram – AI memory engine: knowledge graph, search, reasoning in one binary”
I especially like the provenance idea.
Recommends · Sep 2026 · in “Show HN: Engrim – A universal, local-first SQLite memory engine for AI CLIs”
Decision summaries look really cool
Recommends · Sep 2026 · in “Show HN: Engrim – A universal, local-first SQLite memory engine for AI CLIs”
I like this local-first concept.
Recommends · Sep 2026 · in “Show HN: Engrim – A universal, local-first SQLite memory engine for AI CLIs”
Engram uses three strategies in parallel: vector embeddings (nomic-embed-text via Ollama, local-first), BM25 keyword, and temporal recency
Recommends · Mar 2026 · in “Anchor Engine – deterministic semantic memory for LLMs, <1GB RAM runs on a phone”
Because the Codex CLI supports the Model Context Protocol (MCP) and lifecycle hooks, it actually worksperfectly out of the box.
Recommends · Sep 2026 · in “Show HN: Engrim – A universal, local-first SQLite memory engine for AI CLIs”
the real value now with engrim is if you are using multiple services, your project is relevant when switching services
Recommends · Sep 2026 · in “Show HN: Engrim – A universal, local-first SQLite memory engine for AI CLIs”
Nice tool you shared, feel free to mess around with engrim and provide feedback. You may end up really liking it.
Recommends · Sep 2026 · in “Show HN: Engrim – A universal, local-first SQLite memory engine for AI CLIs”
Engram already has namespace isolation — API keys scope memory per-agent, spaces partition further within a user
Recommends · Mar 2026 · in “Show HN: Engram – open-source persistent memory for AI agents (Bun and SQLite)”
replaces attention dilution with a 4,000-character curated episodic working memory pack
Recommends · Sep 2026 · in “Show HN: Engrim – A universal, local-first SQLite memory engine for AI CLIs”
lets you reduce your token burn rate by a factor of huge magnitudes
Recommends · Apr 2026 · in “Do you ever ask "Please Claude I need this my account is kinda tokenless "”
the problem is a model problem not a systems problem
Recommends · Apr 2026 · in “The M×N problem of tool calling and open-source models”
Recall scoring got noticeably better after this.
Recommends · Mar 2026 · in “Show HN: Engram – open-source persistent memory for AI agents (Bun and SQLite)”
More useful for RAG/agent workflows.
Recommends · Mar 2026 · in “Show HN: Engram – open-source persistent memory for AI agents (Bun and SQLite)”
Counts from 1,795,640 Hacker News comments, Nov 2025 to Nov 2026. How we count · Report a mistake