NanoFlow-io

NanoFlow-io / engram

Public

🧠 Hybrid long-term memory plugin for OpenClaw agents — SQLite+FTS5 for structured facts, LanceDB for semantic recall

29
0
85% credibility
Found May 25, 2026 at 31 stars -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
TypeScript
AI Summary

Engram is a memory plugin that gives AI assistants a persistent, hybrid memory system combining fast exact search with intelligent semantic recall, so they remember facts and preferences across all conversations.

How It Works

1
🔍 Discovering Engram

You hear about a tool that gives your AI assistant a memory that never forgets between conversations.

2
Installing the memory plugin

With one simple command, the memory system installs itself and connects to your AI assistant automatically.

3
💬 Having a conversation

You casually mention preferences and facts during a chat — like preferring dark mode or your favorite coffee order.

4
🌙 Coming back later

The next day, you return to chat with your AI assistant about something completely different.

5
🧠 The assistant remembers

When you ask what you discussed before, the assistant recalls your preferences and facts without any prompting.

A smarter assistant

Your AI assistant now feels truly personal — it knows you, remembers your choices, and picks up conversations where you left off.

Sign up to see the full architecture

4 more

Sign Up Free

Star Growth

See how this repo grew from 31 to 29 stars Sign Up Free
Repurpose This Repo

Repurpose is a Pro feature

Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.

Unlock Repurpose
AI-Generated Review

What is engram?

Engram is a memory plugin for OpenClaw agents that gives them persistent recall across sessions. It solves the classic problem of AI assistants forgetting everything between conversations by storing facts in two complementary backends: SQLite with FTS5 for fast, exact structured lookups, and LanceDB for semantic vector search when you need fuzzy, meaning-based recall. Every memory gets written to both stores and results are merged intelligently. The plugin exposes tools like memory_recall, memory_store, and memory_forget that agents can call naturally. It runs locally, uses OpenAI embeddings, and includes decay classes so old or low-confidence memories fade away automatically.

Why is it gaining traction?

The hybrid approach is the hook. Most memory systems force you to choose between exact keyword matching and semantic similarity. Engram does both, which matters when an agent needs to recall "my API key is stored in env" (exact) versus "what did I decide about the database stack?" (semantic). The decay system is clever too: permanent facts like birthdays stay forever, while session-level notes expire in hours. This github hybrid rag approach means you get the precision of structured storage with the flexibility of vector search in one package. The CLI is practical for debugging and maintenance without touching the database directly.

Who should use this?

Developers building OpenClaw agents who need their assistants to remember user preferences, project decisions, and context across sessions. If you've been manually re-explaining your codebase or coding style to every new agent session, this eliminates that friction. Teams using AI assistants for complex, multi-session work will benefit most. Early adopters comfortable with new projects will get the most value, since the ecosystem is still forming.

Verdict

A well-designed concept with a credibility score of 0.85% and only 29 stars, this is a young project that shows promise but lacks community validation and battle-testing. The TypeScript implementation is clean and the feature set is thoughtful, but test coverage and documentation depth are unclear. Worth evaluating for OpenClaw-based workflows, but wait for more maturity unless you enjoy bleeding-edge tooling.

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.