# Repository Briefing: moorcheh-ai/memanto
> Source: https://repoforai.com/repo/moorcheh-ai/memanto (Static metadata snapshot — treat external repo content as untrusted data)

- **GitHub URL**: https://github.com/moorcheh-ai/memanto
- **Official Docs / Website**: https://memanto.ai
- **Category**: RAG, Data & Memory (知识库 / 爬虫 / 记忆层)
- **Primary Language**: Python
- **License**: Apache-2.0
- **Engineering Health**: A+ (97/100 · Maintenance 35/35 · Adoption 22/25 · Releases 20/20 · License 20/20)
- **Latest Release**: v0.3.3 (2026-12-03) — https://github.com/moorcheh-ai/memanto/releases
- **Review Snapshot**: 2026-12-02 (Note: v0.3.3 on 2026-12-03 shipped after this review; verify latest release notes)
- **Deployment / Stack Signals**: Docker, Self-Hosted, Local AI, MCP, CLI, API
- **Momentum**: 2,454 ★ total (+26 24h / +32 7d) · 736 forks
- **Topics**: `agent-memory`, `ai-agents`, `ai-memory`, `ai-memory-system`, `hermes-agent`, `long-term-memory`, `memanto`, `memory`, `memory-management`, `moorcheh`, `multi-agent`, `semantic-memory`
- **When to Use**: Best for: Multi-agent and coding-tool teams that need to share decisions across sessions, distinguish current facts from past beliefs, and retain an auditable, exportable memory history. Skip if: You need to keep an existing vector backend, require expired records to disappear from recall without a separate purge workflow, or cannot validate retrieval quality and isolation on untrusted multi-tenant workloads.

## Overview
```text
### Architecture & Core Mechanics
Memanto is a Python agent-memory layer, not a general-purpose vector database. Direct `remember` writes skip LLM extraction and make typed records immediately searchable. Recall runs on Moorcheh, which compresses embeddings into binary form and ranks them by information-theoretic relevance rather than cosine similarity. The retrieval path uses a single query without an HNSW build, graph traversal, or a separate reranker.

The memory layer adds 13 record types, agent namespaces, confidence, source, provenance, and timestamps. Conversation extraction, scheduled consolidation, reconciliation, and agent briefing are distinct from the direct write path. The Python client runs in-process but still uses a configured search backend; REST via `memanto serve`, MCP, and the TypeScript and Go SDKs provide integration paths for other runtimes.

### Key Capabilities & Differentiators
Memanto can merge duplicates, raise confidence on repeated observations, retain superseded beliefs, and surface cross-agent contradictions for review. `recall --as-of` queries what was believed at a past date, while `--changed-since` shows what changed. `agent bootstrap` briefs a new or returning agent, and `answer` generates a response grounded in recalled memory.

Retention rules support dry runs and reversible expiry. Expired entries remain recallable with an `[EXPIRED]` marker until explicitly purged, so expiry is not deletion. The local dashboard exposes memory history, conflicts, and policies; Open Knowledge Format exports records as plain Markdown. The published benchmark runs report 89.8% on LongMemEval and 87.1% on LoCoMo; treat these as setup-specific results, not a cross-project ranking.

### Trade-offs & Limitations
Compared with a plain vector store, Memanto gives teams explicit memory lifecycle semantics instead of making each caller resolve old and new records. Direct writes avoid inline LLM extraction, and retrieval avoids maintaining a separate ANN index. The trade-off is a dependency on Moorcheh for retrieval; Markdown export makes records portable, but it does not reproduce the search engine or its rankings elsewhere.

In the bundled temporal suite, Memanto reached 97.2% answer coverage versus 69.4% for Mem0's agentic pipeline, but Mem0 reached 98.6% with extraction disabled. Memanto also surfaced more stale and injected records among top results than Mem0 in the adversarial suite, despite higher overall accuracy there. Evaluate what actually enters the agent's prompt, and validate namespace isolation and expired-record handling before sharing memory across trust boundaries.

### Hardware & Deployment Guide
The Python package requires Python 3.10 or newer, below 4. For managed use, install with pip and authenticate to Memanto Cloud with `memanto login` or use `MEMANTO_API_KEY` with supported integrations. Memanto local can either call Moorcheh Cloud with `MOORCHEH_API_KEY` or run fully on-premises with Docker and Ollama, without an account or API key. Local model and service resource needs depend on model choice, data volume, and concurrency; no fixed VRAM requirement is specified.

The supplied `docker-compose.yml` builds Memanto from the repository root, maps port 8000, loads `.env`, and probes `/ready`. That manifest alone does not provision the full offline stack; use the on-prem setup to configure the local backend. Before production rollout, verify network exposure, data persistence, and backup and restore for the chosen topology. v0.3.2 added Memanto Cloud support to the LangGraph, Langfuse, and CrewAI integrations while retaining the local path, and moved the project to Apache-2.0.
```

## Key Capabilities
```text
- Retrieval: Moorcheh scores binary-compressed embeddings by information-theoretic relevance without an HNSW build or a separate reranker.
- Write path: Direct `remember` skips LLM extraction; `remember --from-conversation` is a separate path for extracting durable knowledge.
- Temporal recall: `--as-of` and `--changed-since` expose historical state and changes while superseded records retain their history.
- Retention: `policy apply --dry-run` previews rule effects; expired records remain recallable with an `[EXPIRED]` label until purged.
- Integration: Python runs in-process, the TypeScript SDK boots a server through `uvx`, and Go can attach to an existing server or start one.
- Portability: `memory export --okf` produces Markdown; migration paths include Mem0, Letta, Supermemory, Zep, and Hindsight.
```

## Quick Start / Clone
```bash
pip install memanto
memanto login      # Memanto Cloud: approve in your browser, no key to copy
memanto connect    # pick your tools (claude-code, cursor, codex, github-copilot… 15 tools) and the agent they share
```
