Back to browse
GitHub Repository

A brain-inspired, portable context database for AI agents

11 starsPython

Engram — a brain-inspired context database for AI agents

by oldschoolai·Mar 8, 2026·2 points·1 comment

AI Analysis

●●SolidBig BrainShip It

Multi-agent-safe memory with reinforcement—beats append-only summaries but early v0.1.

Strengths
  • Multi-agent safe delta operations with advisory locks prevent context collision
  • Bullet-based atomic units with usage tracking enable learned strengthening of useful context
  • LLM-agnostic architecture works across Claude, GPT, Gemini, local models
Weaknesses
  • V0.1.0 status: APIs stabilized but battle-tested evidence missing, no perf benchmarks yet
  • Memory learning loop unproven—reinforcement on context quality is a hypothesis, not validated
Category
Target Audience

AI engineers building long-running agents, multi-agent systems, LLM application developers

Similar To

LangSmith · Langchain Memory · Mem0

Post Description

Hi HN,

I’ve been working on Engram, a persistent context layer for AI agents and LLM sessions.

The inspiration came from a simple problem: when you work with LLMs for a long time, context collapses. Conversation history gets too long, summaries drift, and models forget or mix up earlier decisions. It becomes even worse when multiple agents or different models are involved.

Engram is an attempt to treat AI memory more like how human memory works: * knowledge is stored incrementally * related concepts reinforce each other * context is reconstructed when needed rather than replaying the entire past

Instead of storing conversations as raw text or chunks, Engram commits information into a persistent context structure and then materializes the relevant pieces when a model needs them.

Some other capabilities built so far: * multi-agent updates to the same context * evolving knowledge instead of append-only memory * context reconstruction across long sessions * working across models (e.g. start in ChatGPT, continue in Claude)

Repo: https://github.com/softmaxdata/engram

Would love feedback from people building agents or long-running AI workflows. Happy to answer questions or run experiments people suggest.

Similar Projects

AI/ML●●●Banger

Claude-engram – Brain-inspired persistent memory, runs inside Claude.ai

Hippocampal memory model for Claude runs entirely in-browser, no API—genuinely novel architecture.

Big BrainZero to One
mlapeter
624mo ago
AI/ML●●Solid

AgentKeeper – cognitive persistence layer for AI agents

Cross-provider agent memory is clever, but LLM context windows keep growing and RAG is already standard.

Solve My ProblemShip ItBig Brain
thinklanceai
303mo ago