LongMemory
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
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-10-19.
LongMemory at a glance
- Category: Memory & RAG
- Built for: Developers and teams building with AI agents
- Pricing: Open source (as the maker states it)
- GitHub: CaviraOSS/LongMemory · 4,541 stars (as of Oct 19, 2026)
- Official site: cavira.app/projects/longmemory
- Listed on AgentScout: Oct 19, 2026
LongMemory FAQ
What is LongMemory?
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.
How much does LongMemory cost?
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.
Where can I find LongMemory's source code?
On GitHub at CaviraOSS/LongMemory, which had 4,541 stars as of Oct 19, 2026.
What are alternatives to LongMemory?
Similar tools include Cognee, Graphiti, EverOS, Supermemory, MemPalace and Basic Memory.
Facts from our link-checked listing, the GitHub repository and the official site. See something wrong? Suggest an edit.
LongMemory ratings and reviews
LongMemory alternatives
Other memory & RAG tools in our directory. See all memory & RAG tools →
Cognee
Open-source memory platform that builds knowledge graphs so agents keep long-term memory.
Graphiti
Builds real-time, temporal knowledge graphs that serve as memory for AI agents.
EverOS
Local-first, portable memory layer for AI agents stored as Markdown.
Supermemory
Memory and context engine for agents with an API, app and MCP server, which can also run fully locally.
MemPalace
Local-first AI memory system that stores conversations verbatim with a pluggable backend and serves recall to agents without API calls.
Basic Memory
Persistent memory for Claude, Codex and Cursor stored as local Markdown knowledge, available open source or as a hosted cloud workspace.
Related lists
🏆 Ranked in: MCP servers that work with Codex · MCP servers that work with Claude Code
🔁 Listed in: MemPalace alternatives
🧭 Task guides: Local and self-hosted tools for terminal coding · Local and self-hosted tools for agent memory
Badge for makers
Built LongMemory? Add this badge to your README or site. It links back to this page. About badges