# Memanto

> A memory agent that curates, reconciles and expires what your other agents remember

- Category: Agents & Automation / Agent Memory
- Language: Python
- Licence: MIT
- Repository: https://github.com/moorcheh-ai/memanto
- Website: https://memanto.ai
- Canonical page: https://ai-tldr.dev/tools/memanto/
- Updated: 2026-09-24

## In short

Memanto, from Moorcheh AI, describes itself as a Memory Agent: a companion agent that manages the memories of your other agents. It sits in the Agent Memory category of the Agents & Automation tools and is open-source, written in Python and licensed MIT. To get started: install the CLI.

## Overview

Memanto, from Moorcheh AI, describes itself as a Memory Agent: a companion agent that manages the memories of your other agents. Rather than acting as a plain store that your code writes to and reads from, it decides what to keep, detects when two memories contradict each other, retires what has gone stale under policies you set, and hands each agent a relevant briefing before it acts. It is installed with pip and driven mainly through the memanto command-line tool, with a local REST API, a web dashboard and a TypeScript SDK alongside.

Memories are typed rather than stored as one undifferentiated blob. The project defines 13 categories, including instruction, fact, decision, goal, preference, relationship, event and error, so recall can be filtered by type. Recall also answers temporal questions: --as-of reconstructs what was believed on a given date and --changed-since shows what moved after a point. A memory is either active or expired; expiry follows per-agent YAML policies, is stamped with the rule that caused it, and can be undone with memanto memory restore.

Retrieval runs on Moorcheh's semantic engine, which Memanto manages for you in one of two ways: a local on-prem stack in Docker (optionally with Ollama for embeddings and answers, no account or API key) or the hosted Moorcheh Cloud, which needs a Moorcheh API key and has a free tier. memanto config backend switches between them. The Memanto code itself is MIT-licensed, and its memories can be exported as the Open Knowledge Format, a plain-Markdown bundle, or migrated in from Mem0, Letta, Supermemory, Zep and Hindsight. The team reports 89.8% on LongMemEval and 87.1% on LoCoMo in its accompanying arXiv paper, and itself cautions that such scores are not comparable across projects.

## What it does

- One-command hookup to coding agents and IDEs with memanto connect — Claude Code, Codex, Cursor, Windsurf, Gemini CLI, Cline, Continue, Goose, Roo, GitHub Copilot and more
- 13 typed memory categories and recall filters, with point-in-time (--as-of) and --changed-since queries
- Conflict detection and interactive resolution (memanto conflicts), plus an optional nightly job for daily summaries, conflict detection and expiry sweeps
- Policy-driven expiry with presets and per-type retention tables; expired memories stay recallable, labelled, and restorable
- Grounded answers from stored memory with memanto answer, extraction from chat logs with --from-conversation, and file upload for PDF, DOCX, XLSX, CSV and Markdown
- Portable estate: export to the Markdown-based Open Knowledge Format and migrate from Mem0, Letta, Supermemory, Zep, Hindsight or an OKF bundle

## Getting started

Memanto needs Python 3.10+. The first run asks you to pick a backend: On-Prem (Docker, no account or API key) or Moorcheh Cloud (a Moorcheh API key, free tier available).

1. Install the CLI

   pip is the documented path; uv tool install works too.

```bash
pip install memanto
# or
uv tool install memanto
```

2. Run the setup wizard and choose a backend

   Running memanto with no subcommand starts the first-run wizard. The on-prem choice checks Docker, starts a local Moorcheh server and, if you pick Ollama, pulls the embedding and answer models. You can switch later with memanto config backend.

```bash
memanto
memanto config backend on-prem   # or: memanto config backend cloud
```

3. Connect your coding agent

   Each target gets a tool-specific instruction file and the memanto-memory skill, so the agent starts using the shared memory without code changes.

```bash
memanto connect claude-code        # also: cursor, codex, windsurf, cline, goose, github-copilot…
```

4. Remember, recall and answer

   Store a typed memory, search it back, ask a grounded question, or query what was true at a point in time.

```bash
memanto remember "Auth migrated to JWT — session cookies deprecated" --type decision
memanto recall "how does auth work"
memanto answer "why did we drop session cookies?"
memanto recall "deployment policy" --as-of 2026-08-05
```

5. Set an expiry policy and the nightly job

   Preview what a policy would expire before applying it, then let the scheduled run handle summaries, conflict detection and expiry sweeps.

```bash
memanto policy list-preset
memanto policy apply-preset balanced
memanto policy apply --dry-run
memanto schedule enable
```

6. Open the dashboard or the REST API

   memanto ui opens a local web dashboard; memanto serve starts the REST API, with interactive docs at http://localhost:8000/docs while it runs.

```bash
memanto ui
memanto serve
```

7. Export or migrate memories

   Export an agent's memories as a portable Open Knowledge Format bundle, or import from another memory provider.

```bash
memanto memory export --okf
memanto migrate zep --dry-run
```

## When to use it

- Reach for it when several coding agents (Claude Code, Cursor, Codex and others) should share one memory of decisions and preferences across sessions
- Reach for it when stale or contradicting facts in agent memory are the problem, and you want expiry policies and conflict review rather than an ever-growing store
- Reach for it when you need to audit what an agent believed at a past date, using point-in-time recall
- Reach for it to move an existing memory estate out of Mem0, Letta, Supermemory, Zep or Hindsight into a Markdown-based format you can keep in git

## Version history

- 2026-09-24 v0.2.23: Added Zep and Hindsight as migration sources in both the CLI and the web UI, plus community OKF migration examples; unfiltered recall queries no longer over-fetch candidates.
