explaingit

rcarmo/memento

Analysis updated 2026-05-18

2PythonAudience · developerComplexity · 4/5LicenseSetup · moderate

TLDR

A shared memory service that lets multiple AI agents read and propose facts stored as reviewed Markdown in Git.

Mindmap

mindmap
  root((Memento))
    What it does
      Shared agent memory
      Search read follow links
      Human reviewed proposals
    Tech stack
      Python
      MCP protocol
      Git and SQLite
    Use cases
      Cross agent knowledge base
      Track service ownership
      Reviewed operating notes
    Audience
      Developers running AI agents
      Multi agent system builders

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 multiple personal and project AI agents access to the same shared facts without sharing private chats.

USE CASE 2

Track where a service runs, who owns it, and why one system replaced another across agents.

USE CASE 3

Let agents propose knowledge updates that a human curator reviews before they are saved to Git.

USE CASE 4

Search and browse a linked network of Markdown concepts as a durable knowledge base.

What is it built with?

PythonMCPGitSQLiteFTS5Docker

How does it compare?

rcarmo/memento0-bingwu-0/live-interpreter010zx00x1/faresnipe
Stars222
LanguagePythonPythonPython
Setup difficultymoderatemoderateeasy
Complexity4/52/52/5
Audiencedevelopergeneralgeneral

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

How do you get it running?

Difficulty · moderate Time to first run · 30min

Runs as a container and needs Git plus an authenticated MCP setup to connect agents.

MIT license: use freely for any purpose, including commercial use, as long as you keep the copyright notice.

In plain English

Memento is a shared memory system built so that several separate AI agents can know the same facts without sharing their private chats, reminders, passwords or machine specific notes. The author built it because they run multiple agent instances, one for personal work, one for servers, and others for individual projects, and all of them sometimes need to know the same background facts, like where a service runs or why one system replaced another. Memento works by giving these agents an authenticated connection, using the MCP protocol, to a shared collection of Markdown documents called concepts. An agent can search this collection, read a concept, follow links between related concepts, and propose a change. A human curator then reviews proposed changes before they are saved permanently to a Git repository. Every concept has a stable identifier, structured metadata, and normal Markdown links, so it can be read directly in a text editor or tracked through Git history. What belongs in Memento are facts meant to outlive a single conversation and be useful to more than one agent, such as who owns a service, how projects and machines relate to each other, or reviewed operating knowledge several agents should follow. Personal chat logs, daily notes, reminders, and any passwords or tokens are meant to stay with the individual agent or machine instead. Searching uses an exact text search method by default, with an optional smaller AI model that can add meaning based ranking so different wording for the same idea can still be found. A separate small fine-tuned model can help route simple natural language requests to the right search action, which Memento then checks before running. There is also an optional visual debugging view that shows how memories and their links are organized, meant only for a trusted development setup rather than a public facing service. Memento runs as a container and supports recent versions of Python. It is aimed at developers already running multiple AI agents who want those agents to share durable, reviewed knowledge instead of duplicating it or losing it between sessions. The project is MIT licensed, so it can be used freely including for commercial purposes.

Copy-paste prompts

Prompt 1
Explain how Memento's search, read, and follow-links flow works for an AI agent.
Prompt 2
Walk me through setting up Memento locally using the provided config file and make commands.
Prompt 3
Show me how a proposed change to a Memento concept gets reviewed and published to Git.
Prompt 4
Explain what kinds of facts belong in Memento versus what should stay with an individual agent.
Prompt 5
Help me understand the difference between the exact text search and the optional semantic search model in Memento.

Frequently asked questions

What is memento?

A shared memory service that lets multiple AI agents read and propose facts stored as reviewed Markdown in Git.

What language is memento written in?

Mainly Python. The stack also includes Python, MCP, Git.

What license does memento use?

MIT license: use freely for any purpose, including commercial use, as long as you keep the copyright notice.

How hard is memento to set up?

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

Who is memento for?

Mainly developer.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.