explaingit

deniscartin/llmemoryos

Analysis updated 2026-05-18

4PythonAudience · developerComplexity · 4/5LicenseSetup · moderate

TLDR

A self hosted memory system that gives any AI model or coding assistant persistent, searchable, shared memory through an API or MCP server.

Mindmap

mindmap
  root((LLMemoryOS))
    What it does
      Stores persistent AI memories
      Organizes skills docs and prompts
      Serves memory via API and MCP
    Tech stack
      Python
      FastAPI
      Next.js
      PostgreSQL pgvector
    Use cases
      Give an agent long-term memory
      Share memory across AI tools
      Self-host an AI knowledge base
    Audience
      AI developers
      Self-hosters

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Give any AI model or coding assistant persistent memory across sessions.

USE CASE 2

Share a single memory store between multiple AI tools like Claude, Cursor, and Gemini.

USE CASE 3

Self host a searchable knowledge base of skills, documents, prompts, and tools.

USE CASE 4

Run a memory system with no external API key using its built in local search option.

What is it built with?

PythonFastAPINext.jsPostgreSQLDocker

How does it compare?

deniscartin/llmemoryos1038lab/agnes-ai3eyedtiger/video2vrcemote
Stars444
LanguagePythonPythonPython
Setup difficultymoderateeasyeasy
Complexity4/52/51/5
Audiencedevelopervibe codervibe coder

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · moderate Time to first run · 30min

Requires Docker and Docker Compose, works without an embedding API key using the built-in local embedder.

MIT licensed, so you can use, modify, and distribute it freely, including for commercial purposes, as long as you keep the copyright notice.

In plain English

MemoryOS is a self hosted memory system that gives AI models and coding assistants a persistent place to store and recall information, since language models normally forget everything once a conversation ends. Any model or tool, such as OpenAI's models, Claude, Gemini, or coding assistants like Cursor and Windsurf, can connect to it, but none of them talk to the underlying database directly. Instead they go through a Memory API or an MCP server, a standard way for AI tools to call external services, which acts as the single doorway into the system. Rather than being just a place to store searchable text snippets, MemoryOS organizes several different kinds of resources: memories, skills, documents, prompts, tools, and projects, plus a knowledge graph that tracks typed relationships between all of them. It supports many different providers for turning text into the numerical representations search relies on, including a built in option that needs no API key at all, so search works right away without any setup cost. Search itself combines meaning based matching with traditional keyword matching and can rerank results for better relevance. Background workers handle housekeeping tasks like removing duplicate memories, merging related ones, scoring importance, and regenerating summaries. The system also includes an admin dashboard for browsing and managing everything through a web browser, security features like API keys and rate limiting, and typed helper libraries for Python and another popular programming language, making it easier to integrate from your own code. To run it, you need Docker and Docker Compose installed. After cloning the repository and copying an example configuration file, one command builds and starts the entire stack, including the dashboard, the API, and supporting services, all running locally on your own machine or server rather than a third-party cloud service. The project is released under the MIT license.

Copy-paste prompts

Prompt 1
Explain how a model connects to this memory system through the Memory API or MCP server.
Prompt 2
Walk me through running the full stack locally with Docker Compose for the first time.
Prompt 3
How does the hybrid search combine meaning based matching with keyword matching?
Prompt 4
What background workers run automatically to keep the stored memories organized?

Frequently asked questions

What is llmemoryos?

A self hosted memory system that gives any AI model or coding assistant persistent, searchable, shared memory through an API or MCP server.

What language is llmemoryos written in?

Mainly Python. The stack also includes Python, FastAPI, Next.js.

What license does llmemoryos use?

MIT licensed, so you can use, modify, and distribute it freely, including for commercial purposes, as long as you keep the copyright notice.

How hard is llmemoryos to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is llmemoryos for?

Mainly developer.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.