code-session-memory vs cortex-mem

AI memory and search projects compared

code-session-memory indexes conversations from supported coding agents for semantic search and session handoffs. cortex-mem provides a broader memory framework for AI applications, with structured memory extraction, durable storage, and retrieval; they differ mainly in whether memory centers on coding-session history or general agent memory.

code-session-memorycortex-mem
LanguageTypeScriptRust
License—MIT
Stars20311
Forks224
Last analyzedOct 30, 2026Oct 3, 2026

Key differences

  • code-session-memory focuses on searching and summarizing coding sessions across supported tools, while cortex-mem extracts and organizes long-term memories for AI agents and applications.
  • code-session-memory is written in TypeScript; cortex-mem is written in Rust.
  • code-session-memory defaults to local SQLite and offers PostgreSQL with pgvector for shared storage; cortex-mem stores Markdown in a virtual filesystem and uses Qdrant for semantic search.
  • code-session-memory offers a CLI, MCP server, and web dashboard; cortex-mem also provides a REST API, Rust integration options, and tenant-aware memory spaces.
  • Both projects use the MIT license and are not archived; the supplied figures list 20 stars and 2 forks for code-session-memory, and 311 stars and 24 forks for cortex-mem.

Choose code-session-memory if you…

  • need semantic search across past conversations from supported coding agents.
  • want a compact handoff summary from a previous coding session.
  • prefer local SQLite by default, with PostgreSQL and pgvector available for sharing memory across machines.
Read the code-session-memory analysis →

Choose cortex-mem if you…

  • are building an AI agent or application that needs persistent, organized memories beyond coding-session transcripts.
  • want layered memories with concise summaries and detailed content, stored as Markdown.
  • need access through a REST API or Rust integration, alongside CLI and MCP 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.