@XAMTO_AI: AI 开发中最消磨精力的,莫过于这种被迫的“上下文重置”——只要切换环境,之前做过什么、卡在哪个环节、当时的思考逻辑是什么,全得重新交代清楚。 针对这个痛点,有人推出了 Memanto,一个专为 AI 打造的工作记忆库,目前已支持 Cla…
摘要
Memanto是一个专为AI开发环境打造的主动式工作记忆库,能在无API密钥和向量数据库的情况下,实现零延迟索引和高性能检索,支持Claude Code、Cursor等16+开发环境,在LongMemEval基准测试中达到89.8%的分数。
查看缓存全文
缓存时间: 2026/07/01 16:11
AI 开发中最消磨精力的,莫过于这种被迫的“上下文重置”——只要切换环境,之前做过什么、卡在哪个环节、当时的思考逻辑是什么,全得重新交代清楚。
针对这个痛点,有人推出了 Memanto,一个专为 AI 打造的工作记忆库,目前已支持 Claude Code、Codex、Cursor、LangGraph、CrewAI 等超过16种开发环境。
它并不是简单地把聊天记录存下来,而是让 AI 先把之前的语境信息压缩整理好,等下次启动时,只需要快速调取那些最必要的上下文就行。
几个关键指标相当能打:在 LongMemEval 基准测试里拿下了 89.8% 的分数,保存记忆时索引几乎是零延迟,而且全程不需要额外的 API Key 或向量数据库,无论本地部署还是云端使用都没问题。 :https://github.com/moorcheh-ai/memanto…
moorcheh-ai/memanto
Source: https://github.com/moorcheh-ai/memanto
Memory that AI Agents Love!
A companion memory agent that lets your agents focus and improve while you keep ownership of everything they learn.
Persistent memory for Claude Code, Cursor, Codex, and 14+ other agents, built on the world's first information-theoretic search engine. 100% free, open source, and runs entirely on your machine - no API keys, no vector database, no backend to babysit.
What you get
- No more re-explaining your codebase after every context reset. Memanto persists across sessions, your agent picks up where it left off.
- Fewer tokens burned on repeated context. Memories are retrieved only when relevant, so context windows go further.
- Memories searchable the instant they’re stored. Zero indexing wait, no LLM extraction tax at write time.
- One
pip install. No vector DB to provision, no schema, no rerankers, no backend service to babysit. - Flexible deployment. Choose between running the backend fully local, using it as a cloud SaaS, hosting in your own VPC, or switching between any of these options anytime you want.
Integrations
Works with Claude Code, Cursor, Codex, Windsurf, Cline, Continue, Goose, GitHub Copilot, and more. See the full list →
memanto connect <integration-tool-id> # integrates in one command
#eg: memanto connect claude-code
The Six Gaps
Most memory tools are passive infrastructure — agents have to query them, parse the results, and figure out what to do. Memanto is an active memory agent built from the gaps models themselves named:
| # | Gap | What MEMANTO does about it |
|---|---|---|
| 1 | Static injection — memory arrives as a blob, not queryable by relevance | Queryable, not injectable |
| 2 | No temporal decay — a preference from 6 months ago weighs the same as yesterday’s deadline | Versioning, recency signals, temporal queries |
| 3 | No provenance — can’t tell explicit facts from inferred patterns or outdated info | Confidence + provenance metadata on every memory |
| 4 | Flat memory — episodic, semantic, and procedural all collapsed to one layer | Typed and hierarchical — 13 built-in memory categories |
| 5 | No writeback — contradictions silently coexist | Conflict detection, explicit versioning, no silent overwrites |
| 6 | Indexing delay — mandatory LLM extraction, graph construction bottleneck | Zero-overhead ingestion, available at write time |
“My memory exists as a static snapshot injected into context — useful, but fundamentally passive.” — A model quote that became Memanto’s design brief.
Benchmarks
- 89.8% on LongMemEval and 87.1% on LoCoMo — outperforming Mem0, Zep, and Letta. Public datasets →
- Three primitives, not two:
remember,recall, andanswerLLM-grounded responses from memory, no extra API key. - Single-query retrieval. No multi-stage pipelines, no graph schema, no rerankers.
- Typed semantic memory. 13 categories —
instruction,fact,decision,goal,preference,relationship, and more.
Architecture
Memanto’s retrieval is powered by Moorcheh, an information-theoretic semantic engine. It runs as a local Docker container (free, no account) or as a free cloud service (100K free operations) the memanto CLI manages either for you.
On-Prem
Why Moorcheh?
Moorcheh is the semantic engine behind Memanto’s retrieval. Unlike vector databases that rely on approximate search and require indexing pipelines, Moorcheh uses an information-theoretic approach that returns exact results with zero indexing delay, write a memory and it’s searchable immediately.
This means Memanto doesn’t need a separate vector DB, embedding pipeline, or reranking stage. The Moorcheh engine runs as a local Docker container for on-prem users (no account needed) or as a managed cloud service with a free tier. Either way, it’s invisible - the memanto CLI handles it.
Setup & Demo
Local Dashboard For Best UX
CLI Reference
| Capability | Commands | What it does |
|---|---|---|
| System status dashboard | memanto status | View environment, configuration, server health, active session, and registered agents. |
| Local REST API + Web UI | memanto serve, memanto ui | Run the MEMANTO REST API locally and open an interactive browser UI. (Optional for CLI usage). |
| Agent lifecycle management | memanto agent ... | Create/list/delete agents, activate/deactivate sessions, and run agent bootstrap for an intelligence snapshot. |
| Memory capture at scale | memanto remember | Store single memories, batch-ingest from JSON, or --from-conversation to automatically extract facts from chat logs. |
| Single-memory editing & deletion | memanto edit, memanto forget | Update fields on an existing memory, or permanently delete a bad/outdated memory. |
| File upload to memory | memanto upload | Upload documents (.pdf, .docx, .xlsx, .json, .txt, .csv, .md) directly into an agent’s memory namespace — content becomes instantly searchable via recall. |
| Advanced retrieval modes | memanto recall | Run standard search plus temporal queries (--as-of, --changed-since) with filters. |
| Grounded QA over memory | memanto answer | Generate RAG answers using retrieved memory context. |
| Daily intelligence workflows | memanto daily-summary, memanto conflicts | Generate summaries, detect contradictions, and resolve conflicts interactively. |
| Session and automation controls | memanto session ..., memanto schedule ... | Inspect sessions and enable scheduled daily summary runs. |
| Memory file pipelines | memanto memory export, memanto memory sync | Export structured memory markdown and sync MEMORY.md into projects. |
| Configuration inspection | memanto config show | Inspect API key status, active agent/session, server settings, and schedule time. |
| Multi-agent ecosystem integration | memanto connect ... | Connect/remove/list integrations for Claude Code, Codex, Cursor, Windsurf, Antigravity, Gemini CLI, Cline, Continue, OpenCode, Goose, Roo, GitHub Copilot, and Augment (local or global). |
For a complete command reference, see the CLI User Guide.
Supported Memory Types
instruction, fact, decision, goal, commitment, preference, relationship, context, event, learning, observation, artifact, error
Use memory types to categorize what you store so retrieval is cleaner and more controllable:
- Save with a specific type:
memanto remember "User prefers concise answers" --type preference - Filter by type when searching:
memanto recall "user communication style" --type preference
📦 SDKs
- TypeScript / Node.js —
@moorcheh-ai/memanto— boots a local Memanto server viauvxand exposes an ergonomicMemantoclient (remember/recall/answer).
REST API
Memanto exposes a session-based REST API for programmatic access. Start the server locally:
memanto serve
Full endpoint reference is available at docs.memanto.ai/api and at http://localhost:8000/docs when the server is running.
Research
Memanto: Typed Semantic Memory with Information-Theoretic Retrieval for Long-Horizon Agents
@misc{abtahi2026memantotypedsemanticmemory,
title={Memanto: Typed Semantic Memory with Information-Theoretic Retrieval for Long-Horizon Agents},
author={Seyed Moein Abtahi and Rasa Rahnema and Hetkumar Patel and Neel Patel and Majid Fekri and Tara Khani},
year={2026},
eprint={2604.22085},
archivePrefix={arXiv},
primaryClass={cs.AI},
url={https://arxiv.org/abs/2604.22085},
}
Support
Have questions or feedback? We’re here to help:
- Docs: https://docs.memanto.ai
- Discord: Join our Discord server
- Email: [email protected]
- X / Twitter: @moorcheh_ai
MIT License
相似文章
@WY_mask: 给各类 AI 编程助手打造持久化记忆引擎 http://github.com/rohitg00/agentmemory… 在后台静默记录代码修改和上下文 自动提取并压缩成结构化记忆 节省长上下文带来的 Token 消耗 关联过去的信息,随…
agentmemory 是一个为 AI 编程助手提供持久化记忆的开源工具,能静默记录代码修改和上下文,自动提取并压缩成结构化记忆,降低 Token 消耗,并支持 Claude Code、Codex 等多种主流平台。
@Ryrenz: 太强了,把 AI 的整个记忆库压进一个文件里 GitHub 已经封神,16.2K stars 给 AI 做知识库,通常要起一套:向量数据库一个服务,全文检索一个服务,元数据再放个数据库。开发时跑 Docker Compose,部署时三个组…
Memvid 是一个将 AI 记忆系统压缩进单个文件的工具,支持向量搜索和全文检索,以 Rust 编写,具有高性能和便携性。
@discountifu: 原来真有一个叫记忆宫殿的开源项目,号称是目前跑分最强的 AI 记忆系统
介绍了一个名为 MemPalace 的开源 AI 记忆系统,声称在 LongMemEval 上达到 96.6% R@5,采用本地优先、可插拔后端的设计,支持 CLI 和 MCP 服务器部署。
@berryxia: https://x.com/berryxia/status/2084479289882194402
介绍 Memmy 这个开源 AI 记忆工具,它能跨工具记住项目、技能和业务流程图,并通过实际测试展示了找到本地项目、调用 Skills、接入业务 Agent 的能力,强调其让多个 AI 工具共享同一个工作记忆的核心理念。
@AYi_AInotes: https://x.com/AYi_AInotes/status/2069399806502453264
一篇保姆级教程,介绍如何用30分钟为AI Agent搭好持久记忆,使用开源的EverOS工具,将记忆存储为可编辑的Markdown文件,无需Docker或向量库集群。