Privacy choices: we'd like to measure visits anonymously (our own cookie-free counter plus Google Analytics, which sets its own cookies; no ads) and load Beehiiv's newsletter sign-up, which may set its own cookies. Nothing optional runs until you choose. Privacy policy

AgentScout / memory & RAG / LongMemory
memory & RAGOpen sourceAdded Oct 19, 2026

LongMemory logoLongMemory

No ratings yet★ Rate this tool

Local-first memory engine for agents that keeps durable, time-aware memories in SQLite and serves them to Claude, Copilot, Codex and others over MCP, CLI or HTTP.

Updated

✨ Try AgentScout's free AI image generator →

Good for: coding in the terminal, connecting tools with MCP, memory for agents, running agents locally

Use cases

Get featured

About LongMemory

LongMemory is listed in our memory & RAG category and is aimed at builders. Local-first memory engine for agents that keeps durable, time-aware memories in SQLite and serves them to Claude, Copilot, Codex and others over MCP, CLI or HTTP. Pricing, as the maker states it: Open source. Maturity: Active. We last checked the official link on 2026-12-01.

What is LongMemory?

LongMemory is a local-first memory engine for LLM applications and autonomous agents. It stores durable memories in SQLite with immutable content, provenance and temporal history, so an agent can recall what was true at a given time rather than just the nearest vector match.

One TypeScript engine is exposed through an npm library, a CLI, an HTTP server, an MCP server, a dashboard and a VS Code extension, with a Python SDK and integrations for agent hosts. Recall modes include strict, historical, associative and grounded, with explainable evidence selection and token-bounded context.

Sources: the official README and our directory listing, checked 2026-11-08. Official site: cavira.app/projects/longmemory.

Who is LongMemory for?

Developers who want self-hosted, auditable long-term memory for agents and coding assistants without a separate vector database service.

LongMemory at a glance

  • Open source: Yes (Apache-2.0)
  • GitHub: CaviraOSS/LongMemory · 4,606 stars (as of Dec 2, 2026)
  • Status: Latest release v1.3.0 (2025-12-20)

Key features

  • Durable local-first storage in SQLite
  • Temporal truth and provenance for every memory
  • Strict, historical, associative, grounded and multilingual recall
  • Token-bounded, explainable context selection
  • Library, CLI, HTTP, MCP, dashboard and VS Code extension
  • Python SDK and agent-host integrations

LongMemory FAQ

What is LongMemory?

LongMemory is a local-first memory engine for LLM applications and autonomous agents. It stores durable memories in SQLite with immutable content, provenance and temporal history, so an agent can recall what was true at a given time rather than just the nearest vector match.

Who is LongMemory for?

Developers who want self-hosted, auditable long-term memory for agents and coding assistants without a separate vector database service.

Is LongMemory free?

LongMemory's pricing, as the maker states it: Open source. Open-source tools are free to use, though you may still pay for model API usage or a hosted plan. Check the official site for current plans.

Is LongMemory open source?

Yes. LongMemory is released under Apache-2.0, according to its GitHub repository.

Does LongMemory need an external database?

No. It runs in memory with no service, or persists to a local SQLite file.

What are alternatives to LongMemory?

Similar tools include Claude-Mem, xerj, ai-memory, Graphicle, EverOS and Second Brain.

LongMemory ratings and reviews

No ratings yet. Be the first to review LongMemory.

Be the first to rate LongMemory: tap 1 to 5 stars below. A written review is optional.

Your rating of LongMemory

LongMemory alternatives

Other memory & RAG tools in our directory. See all memory & RAG tools →

Claude-Mem logo

Claude-Mem

Claude-Mem is an Apache-2.0 memory plugin for coding agents that records what the agent does during a session, compresses those observations with AI, and feeds the relevant context back into later sessions, so the agent does not start from zero each time. It works with Claude Code, Codex, Gemini CLI, Copilot, OpenCode, OpenClaw, Hermes and others, stores memory locally, and includes search tools for looking back through past work.

xerj logo

xerj

A local-first search engine and MCP server for agents: one Rust binary indexes code, docs, logs, CSV/JSONL and PDFs for full-text, vector and hybrid search plus agent memory, behind an Elasticsearch-compatible API.

ai-memory logo

ai-memory

Fabio Akita's open-source long-term memory layer for coding agents: one Rust binary that keeps plain-markdown project memory and typed handoffs shared across 20+ harnesses such as Claude Code, Codex, Cursor and Gemini CLI, so you can switch agents, machines or teammates without re-explaining the project.

Graphicle logo

Graphicle

Graphicle, from KarLex AI, is a single local Rust program that gives Claude Code, Cursor, Codex and other MCP agents a code graph and memory, returning excerpts with file and line references from your code, docs and past sessions, with no account or telemetry.

EverOS logo

EverOS

Local-first, portable memory layer for AI agents stored as Markdown.

Second Brain logo

Second Brain

A free, open-source shared memory that runs in your own Cloudflare account, so Claude, ChatGPT, Cursor and other MCP clients can recall the same projects, preferences and decisions.