engram vs cortex-mem

Persistent memory for AI agents compared

engram and cortex-mem both help AI systems retain and retrieve useful information across sessions. engram focuses on curated project knowledge with local SQLite storage, while cortex-mem combines file-based memory, LLM extraction, and semantic search for agents and applications.

engramcortex-mem
LanguageGoRust
LicenseMITMIT
Stars7k311
Forks72424
Last analyzedOct 3, 2026Oct 3, 2026

Key differences

  • engram is written in Go and stores memories in SQLite with FTS5; cortex-mem is written in Rust and stores Markdown in a virtual filesystem with vector search.
  • engram emphasizes project decisions, conventions, and handoffs; cortex-mem supports structured extraction and layered memory for user and conversation context.
  • engram defaults to local storage and offers optional Git Sync or Cloud replication; cortex-mem uses Qdrant and compatible LLM and embedding services.
  • Both provide CLI and MCP access, while engram also offers an HTTP API and terminal UI, and cortex-mem offers a REST API, Rust integration, and Svelte dashboard.
  • Both use the MIT license and are not archived; the supplied facts list 7k stars for engram and 311 for cortex-mem.

Choose engram if you…

  • need locally stored project knowledge backed by SQLite.
  • want memory access through MCP, a CLI, an HTTP API, or a terminal UI.
  • prefer to make sharing optional through Git Sync or Cloud replication.
Read the engram analysis →

Choose cortex-mem if you…

  • need semantic search, metadata filtering, and layered memory summaries.
  • want LLM-based extraction and automated memory indexing and updates.
  • are building an AI application and want REST API or Rust integration options.
Read the cortex-mem analysis →

Compare the numbers side by side, or add more projects

This comparison is generated with AI from the OSRepos analyses of both projects. Always check each project's repository and documentation before choosing.