
Building .engram— portable semantic memory for AI. Just dropped our whitepaper. Founder @Terronex
USA
Joined February 2026
- Tweets105
- Following152
- Followers42
- Likes84
Terronex.dev retweeted
We built a neural memory format that stores, indexes, and searches memories in a single portable file.
@terronex/engram is a TypeScript library that gives any application persistent semantic memory. One .engram file holds everything: text, embeddings, HNSW indices, metadata, temporal decay tiers, and parent-child hierarchies.
Numbers from production testing:
- 1.6ms average recall across 4,076 memories
- 609 queries/sec sustained throughput
- 96.5% accuracy on 399 diverse semantic queries
- 26MB brain file loads in 1.04 seconds
- P95 latency: 2ms. P99: 7ms
- Zero crashes on adversarial inputs
The theory: most AI memory systems treat storage as an afterthought. They bolt a vector database onto an LLM and call it memory. We went the other way. We designed a file format first — a single self-contained binary that holds everything a memory system needs, including the search index itself.
The .engram format uses HNSW (Hierarchical Navigable Small World) graphs for approximate nearest neighbor search. For datasets under 100 nodes, it falls back to brute-force cosine similarity because HNSW needs graph connectivity to work reliably. This dual-mode approach means it works correctly from 1 memory to 1 million.
Each memory has temporal decay tiers (hot/warm/cold/archive) modeled after the Ebbinghaus forgetting curve. Recent memories are vivid. Old ones fade. Frequently accessed memories stay hot. This isn't cosmetic — it directly affects search relevance scoring.
The format supports text, images, audio, code, and summaries. Parent-child hierarchies let you organize memories into trees. Tags, custom metadata, quality scores, and timestamps are all first-class.
Currently v1.0.4 on NPM. 1,443 lines of TypeScript. 28/28 tests passing. MIT license.
npm install @terronex/engram
terronex.dev/engram
github.com/Terronex-dev/engr…
npmjs.com/package/@terronex/…
Terronex.dev retweeted
Every retweet of this post will equal a dollar given to children with Leukemia.
🦞 OpenClaw 2026.2.12 is out!
🔥 GLM-5 + MiniMax M2.5
💬 IRC channel — your bot fits right in with the old guard
🛡️ 40+ security fixes
📦 Custom provider onboarding, compaction improvements & more
Your agent called. It wants an upgrade.
github.com/openclaw/openclaw…



