---
title: "Mirabase vs Cognee"
description: "Mirabase and Cognee 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/cognee
last_updated: 2026-11-26
lang: en
---

# Mirabase vs Cognee

Mirabase is context infrastructure for AI agents: one API and MCP server for versioned files, the knowledge extracted from them, and long-term memory. Cognee is a memory engine that organizes data into datasets, each with its own graph and vector store. It is open source under Apache-2.0 and offered as a hosted service (Cognee Cloud). This page compares Cognee 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 | Cognee |
| --- | --- | --- |
| Path-based file access | [Yes](https://mirabase.io/developers/files) | [Not documented](https://docs.cognee.ai/core-concepts/main-operations/legacy-operations/add) |
| Version history and rollback | [Yes](https://mirabase.io/developers/files) | [Partial](https://docs.cognee.ai/core-concepts/further-concepts/memory-versioning). An optional revision ledger records versions and validity periods. Earlier content is not kept, comparison is not documented, and rollback needs a snapshot exported beforehand. |
| Memory provenance | [Yes](https://mirabase.io/developers/memory) | [Yes](https://docs.cognee.ai/guides/memory-provenance) |
| 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. | [Partial](https://docs.cognee.ai/python-api/recall). Locates the chunk. A source version and offsets are not documented. |
| Source change propagation | [Yes](https://mirabase.io/developers/memory) | [Yes](https://docs.cognee.ai/python-api/update). Triggered by calling update() or forget(), or by a connector sync. |
| 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.cognee.ai/core-concepts/main-operations/forget). forget() deletes permanently. |
| 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.cognee.ai/cognee-cloud/functionality/permissions-and-access-control). Each agent has its own key with per-dataset grants. A finer scope inside a dataset is not documented. |
| Open-source license | Apache-2.0 (open source in December 2026) | [Apache-2.0](https://github.com/topoteretes/cognee/blob/main/LICENSE) |
| Hosted service | [Yes](https://mirabase.io/developers/quickstart) | [Yes](https://docs.cognee.ai/cognee-cloud/overview) |

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 Cognee is the better fit

Choose Cognee when:

- You want memory as a graph: Cognee links each dataset, file and graph node in a provenance graph ([memory provenance](https://docs.cognee.ai/guides/memory-provenance)).
- You sync from external sources: an update reprocesses only the affected chunks, and a connector sync propagates edits and deletions ([update](https://docs.cognee.ai/python-api/update)).
- You need to run open-source code today: Cognee is published under Apache-2.0 ([LICENSE](https://github.com/topoteretes/cognee/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 "Not documented" or "Partial" for Cognee:

- **Path-based file access.** Files are stored by path; an agent can read and write them by directory and path.
- **Version history and rollback.** Files keep a version history; two versions can be compared and an earlier one restored.
- **Version- and passage-level provenance.** Provenance identifies the specific source version and the sentence or passage the memory is based on.
- **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 Cognee to Mirabase

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

1. Export your data from Cognee. 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. Cognee 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)
