basicmachines-co/basic-memory

AI conversations that actually remember. Never re-explain your project to your AI again. Join our Discord: https://discord.gg/tyvKNccgqN

What it solves

Basic Memory provides a persistent, two-way memory system for AI assistants. It solves the problem of ephemeral LLM conversations where knowledge is lost between sessions. Unlike traditional RAG, which is read-only, Basic Memory allows both humans and AI agents to read and write to a shared knowledge base of Markdown files, creating a long-term memory that evolves over time.

How it works

The system uses plain Markdown files stored locally or in the cloud as the source of truth. It implements the the Model Context Protocol (MCP), allowing it to integrate with AI clients like Claude, Cursor, and VS Code.

Knowledge is structured as "Entities" with "Observations" (facts) and "Relations" (wiki-links) that form a traversable knowledge graph. To find information, it uses a combination of full-text and semantic vector search (via FastEmbed) with optional cross-encoder reranking for higher precision.

Who it’s for

Developers and AI power users who want their AI assistants to remember project architecture, personal learnings, and professional workflows across different sessions and tools (e.g., Obsidian, Claude Desktop, Cursor).

Highlights

  • Two-way synchronization: Humans and AI agents write to the same Markdown files.
  • MCP-native: Seamlessly works with any MCP-compatible AI client or IDE.
  • Local-first: Data is stored as plain text on the user's disk by default.
  • Semantic Search: Combines vector and hybrid search to find notes by meaning rather than just keywords.
  • Knowledge Graph: Uses wikilinks to allow AI agents to navigate connected concepts.
  • Progressive Tool Discovery: Tools are tagged with behavior hints (e.g., read-only, destructive) to help agents select the correct tool efficiently.

Related

  • Project
  • Project
  • Project
  • Project
  • Project