openmemory

A local, self-hosted long-term memory store for AI agents and LLM apps such as Claude Desktop and Copilot. It lets assistants keep and retrieve information across sessions.

Share on XLicense: Apache-2.0

Overview

LongMemory, formerly listed as OpenMemory, is a local-first, self-hosted memory engine for AI agents and LLM applications. It stores information in SQLite and lets an assistant keep and recall facts across sessions, so the application does not start from nothing each time. It ships as one TypeScript engine with an npm library, CLI, HTTP server, MCP support, dashboard and VS Code integration.

Key features

  • Durable local storage on SQLite
  • Recall modes including strict, historical and associative
  • Explainable evidence selection with token-bounded context
  • Available as npm library, CLI, HTTP, MCP and dashboard
  • In-memory use needs no service or external database

Best for

Developers who want persistent, self-hosted memory for agents and tools such as Claude Desktop or Copilot without running a separate database service.

Upstream
CaviraOSS/LongMemory
Fork on GitHub
Guo-astro/openmemory
Upstream stars
4.5k
Category
AI agents and LLM tools
Language
TypeScript
License
Apache-2.0
Forked
2025-11-23
Sync status
In syncLast synced 2026-09-29