← all repositories
aiming-lab/SimpleMem

A memory system that learns how to remember better

SimpleMem compresses agent conversations into retrievable facts, then auto-tunes its own retrieval strategy with an LLM-driven evolution loop.

3.7k stars Python AgentsRAG · Search
SimpleMem
Not currently ranked — collecting fresh signals.
star history

What it does SimpleMem is a long-term memory stack for LLM agents. It ingests text, images, audio, or video; compresses them into structured, semantically “lossless” memory units; and retrieves relevant context by meaning rather than keyword matching. The package auto-routes between text and multimodal backends based on your first API call.

The interesting bit The EvolveMem layer is the twist: it runs an LLM-driven Evaluate → Diagnose → Propose → Guard cycle on a dev set to discover retrieval hyperparameters—and even new retrieval dimensions—that weren’t in the original design. The README claims +25.7% relative improvement on LoCoMo and +18.9% on MemBench from this self-evolution, though independent verification is left as an exercise.

Key highlights

  • Single pip install simplemem; mode="auto" picks text or omni backend from your first method call
  • MCP server at mcp.simplemem.cloud plugs into Claude Desktop, Cursor, LM Studio, Cherry Studio, or any MCP client
  • Multimodal support: text, image, audio, video with unified add_* / query interface
  • Parallel processing knobs for batch ingestion and retrieval
  • simplemem.optimize() exports a tuned Config JSON for production deployment

Caveats

  • Benchmark claims (LoCoMo F1=0.613, “+47%”, “+51%”) are self-reported from the research paper; no third-party replication is cited in the README
  • The “semantic lossless compression” framing is aspirational—what’s actually implemented is structured fact extraction with coreference resolution and absolute timestamps

Verdict Worth a look if you’re building persistent agents and tired of hand-tuning RAG pipelines. Skip it if you need battle-tested, externally validated retrieval—this is research code with a PyPI package and a cloud MCP endpoint.

Frequently asked

What is aiming-lab/SimpleMem?
SimpleMem compresses agent conversations into retrievable facts, then auto-tunes its own retrieval strategy with an LLM-driven evolution loop.
Is SimpleMem open source?
Yes — aiming-lab/SimpleMem is open source, released under the MIT license.
What language is SimpleMem written in?
aiming-lab/SimpleMem is primarily written in Python.
How popular is SimpleMem?
aiming-lab/SimpleMem has 3.7k stars on GitHub.
Where can I find SimpleMem?
aiming-lab/SimpleMem is on GitHub at https://github.com/aiming-lab/SimpleMem.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.