Our take
Activeregular commits- Activity
- 35
- Community
- 12
- Issues
- 21
- Pull requests
- 62
+0 stars in the last 30 days
- Fewer contributors than 86% of the projects we track
This is a focused, actively maintained session-memory tool with broad coding-agent coverage, but its development is highly concentrated in one contributor and it has no releases in the past year.
Good fit if
- You use one or more of the six supported coding tools and want their session history searchable from a shared index.
- You can provide an OpenAI API key and meet the Node.js 22 or later requirement.
- You want local SQLite storage, or are prepared to configure PostgreSQL and pgvector for cross-machine sharing.
Look elsewhere if
- You need a released version to pin to, rather than relying on an actively changing project with no recent releases.
- Your environment cannot use OpenAI embeddings or the required Node.js runtime.
- Your coding tool is not among the supported integrations listed in the project documentation.
All health signals
| Last commit | 2026-10-23 (6 days ago) |
|---|---|
| Commits, last 90 days | 12 |
| Releases, last 12 months | 0 |
| Contributors | 2 (top contributor: 98% of commits) |
| Issues closed, last 90 days | 0 |
| Pull requests merged, last 90 days | 5 (typically merged in 0 days) |
| Project age | 8 months |
Checked on 2026-10-30 with the GitHub API.
Project history
Daily GitHub snapshots since Oct 7, 2026. History covers stars and forks; health signals are not tracked historically.
Stars
20Forks
2Change since Nov 13, 2026: 0 stars·0 forks
Overview
code-session-memory is a TypeScript tool for automatically indexing and searching AI coding-agent sessions. It uses OpenAI embeddings, with text-embedding-3-large as the default model, to make conversations from OpenCode, Claude Code, Cursor, VS Code, Codex, and Gemini CLI semantically searchable through an MCP server, CLI, or web UI. Sessions from these tools share one database.
The default storage is a local SQLite database using sqlite-vec. An optional PostgreSQL and pgvector backend supports sharing indexed memory across machines. The project is aimed at developers who want an agent, or themselves, to retrieve useful decisions and solutions from earlier coding sessions without manually maintaining notes.
Key Features
- Automatically indexes new messages after an agent turn and skips previously indexed messages.
- Supports OpenCode, Claude Code, Cursor, VS Code, Codex, and Gemini CLI sessions in one database.
- Provides semantic session search through MCP tools and a command-line query interface, with source, project, and date filters.
- Includes an interactive CLI for browsing, printing, deleting, and compacting sessions into restart summaries.
- Offers a web dashboard for search, session browsing, status, and session and model analytics.
- Uses SQLite with sqlite-vec by default, or PostgreSQL with pgvector for centralized, multi-machine storage.
- Includes transcript parsers, analytics, and tests for the supported session sources.
Use Cases
- A developer using several coding agents can search prior conversations for an implementation decision without remembering which tool or session contained it.
- An agent can retrieve earlier solutions or project context through MCP when responding to questions about past work.
- A developer restarting work after a long session can generate a structured summary of context, decisions, progress, and unresolved issues.
- A team or individual working across multiple machines can configure PostgreSQL and pgvector to centralize indexed session memory.
What you need
Detected in the repository
- Node.js >=22.0.0 (from package.json)
- A test suite
Getting Started
Install the detected tool integrations with:
npx code-session-memory install
Set OPENAI_API_KEY, then restart the supported coding tools. See the README for environment setup, backend options, and usage details.
License in Plain Words
No standard license was detected. Without a license, the default copyright rules apply: you may read the code, but not reuse it. Check the repository or ask the authors.
Alternatives
- Agent-Memory: It captures and retrieves coding-agent session activity across similar tools, while code-session-memory indexes sessions with OpenAI embeddings in SQLite or PostgreSQL.
- a-mem-mcp: It builds a connected, self-evolving project-knowledge graph in ChromaDB and is tested with Claude Code, rather than indexing sessions across multiple agents.
| Project | Language | License | Stars | Status |
|---|---|---|---|---|
| code-session-memory | TypeScript | – | 20 | Active |
| Agent-Memory | – | Apache-2.0 | 9 | Quiet |
| a-mem-mcp | Python | MIT | 35 | Quiet |
Considerations
- Indexing and semantic queries require an OpenAI API key; the default embedding model is
text-embedding-3-large. - The project requires Node.js 22 or later. PostgreSQL is optional, but using it requires a configured PostgreSQL database with pgvector.
- The project is young, has no releases in the past year, and recent development is concentrated mostly in one contributor. Recent commits indicate ongoing work, but the small contributor base is relevant when assessing continuity and support.
- The README states an MIT license, while the repository metadata supplied for this analysis does not include a license field. Verify the repository’s license file before relying on its terms.
- Indexed conversation content is stored in the configured database. Consider what session data you want to retain and who can access a centralized backend before adopting it across machines.
Found this useful?
Share it with someone who would like code-session-memory.