SimpleMem: Efficient Lifelong Memory for LLM Agents
Store, compress, and retrieve long-term memory with semantic lossless compression — text and multimodal — so agents recall more while spending fewer tokens.
- Source repo
- aiming-lab/SimpleMem
- Stars
- ★ 3.9k
- Last updated
- 4mo ago v0.3.0
- FARS reviewed
- Nov 08, 2026
- License
- MIT
- Primary language
- Python
- FA score
- 47/100 · Major gaps
At a glance
- How it runs
- Works with
- Universal · cross-platformChatGPT · Claude Code
- Cost
- Free software; you pay for model usage
- Setup effort
- Medium · a few setup steps
- You'll need
- Typical use
- Enhancing chatbots or virtual assistants that need cross-session context.
- Not a fit if
- Users who need multimodal memory through an MCP client today
- Non-technical users unwilling to edit config.py and set API keys
- Maintenance
- Commits in the last 6 monthslast commit 2026-07-24latest release v0.3.0 (2026-05-21)
- Source review
- 47/100 · Major gaps
What does this agent do, and when should you use it?
SimpleMem is a unified memory stack for LLM agents, built on storing semantically lossless memory at high information density to boost recall while cutting inference token usage by roughly 30x. It bundles three components: SimpleMem (text core), Omni-SimpleMem (multimodal memory for text, image, audio, video), and EvolveMem (self-evolving retrieval). Deployable via a Python package (simplemem) or an MCP server (with Docker self-hosting), it integrates with clients like Claude Desktop and Cursor. It works with any OpenAI-compatible API and reports state-of-the-art results on LoCoMo, MemBench, and Mem-Gallery. The repo is MIT-licensed under aiming-lab.
SimpleMem implements a three-stage pipeline: store (converts interactions into compact, structured memory units), index (organizes memories with semantic embeddings and metadata), and retrieve (fetches relevant memories by meaning). The Python API offers SimpleMem(), add_dialogue(), add_text(), add_image(), add_audio(), add_video(), ask(), and query(). It supports parallel processing (enable_parallel_processing) and self-optimization via simplemem.optimize(). The MCP server exposes text memory over streamable HTTP (MCP 2025-03-26 protocol) with hybrid retrieval and multi-tenant isolation, and is available at mcp.simplemem.cloud.
- Enhancing chatbots or virtual assistants that need cross-session context.
- Adding long-term memory to multimodal analysis applications that reference past images or audio.
- Processing large dialogue datasets more efficiently by reducing token overhead for context.
- Integrating memory capabilities into existing AI workflows via MCP or Python API.
- Improving retrieval accuracy with self-evolving configuration tuning on custom dev sets.
Key setup facts
Pulled from the install and usage notes below. The project README has the current values.
- Install / run
pip install -r requirements.txtpip install -epip install -e .[server]pip install -e .[benchmark]
- Environment variables
OPENAI_API_KEYOPENAI_BASE_URL- Runtime
- Python 3.10+
- Install notes cover
- Docker
How do you install or deploy this agent?
Clone the repo: git clone https://github.com/aiming-lab/SimpleMem.git and enter it. Install dependencies with pip install -r requirements.txt or pip install -e . (default). Optional extras: pip install -e .[server] for MCP/HTTP, pip install -e .[benchmark] for reproduction. Requires Python 3.10+ and an OpenAI-compatible API key. Copy config.py.example to config.py and set OPENAI_API_KEY (and optionally OPENAI_BASE_URL). For Docker, run docker compose up -d.
How do you use this agent?
For text memory, instantiate SimpleMem(), add dialogues with add_dialogue(), then finalize() and query with ask(). For multimodal, use add_text(), add_image(), etc. To optimize retrieval, call simplemem.optimize(mem, dev_questions, max_rounds=3) and save the config. For MCP, configure mcpServers with the URL and a Bearer token. See the repo README and docs for detailed examples.
Safety boundaries, hardening & integrations
Operational blast radius, source-verified safety controls, and first-run hardening steps before connecting this agent to real workspaces.
Declared capability surface (blast radius)
Can run terminal commands; pair with approval gates or container/OS sandboxing.
Modifies local files; work on a clean Git branch or dedicated worktree.
Makes outbound requests; verify telemetry settings and model data routing on private repos.
What are this agent's strengths and limitations?
- Reports SOTA on LoCoMo (F1=0.613, +47%) and reduces inference tokens by ~30x.
- True multimodal support (text, image, audio, video) via a unified Python API.
- Self-evolving retrieval (EvolveMem) with +25.7% relative gain on LoCoMo.
- Flexible deployment: Python package, MCP cloud service, and self-hosted Docker.
- Requires a paid OpenAI-compatible API key; must be configured before any use.
- Setup complexity: requires Python 3.10+ and configuration knowledge.
- Multimodal and MCP are separate offerings; multimodal via MCP is not yet available.
- Benchmark claims (e.g., F1) are self-reported; independent validation data not provided in the repo.
How does this agent compare with similar options?
Key facts side by side with the most closely related agents.
| Agent | Source review | Form / cost | Stars | Updated | Language | Full support on |
|---|---|---|---|---|---|---|
| SimpleMem: Efficient Lifelong Memory for LLM Agents This agent | 47 · Major gaps | Library / SDKFree + model costs | ★ 3.9k | 4mo ago | Python | ChatGPT · Claude Code |
| Yuxi – Self-Hosted Multi-Tenant Knowledge Agent Platform | 85 · Good | Self-hosted serviceFree + model costs | ★ 7.8k | today | Python | OpenAI API |
| M-flow Cognitive Memory Engine | 57 · Major gaps | CLIFree + model costs | ★ 4.5k | 4mo ago | Python | OpenAI API · Claude API |
| ApeRAG | 43 · Major gaps | Self-hosted serviceFree + model costs | ★ 1.3k | 1mo ago | Python | — |
How does FollowAgents rate this agent?
Why each dimension lost points
The evidence shows local vector-store persistence, OpenAI-compatible APIs, a hosted MCP option, and several configuration paths; the README and package guide describe API keys and data locations. Deductions: the Skill encourages proactive saving without per-save confirmation; database clearing is opt-in through clear_db or a command with --yes, but the Skill calls it irreversible and provides no recovery path; the packet shows no transport-encryption, key-protection, or dependency-audit evidence. Examples disclose external model calls but do not specify the full data sent. License and citation details provide some attribution, while publisher identity remains unverified.
The README, package guide, and main system code describe a broadly consistent text-memory workflow, but the supplied entry points differ in configuration and implementation, and the Skill uses a separate legacy-style CLI path. Deductions: these differences limit confidence in repository-wide interface consistency; the dependency file pins many versions but provides no availability or recovery evidence; the supplied code gives little evidence of robust error handling or failure messages.
The packet covers cross-session text memory, a multimodal Python interface, MCP clients, and offline retrieval tuning, and it identifies MCP as text-only today with multimodal and optimization support still planned. Deductions: Skill triggers include both explicit requests and proactive saving, leaving a broad activation boundary; no specific boundaries are given for privacy-sensitive or high-risk memory use. Python, environment-variable, Docker, and self-hosting setup are described.
The README and package guide provide navigation, installation steps, configuration precedence, API examples, troubleshooting entry points, and a roadmap; the MIT license text is complete. Deductions: the packet shows the package API, legacy Skill CLI, and multiple subprojects side by side, so naming and entry points are not fully stable; news and version details include dates and version labels but do not establish a clear maintainer or consistent maintenance path; some dependency and setup details rely on files outside the packet.
The product offers structured memory, semantic retrieval, question answering, and multimodal entry points; examples show consumable answer text and retrieval summaries. The documentation claims compression, token savings, and benchmark gains. Deductions: this static packet does not independently verify those effect claims; model APIs, embeddings, and optional reflection or parallel processing incur costs, with no typical cost baseline or benefit calculation provided.
The README gives concrete workflow and capability descriptions, the package guide supplies API examples, and the main system code shows component wiring. Deductions: performance and benchmark claims lack result records or methodological detail in the supplied evidence; corroboration across files is partial because the Skill and package interfaces differ; the documentation does not consistently distinguish implemented behavior, promotional claims, and environment-dependent inference.
- Proactive saving persists conversation content; confirm what will be stored and how the selected model service handles data before use.
- The clear operation is described as irreversible; the packet does not document backup or recovery.
- Performance and benchmark figures in the README are project claims; this static review did not run the code or independently verify them.
Recent releases
Latest entries from the project's GitHub Releases. Notes are quoted from upstream as written, not rewritten or tested by FollowAgents.
-
v0.3.0 v0.3.0 — Unified SimpleMem package
Release notes excerpt
SimpleMem v0.3.0 — Unified package SimpleMem, Omni-SimpleMem, and EvolveMem now ship as a single simplemem package with auto-routing. Highlights - One import, auto-routing: from simplemem import SimpleMem. The first method you call selects the backend (text vs multimodal). - Text memory (SimpleMem): semantic lossless compression, intent-aware retrieval. - Multimodal (Omni-SimpleMem): text, image, audio, video via add_image / add_audio / add_video / query. …View on GitHub ↗ -
v0.2.0 v0.2.0 — Omni-SimpleMem: Multimodal Memory
Release notes excerpt
What's New 🧠 Omni-SimpleMem: Multimodal Memory SimpleMem now supports text, image, audio & video memory. - +411% on LoCoMo F1 over previous baselines - +214% on Mem-Gallery F1 - 5.81 q/s retrieval throughput (3.5x faster) - Built on three principles: Selective Ingestion, Progressive Retrieval, Knowledge Graph Augmentation Other Changes - README restructured with parallel SimpleMem (text) + Omni-SimpleMem (multimodal) organization - Added Roadmap for upcoming multimodal infrastructure (cross-session, MCP, Docker) - All 13 language READMEs updated …View on GitHub ↗ -
v0.1.0 v0.1.0 — Initial Release (Text Only)
Release notes excerpt
SimpleMem v0.1.0 — Initial Release (Text Only) An efficient memory framework based on semantic lossless compression for LLM agents. Features - Semantic Structured Compression — converts dialogues into compact, atomic memory units - Online Semantic Synthesis — consolidates related memory fragments to eliminate redundancy - Intent-Aware Retrieval Planning — dynamic search intent inference with parallel multi-view retrieval - 43.24% F1 on LoCoMo benchmarks (26% improvement over Mem0) - ~550 tokens per query — 30× fewer than full-context approaches …View on GitHub ↗
FAQ
Is it free?
Can I run it locally offline?
How do I add multimodal data?
Does memory persist across sessions?
Thanks — we use this to improve the page.
Subscribe to the FollowAgents RSS feed, or save this agent to your browser shortlist to compare on your next visit.