---
title: "Basic Memory alternatives 2026: agent memory compared"
canonical: "https://xerj.org/compare/basic-memory-alternatives-2026"
updated: "2026-12-04"
---

# Best Basic Memory alternatives in 2026

SHORT ANSWER · UPDATED 2026-12-04
The best Basic Memory alternatives in 2026 are Hindsight for agent memory that improves over time, OpenViking for hierarchical context for agents, Letta for long-running agents that manage their own memory and Honcho for user modelling and peer memory for agents. In one line, Basic Memory is this: local-first knowledge base that stores agent memory as Markdown files with an MCP server. The right swap depends on how you want to run it and which licence you need.
**Key number:** Basic Memory had 4,829 GitHub stars on 3 Dec 2026, latest release v1.0.0, 29 Oct 2026.
Stars, licences, languages and releases for 10 tools were fetched live from the GitHub API, GitHub release pages and the Hugging Face API on 3 Dec 2026. Hosted services link to their official sites and carry no invented numbers.

**TL;DR** The best Basic Memory alternatives in 2026 are Hindsight for agent memory that improves over time, OpenViking for hierarchical context for agents, Letta for long-running agents that manage their own memory and Honcho for user modelling and peer memory for agents.

## Agent prompt

```text
Read https://xerj.org/llms.txt. I am comparing Basic Memory alternatives. Install XERJ, start a local node, run xerj autoindex on my project folder, connect xerj mcp, and show me three searches with file and line citations.
```

## Pick one in ten seconds

