Back to directory

Zengram

A shared memory system that lets multiple AI agents, such as Claude Code running on different machines, store and recall facts, decisions and status through one Postgres-backed store.

Zengram

Zengram gives separate AI agent sessions, for example Claude Code on a laptop and an autonomous agent on a server, access to the same memory, so something one agent learns can be recalled by another without re-explaining it. Memory is typed: events are immutable history, facts upsert by key so a new fact supersedes an old one, statuses track current state, and decisions record a choice with its reasoning, each with its own decay and mutation rules.

Everything is stored in one Postgres database using pgvector for semantic search alongside structured tables for exact queries, and a search runs up to three retrieval paths in parallel, vector similarity, full-text search and an optional entity-graph expansion, fused with weighted reciprocal rank fusion. An optional cross-encoder reranking step can then re-score the fused results, with the project reporting roughly double the ranking quality on its own bilingual production data when enabled.

More in Agent memory

See all 450
  • A long technical guide to AI agent memory: why stateless LLMs need it, the different memory architectures from vector stores to knowledge graphs, and how Cognee implements one as an open-source memory layer.

  • A local, file-based long-term memory layer for a personal AI that never summarizes conversations, keeping every line with a timestamp and searching by time first and words second, rather than retrieving only similar-seeming chunks.

  • NEOTH

    deepwiki.com

    A local-first personal AI daemon in Rust with five memory tiers, consent-gated tools, a WASM plugin sandbox, multi-provider model routing and signed audit logs, aimed at people who want both a daily assistant and a serious coding helper.