---
title: "Mirabase vs Letta"
description: "Mirabase and Letta compared on seven memory and file capabilities, checked against public documentation on 2026-11-26, with sources and the cases where each fits better."
url: https://mirabase.io/compare/letta
last_updated: 2026-11-26
lang: en
---

# Mirabase vs Letta

Mirabase is context infrastructure for AI agents: one API and MCP server for versioned files, the knowledge extracted from them, and long-term memory. Letta gives its agents a git-backed memory filesystem (MemFS): memory is a directory of Markdown files that the agent edits and commits. It is open source under Apache-2.0 and offered as a hosted service (Letta Cloud). This page compares Letta and Mirabase on seven capabilities, checked against public documentation on 2026-11-26, and explains when each is the better fit.

## Capabilities compared

| Capability | Mirabase | Letta |
| --- | --- | --- |
| Path-based file access | [Yes](https://mirabase.io/developers/files) | [Yes](https://docs.letta.com/concepts/memfs) |
| Version history and rollback | [Yes](https://mirabase.io/developers/files) | [Partial](https://docs.letta.com/agent-sdk/repositories). Commit history and reading by version are documented. Rollback is not. |
| Memory provenance | [Yes](https://mirabase.io/developers/memory) | [Partial](https://docs.letta.com/api/resources/passages). Passages in the legacy API carry a file ID. The documentation of the current memory filesystem does not describe a link to sources. |
| Version- and passage-level provenance | [Yes](https://mirabase.io/developers/memory). Returns the source version and the quote, not offsets. Only distilled memories carry quotes. | [Not documented](https://docs.letta.com/concepts/memfs) |
| Source change propagation | [Yes](https://mirabase.io/developers/memory) | [Not documented](https://docs.letta.com/configuration/memory) |
| Forgetting with undo | [Partial](https://mirabase.io/developers/memory). A request to forget made in a conversation takes effect, and can be listed and undone. Deleting a memory through the API cannot be undone. A write or a correction can be undone within 30 minutes. | [Partial](https://docs.letta.com/agent-sdk/repositories). Memory files can be deleted, and the whole memory backed up and restored. Undoing a single deletion is not documented. |
| Scoped permissions | [Yes](https://mirabase.io/developers/permissions). The directory scope is set on the member: one subtree per member in a Space. | [Partial](https://docs.letta.com/agent-sdk/reference). A shared repository can be attached per agent as read-only or read-write. A directory-level scope inside a repository is not documented. |
| Open-source license | Apache-2.0 (open source in December 2026) | [Apache-2.0](https://github.com/letta-ai/letta-code/blob/main/LICENSE) |
| Hosted service | [Yes](https://mirabase.io/developers/quickstart) | [Yes](https://docs.letta.com/pricing) |

Each cell was checked on 2026-11-26 against the vendor's public documentation and repository, and links to the page it is based on. "Not documented" means no description was found there; it does not mean the capability is absent. The definitions of the seven capabilities are on the [comparison page](https://mirabase.io/compare#capability-definitions).

## When Letta is the better fit

Choose Letta when:

- You want the agent to maintain its own memory as files it edits and commits, with every change recorded as a commit ([MemFS](https://docs.letta.com/concepts/memfs)).
- You want a shared memory repository attached to each agent as read-only or read-write ([Agent SDK reference](https://docs.letta.com/agent-sdk/reference)).
- You need to run open-source code today: Letta is published under Apache-2.0 ([LICENSE](https://github.com/letta-ai/letta-code/blob/main/LICENSE)).

## When Mirabase is the better fit

Choose Mirabase when you need any of the following capabilities, which the table marks "Yes" for Mirabase and "Partial" or "Not documented" for Letta:

- **Version history and rollback.** Files keep a version history; two versions can be compared and an earlier one restored.
- **Memory provenance.** A memory can be traced to its source document or conversation.
- **Version- and passage-level provenance.** Provenance identifies the specific source version and the sentence or passage the memory is based on.
- **Source change propagation.** When a source is edited or deleted, the memories derived from it are updated, invalidated or hidden automatically.
- **Scoped permissions.** Each agent can be issued a key restricted to a directory or scope, and memories follow the permissions of their source.

## Moving from Letta to Mirabase

Until the planned migration tool is released, you can migrate from Letta to Mirabase manually in four steps. The migration tool is planned and has not been released.

1. Export your data from Letta. Where the product keeps the data in your own storage, read it from there.
2. Write documents as files with `PUT /v2/spaces/{space_id}/files?path=`. See [Write a file](https://mirabase.io/developers/files#write).
3. Send conversations with `POST /v2/spaces/{space_id}/ingest` and `kind: "conversation"`; Mirabase distills memories from them. See [Distill memories from a conversation](https://mirabase.io/developers/memory#conversation).
4. Write standing facts as memories with `POST /v2/memories`. See [Write a memory](https://mirabase.io/developers/memory#create).

## Corrections

If anything on this page is inaccurate or out of date, [contact us](https://mirabase.app/en/contact) and we will correct it. Letta is a third-party product; this page is not affiliated with or endorsed by its vendor.

## See also

- [All nine products in one table](https://mirabase.io/compare)
- [Frequently asked questions](https://mirabase.io/faq)
