Basic Memory logo

Basic Memory

Free

本地优先的知识管理系统,从 Markdown 文件构建语义图,实现跨对话持久记忆。

FreeFree tier
Inputs: textOutputs: text
Type
Open Source
Company
Basic Machines Co

About Basic Memory

Basic Memory is a local-first, open-source knowledge management system that gives AI persistent memory across conversations. It stores knowledge as Markdown files on your disk, builds a real knowledge graph with observations and wikilinks, and provides semantic search. It works with Claude, Codex, Cursor, ChatGPT, and any MCP-compatible client. Supports two-way sync between AI and humans, and offers optional cloud sync for teams. Licensed under AGPL-3.0.

Key Features

Local-first: Plain text Markdown files on your disk, forever.
Two-way sync: AI and humans write to the same files; sync keeps them in step.
Real knowledge graph: Observations and wikilinks compound into context.
Semantic search: Find notes by meaning, not just keywords.
MCP-native: Works with every major AI client and IDE (Claude, Codex, Cursor, ChatGPT).
Progressive tool discovery: Tools are tagged with behavior hints (read-only, destructive, idempotent) so agents pick the right tool on demand.
Optional cloud sync: Sync across devices when you want, never required.

Pros & Cons

Pros
  • Free and open-source (AGPL-3.0) for local install
  • Works with multiple AI clients and IDEs via MCP
  • Semantic search and knowledge graph provide deep context
  • Local-first: all data remains in plain text on your disk
  • Optional cloud sync enables cross-device access and team collaboration
Cons
  • Requires Python and uv tool for local installation
  • Cloud sync and Teams features are paid ($15/mo)
  • Beta software may have bugs or incomplete features
  • Knowledge graph may require manual wikilink creation for best results

Best For

Persistent memory for AI assistants across conversationsCollaborative team knowledge base with shared cloud workspacePersonal knowledge management with local-first controlContextual memory for AI agents in development workflows

FAQ

How does Basic Memory work?
Basic Memory stores knowledge as Markdown files on your disk. It builds a knowledge graph from observations and wikilinks, and provides semantic search. Both you and your AI can read, write, and search these files. It is MCP-native, so it works with any AI client that supports the Model Context Protocol.
Is Basic Memory free?
Yes, the local install is free forever under AGPL-3.0. There is also a cloud subscription at $15/month (with 7-day free trial) that includes sync across devices, hosting, backups, and snapshots. Use code BMFOSS for 20% off for 3 months.
What AI clients does Basic Memory support?
Basic Memory works with Claude, Codex, Cursor, ChatGPT, and any AI client or IDE that speaks MCP (Model Context Protocol).