
Welcome to Basic Memory
Basic Memory lets you build persistent knowledge through natural conversations with Large Language Models (LLMs) like Claude, while keeping everything in simple Markdown files on your computer. It uses the Model Context Protocol (MCP) to enable any compatible LLM to read and write to your local knowledge base.Pick up your conversation right where you left off
AI assistants can load context from local files in a new conversation
No more starting from scratch. Your AI assistant remembers what you’ve discussed before.
Notes are saved locally as Markdown files in real time
Everything stays on your computer in simple, readable Markdown that you can edit with any text editor.
No project knowledge or special prompting required
Just talk naturally. The AI can create, read, and update your knowledge base automatically.
Build a traversable knowledge graph
Notes link together using WikiLinks, creating a semantic web of connected ideas.
Why Basic Memory?
Most LLM interactions are ephemeral - you ask a question, get an answer, and everything is forgotten. Each conversation starts fresh, without the context or knowledge from previous ones. Current workarounds have limitations:Chat histories
Capture conversations but aren’t structured knowledge
RAG systems
Can query documents but don’t let LLMs write back
Vector databases
Require complex setups and often live in the cloud
Knowledge graphs
Typically need specialized tools to maintain
The Basic Memory Approach
Basic Memory addresses these problems with a simple approach: structured Markdown files that both humans and LLMs can read and write to.Local-first
All knowledge stays in files you control
Bi-directional
Both you and the LLM read and write to the same files
Structured yet simple
Uses familiar Markdown with semantic patterns
Traversable knowledge graph
LLMs can follow links between topics
Standard formats
Works with existing editors like Obsidian
Lightweight infrastructure
Just local files indexed in a local SQLite database
Key Features
Persistent Conversations
Persistent Conversations
Have conversations that build on previous knowledge. Ask the LLM to recall what you discussed last week, and it can load the relevant context from your knowledge base.
Structured Notes
Structured Notes
Create structured notes during natural conversations. The LLM can organize information into Entities with Observations (facts) and Relations (links to other entities).
Semantic Navigation
Semantic Navigation
Local Control
Local Control
Keep everything local and under your control. Your knowledge stays on your computer in simple Markdown files.
Obsidian Compatible
Obsidian Compatible
Use familiar tools like Obsidian to view and edit notes. Basic Memory uses standard Markdown with WikiLinks.
Cloud Sync (Optional)
Cloud Sync (Optional)
Sync your knowledge to the cloud with bidirectional synchronization for cross-device access.
Quick Example
Here’s how a typical interaction works:The AI creates a Markdown file
The file appears instantly in
~/basic-memory/coffee-brewing-methods.md:How It Works
Under the hood, Basic Memory:- Stores everything in Markdown files
- Uses a SQLite database for searching and indexing
- Extracts semantic meaning from simple Markdown patterns:
- Files become
Entityobjects - Each
Entitycan haveObservations(facts) Relationsconnect entities together to form the knowledge graph
- Files become
- Maintains the local knowledge graph derived from the files
- Provides bidirectional synchronization between files and the knowledge graph
- Implements the Model Context Protocol (MCP) for AI integration
- Exposes tools that let AI assistants traverse and manipulate the knowledge graph
- Uses
memory://URLs to reference entities across tools and conversations
Model Context Protocol (MCP) is an open protocol that standardizes how applications provide context to LLMs. Basic Memory implements MCP to enable AI assistants like Claude Desktop to interact with your knowledge base.
Get Started
Quick Start
Get up and running in 5 minutes
Installation
Detailed installation instructions
User Guide
Learn how to use Basic Memory effectively
CLI Reference
Complete command-line interface documentation
Community
Discord
Join our community
GitHub
View the source code
Website
Learn more
