whatisgithub

What is anamnesis?

trapezohe/anamnesis — explained in plain English

Analysis updated 2026-05-18

68RustAudience · developerComplexity · 2/5LicenseSetup · easy

In one sentence

A local tool that pulls memory from your various AI coding assistants into one searchable database.

Mindmap

mindmap
  root((repo))
    What it does
      Collects AI agent memory
      Makes it searchable
      Works across tools
    Tech stack
      Rust
      SQLite
      MCP
    Use cases
      Unified memory search
      MCP integration
      Local only storage
    Audience
      Developers
      AI power users

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

Search all your AI agent memory in one place instead of per tool

USE CASE 2

Connect your consolidated agent memory to another AI tool via MCP

USE CASE 3

Keep AI assistant memory local and private with no cloud sync

What is it built with?

RustSQLiteMCP

How does it compare?

trapezohe/anamnesisrust-kotlin/ashellaichovy/vibe-observer
Stars686867
LanguageRustRustRust
Setup difficultyeasyeasymoderate
Complexity2/53/53/5
Audiencedeveloperdeveloperdeveloper

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

How do you get it running?

Difficulty · easy Time to first run · 30min

Early 0.1.0 release, some source adapters extract data at only medium precision.

So what is it?

Anamnesis is a tool that collects memory from AI agent tools and makes it searchable in one place. If you use several AI assistants or coding agents, each one tends to store what it learned about you in a different format and location. Anamnesis does not ask you to switch memory systems or start over. Instead it reads from wherever your existing agents already store their data. The tool currently supports more than a dozen sources, including Claude Code sessions, Codex memory files, the mem0 framework, and several others. It works by scanning those locations, pulling in the stored notes and context, converting everything to a common format, and saving it into a local SQLite database on your machine. All data stays on your computer. No accounts are required and nothing is sent to a cloud service. Once the memory is imported, you can search it through a command-line tool or by connecting it to another AI agent via a protocol called MCP. The search supports plain keyword matching, similarity-based lookup using local embeddings, or a combination of both. You can filter results by which source they came from, when they were created, or what type of memory record they represent. The project is written in Rust and ships as two programs: a CLI for direct use and an MCP server that lets other agents query your memory automatically. The adapter precision varies by source. Some sources, like mem0 and Letta, extract data with high accuracy when the database schema matches expectations. Others, like Claude Code and Codex, extract at medium precision because those tools use less structured formats. Version 0.1.0 is described as an early release. The README is candid that not every adapter has complete semantic extraction yet, and it lists specific gaps in a limitations section. The Apache-2.0 license covers the code. A Discord community and an X account exist for people who want to follow development or ask questions.

Copy-paste prompts

Prompt 1
Help me set up Anamnesis to import my Claude Code and Codex memory
Prompt 2
Show me how to query my agent memory using the Anamnesis CLI
Prompt 3
Explain how to connect Anamnesis as an MCP server to my AI agent
Prompt 4
What sources does Anamnesis support and how accurate is each adapter

Frequently asked questions

What is anamnesis?

A local tool that pulls memory from your various AI coding assistants into one searchable database.

What language is anamnesis written in?

Mainly Rust. The stack also includes Rust, SQLite, MCP.

How hard is anamnesis to set up?

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

Who is anamnesis for?

Mainly developer.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.