cd /news/ai-agents/zep-gives-my-agent-perfect-recall-it… · home topics ai-agents article
[ARTICLE · art-65136] src=dev.to ↗ pub= topic=ai-agents verified=true sentiment=· neutral

Zep gives my agent perfect recall. It still can't answer "average per group" about its own memory.

A developer compared Zep's temporal knowledge graph with nlqdb for agent memory, finding that while Zep excels at recall and entity resolution, it cannot perform aggregations like GROUP BY. nlqdb, which provisions a real Postgres database queried in English, handles analytical queries such as averages per group. The developer suggests using Zep for recall and nlqdb for analytical storage.

read1 min views1 publishedJul 19, 2026

Originally published at nlqdb.com/blog

If you've wired up Zep you know the pitch: it's the Context Lake — a temporal knowledge graph (Graphiti, 27k+ stars) that stores every fact your agent learns as a node with a validity window, resolves entities, and hands back the most relevant facts at query time. For recall it's genuinely good, and it publishes benchmarks (LongMemEval, DMR) to prove it. But we kept hitting the same wall. Once the agent had logged a few hundred things, we wanted to ask questions about the memory, not retrieve from it:

A knowledge graph has no query planner. It returns relevant facts and hopes the LLM does the arithmetic — which is a hallucination generator, not a GROUP BY

.

The honest split (the full side-by-side lives at nlqdb vs Zep): Zep wins on temporal validity, entity resolution, and vector recall over conversation. nlqdb wins when the agent needs to aggregate its memory — it's a real Postgres the agent provisions and queries in English, so GROUP BY / JOIN / HAVING

actually work. They compose: Zep the recall layer, nlqdb the analytical store. Pick the one that matches the question you actually need answered.

(Landscape facts verified 2026-06-19; both products' weaknesses are in the comparison, not just ours.)

── more in #ai-agents 4 stories · sorted by recency
── more on @zep 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/zep-gives-my-agent-p…] indexed:0 read:1min 2026-07-19 ·