SuperAPI AI Directory

memory-v.2-alpha

Memory v2.1 is a local-first long-term memory system for AI agents and long-running projects. It uses a single SQLite database file to store projects, conversation branches, messages, and persistent facts, with no cloud account, no vendor lock-in, and no telemetry. The core API, MCP server, Web UI, and offline installers are all available and tested, and the current version is 2.1.0-alpha.4. It supports a project→branch→message hierarchy, persistent memories (with importance, confidence, status, and supersession links), message source fingerprints and revision history, full-text search (SQLite FTS5 plus Russian morphology), idempotent archiving, a Web admin interface, a server for MCP clients such as Claude Desktop and Cursor, browser extensions (Chrome/Edge and experimental Firefox), and offline installation packages for Windows and Linux. The database is a pure SQLite file that can be copied and inspected, and by default it listens only on the loopback address, making it suitable for users who want to keep agent memory local.

Open website

About this tool

Memory v2.1 is a local-first long-term memory system designed for AI agents and long-running projects. It stores projects, conversation branches, messages, and persistent facts in a single SQLite database file, emphasizing data autonomy: no cloud account, no vendor lock-in, no telemetry. The current status is 2.1.0-alpha.4; the core API, MCP server, Web UI, and offline installers are available and tested, but there may be rough edges, so backing up the database is recommended.

Purpose and main capabilities:

  • Project→branch→message structure: a project can contain multiple branches, each of which can be restored with one click, with shared logic and search.
  • Persistent memory: stores facts, decisions, constraints, and preferences, with importance, confidence, status, and supersession links.
  • Message provenance: each message retains its original source fingerprint; edits create revisions rather than silently changing the archive; soft-deleted messages can be restored and are excluded from search.
  • Large branch support: paginated message loading, loading earlier messages, in-branch search, and jumping to a message; built-in role editing and edit history.
  • Full-text search: uses SQLite FTS5 plus Russian morphology (pymorphy3), can search memories and messages, and can optionally search within a single project.
  • Idempotent archiving: resending the same branch only appends new messages and skips duplicates.
  • Web UI: manage projects, branches, messages, memory cards, search, triggers, settings, and first-run onboarding, with no Node.js build step required.
  • MCP server: provides ten tools and supports MCP clients such as Claude Desktop, Claude Code, Cursor, Cline, Continue, Windsurf, and Zed.
  • Browser extension: saves selected text or the current page from Chrome/Edge/Chromium and Firefox (experimental), with support for the context menu, mem + Tab, or the toolbar popup.
  • Offline installers: Windows and Linux packages include Python 3.12 and all wheels, require no internet during installation, and show a status window/stage progress.
  • Local-first: SQLite file, listens only on loopback by default, no cloud services.
  • Backup and diagnostics: one-click SQLite backup API, JSON project export, log rotation, and /diagnostics.

Usage:

  • Windows: download the offline installer from Releases, extractand then run windows\install-memory.bat; the app is installed per-user to %LOCALAPPDATA%\MemoryV2, starts at login, and opens http://127.0.0.1:8002/ui/。无需管理员权限和互联网,可能显示 SmartScreen warning (the installer is not code-signed).
  • Linux: download the offline installer; the installer places the app in ~/.local/share/memoryv2, creates a user systemd service (or a nohup fallback), and starts it at http://127.0.0.1:8002/ui/ . Requires Python 3.12; the installer can install it via the system package manager, and the Python packages are bundled offline.
  • Docker: build from source, open http://127.0.0.1:8002/ui/。
  • Manual native installation (development): see README-WINDOWS.md.
  • The API listens on 127.0.0.1:8002 by default; if MEMORY_API_TOKEN is empty, only loopback clients are accepted. The setup wizard offers language selection (Russian/English), optional AI agents, and browser extension installation.
  • Browser extension: included in the offline installer and first-run wizard, and also available for separate download from Releases. Chrome/Edge/Chromium require developer mode and loading the unpacked memory-v2-extension folder; Firefox is experimentally supported and requires temporary loading or AMO signing submission.
  • The MCP server is located in mcp/, communicates over stdio and uses the Memory HTTP API; it does not open SQLite files directly. It is published as the PyPI package memory-v2-mcp. For client configuration, see mcp/README.md and mcp/examples/.
  • Interactive API reference:http://127.0.0.1:8002/docs。归档请求幂等,使用稳定的 external_id. The SQLite FTS5 index is kept in sync by triggers; see migrations/schema.sql for the schema.

Use cases: Suitable for individuals or teams that need to keep agent memory local, especially long-running projects, multi-branch conversation management, and scenarios requiring inspectable archives and full-text search. Also suitable for users integrating into existing AI clients via MCP.

Limitations and caveats:

  • Currently an alpha version; rough edges may exist, and backing up the database is recommended.
  • Not a vector store, nor an agent framework, but a small inspectable archive queryable via MCP.
  • If exposing the API to the LAN, set MEMORY_API_TOKEN and use an HTTPS reverse proxy; never expose an unauthenticated instance to the internet.
  • The connector redacts common token patterns before archiving, but this is not guaranteed to be complete; do not put secrets in prompts or conversation text.
  • Keep backups and restrict file permissions.
  • The Firefox extension is experimental; permanent installation requires AMO signing.
  • The current Windows installer is not code-signed.
  • The license is MIT and may switch to Apache-2.0 before the stable release.
  • Details of other projects change quickly; consult their documentation. The focus here is the trade-off: hosted services offer convenience and sync, while Memory v2 offers files you own, no account, and no network dependency.