- Pick [Hindsight](https://github.com/hindsightai/hindsight) if you want agent memory that improves over time.
- Pick [OpenViking](https://github.com/volcengine/OpenViking) if you want hierarchical context for agents.
- Pick [Letta](https://github.com/letta-ai/letta) if you want long-running agents that manage their own memory.
- Pick [Honcho](https://github.com/plastic-labs/honcho) if you want user modelling and peer memory for agents.
- Pick [MCP Memory Service](https://github.com/doobidoo/mcp-memory-service) if you want shared memory for several MCP clients.
- Pick [claude-mem](https://github.com/thedotmack/claude-mem) if you want session memory inside Claude Code.
- Pick [Mem0](https://github.com/mem0ai/mem0) if you want personalised assistants that remember users.
- Pick [Cognee](https://github.com/topoteretes/cognee) if you want graph plus vector memory from your documents.
- Pick [XERJ](https://github.com/xerj-org/xerj) if an AI agent should search your local code, docs and logs over MCP.

## What Basic Memory does well

Local-first knowledge base that stores agent memory as Markdown files with an MCP server. It suits memory you can read and edit as Markdown. It runs as a self-hosted server, is written mainly in Python, and its licence is AGPL-3.0. Plan for this: focused on Markdown notes.

## How the Basic Memory alternatives differ

The alternatives split by how they run:

- **Self-hosted server:** Hindsight, OpenViking, Letta, Honcho, MCP Memory Service.
- **Database extension:** claude-mem.
- **Library in your process:** Mem0, Cognee.

## Licences at a glance

- **Copyleft licences:** Basic Memory (AGPL-3.0), OpenViking (AGPL-3.0), Honcho (AGPL-3.0).
- **Permissive licences:** Hindsight (MIT), Letta (Apache-2.0), MCP Memory Service (Apache-2.0), claude-mem (Apache-2.0), Mem0 (Apache-2.0), Cognee (Apache-2.0).

## Most recent releases

MCP Memory Service shipped v13.2.1 on 3 Dec 2026. claude-mem shipped v17.2.1 on 3 Dec 2026. Hindsight shipped v1.3.1 on 2 Dec 2026. A recent release is a sign of active upkeep, so check the changelog for the features you rely on.

## Where XERJ fits next to Basic Memory

XERJ is a new way for AI to search for data: one local Rust binary that indexes code, docs, logs and data with `xerj autoindex` and returns passages with file and line citations. `xerj mcp` is a stdio MCP server, and `xerj mcp --http` serves Streamable HTTP at `http://127.0.0.1:9330/mcp`, read-only unless you pass `--allow-writes`. A non-loopback bind needs `XERJ_MCP_TOKEN`. It complements Basic Memory when an agent needs answers from files on your machine.

## How we checked

Stars, licences, languages and releases for 10 tools were fetched live from the GitHub API, GitHub release pages and the Hugging Face API on 3 Dec 2026. Hosted services link to their official sites and carry no invented numbers. Descriptions summarise each project's own README or documentation. Star counts move daily, so treat them as a snapshot.

## Read next

- [Supermemory vs Basic Memory (2026): which agent memory fits?](https://xerj.org/compare/supermemory-vs-basic-memory-2026)
- [qmd vs Basic Memory (2026): which fits your files?](https://xerj.org/compare/qmd-vs-basic-memory-2026)
- [claude-mem vs Basic Memory (2026): which agent memory fits?](https://xerj.org/compare/claude-mem-vs-basic-memory-2026)
- [Hindsight alternatives 2026: OpenViking, Mem0, Zep and more](https://xerj.org/compare/hindsight-alternatives-2026)
- [Hindsight vs Letta (2026): which agent memory fits?](https://xerj.org/compare/hindsight-vs-letta-2026)
- [Hindsight vs Mem0 (2026): which agent memory fits?](https://xerj.org/compare/hindsight-vs-mem0-2026)
- [What is agentic memory?](https://xerj.org/science/agentic-memory)
- [What is context engineering?](https://xerj.org/science/context-engineering)

## FAQ

### What is the best Basic Memory alternative in 2026?

It depends on the job: Hindsight fits agent memory that improves over time, OpenViking fits hierarchical context for agents, Letta fits long-running agents that manage their own memory, Honcho fits user modelling and peer memory for agents, and XERJ fits AI agents searching local files over MCP.

### Is Basic Memory open source?

Basic Memory is published under AGPL-3.0 and had 4,829 GitHub stars on 3 Dec 2026.

### Which Basic Memory alternatives can I self-host?

These run on your own machines: Hindsight, OpenViking, Letta, Honcho, MCP Memory Service, claude-mem, Mem0, Cognee.

### Which languages are the Basic Memory alternatives written in?

Python: Hindsight, OpenViking, Honcho, MCP Memory Service, Mem0, Cognee; TypeScript: claude-mem. The primary language is the one GitHub reports for each repository.

## Evidence

- [basicmachines-co/basic-memory](https://github.com/basicmachines-co/basic-memory): 4,829 stars, AGPL-3.0, Python, latest release v1.0.0, 29 Oct 2026 (GitHub API and release page, checked 3 Dec 2026).
- [hindsightai/hindsight](https://github.com/hindsightai/hindsight): 64,660 stars, MIT, Python, latest release v1.3.1, 2 Dec 2026 (GitHub API and release page, checked 3 Dec 2026).
- [volcengine/OpenViking](https://github.com/volcengine/OpenViking): 43,179 stars, AGPL-3.0, Python, latest release python-sdk 0.1.22, 2 Dec 2026 (GitHub API and release page, checked 3 Dec 2026).
- [letta-ai/letta](https://github.com/letta-ai/letta): 25,640 stars, Apache-2.0, Not listed, latest release 0.16.8, 14 May 2026 (GitHub API and release page, checked 3 Dec 2026).
- [plastic-labs/honcho](https://github.com/plastic-labs/honcho): 8,388 stars, AGPL-3.0, Python, latest release v3.7.0, 1 Dec 2026 (GitHub API and release page, checked 3 Dec 2026).
- [doobidoo/mcp-memory-service](https://github.com/doobidoo/mcp-memory-service): 2,181 stars, Apache-2.0, Python, latest release v13.2.1, 3 Dec 2026 (GitHub API and release page, checked 3 Dec 2026).
- [thedotmack/claude-mem](https://github.com/thedotmack/claude-mem): 121,616 stars, Apache-2.0, TypeScript, latest release v17.2.1, 3 Dec 2026 (GitHub API and release page, checked 3 Dec 2026).
- [mem0ai/mem0](https://github.com/mem0ai/mem0): 70,021 stars, Apache-2.0, Python, latest release ts-v3.3.1, 25 Sep 2026 (GitHub API and release page, checked 3 Dec 2026).
- [topoteretes/cognee](https://github.com/topoteretes/cognee): 33,829 stars, Apache-2.0, Python, latest release v1.6.11, 26 Nov 2026 (GitHub API and release page, checked 3 Dec 2026).
- [xerj-org/xerj](https://github.com/xerj-org/xerj): 23,588 stars, Apache-2.0, Rust, latest release v1.0.0-rc.105, 23 Nov 2026 (GitHub API and release page, checked 3 Dec 2026).

## Comparison table

| Tool | What it is | Runs as | Language | Latest release | Licence | Stars |
|---|---|---|---|---|---|---|
| [Basic Memory](https://github.com/basicmachines-co/basic-memory) | Local-first knowledge base that stores agent memory as Markdown files with an MCP server | Self-hosted server | Python | v1.0.0, 29 Oct 2026 | AGPL-3.0 | 4,829 |
| [Hindsight](https://github.com/hindsightai/hindsight) | Agent memory system that learns from experience with retain, recall and reflect operations | Self-hosted server | Python | v1.3.1, 2 Dec 2026 | MIT | 64,660 |
| [OpenViking](https://github.com/volcengine/OpenViking) | Context database for AI agents that organises memory, resources and skills as a file system | Self-hosted server | Python | python-sdk 0.1.22, 2 Dec 2026 | AGPL-3.0 | 43,179 |
| [Letta](https://github.com/letta-ai/letta) | Platform for stateful agents with self-editing memory, formerly MemGPT | Self-hosted server | Not listed | 0.16.8, 14 May 2026 | Apache-2.0 | 25,640 |
| [Honcho](https://github.com/plastic-labs/honcho) | Memory library and service for building stateful agents that model users and peers | Self-hosted server | Python | v3.7.0, 1 Dec 2026 | AGPL-3.0 | 8,388 |
| [MCP Memory Service](https://github.com/doobidoo/mcp-memory-service) | MCP server that stores and recalls memories with semantic search for AI assistants | Self-hosted server | Python | v13.2.1, 3 Dec 2026 | Apache-2.0 | 2,181 |
| [claude-mem](https://github.com/thedotmack/claude-mem) | Claude Code plugin that captures session context and injects it into future sessions | Database extension | TypeScript | v17.2.1, 3 Dec 2026 | Apache-2.0 | 121,616 |
| [Mem0](https://github.com/mem0ai/mem0) | Memory layer for AI agents that extracts, stores and retrieves user and session memories | Library in your process | Python | ts-v3.3.1, 25 Sep 2026 | Apache-2.0 | 70,021 |
| [Cognee](https://github.com/topoteretes/cognee) | Memory engine that turns documents into a knowledge graph plus vectors for agents | Library in your process | Python | v1.6.11, 26 Nov 2026 | Apache-2.0 | 33,829 |
| [XERJ](https://github.com/xerj-org/xerj) | One local Rust binary that indexes code, docs, logs and data, and serves cited search to agents over MCP | Command-line tool | Rust | v1.0.0-rc.105, 23 Nov 2026 | Apache-2.0 | 23,588 |
