by aiming-lab
[ICML'26] SimpleMem: Efficient Lifelong Memory for LLM Agents — Text & Multimodal
# Add to your Claude Code skills
git clone https://github.com/aiming-lab/SimpleMemSimpleMem is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by aiming-lab. [ICML'26] SimpleMem: Efficient Lifelong Memory for LLM Agents — Text & Multimodal. It has 3,882 GitHub stars.
SimpleMem's catalog security scan is still queued. You can run an instant dependency and prompt-injection check now with the "Scan for vulnerabilities" button above.
Clone the repository with "git clone https://github.com/aiming-lab/SimpleMem" and add it to your Claude Code skills directory (see the Installation section above).
SimpleMem is primarily written in Python. It is open-source under aiming-lab on GitHub, so you can review or fork the full source.
Yes. AgentsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh SimpleMem against similar tools.
No comments yet. Be the first to share your thoughts!
Unlocks once the catalog security scan passes (runs nightly).
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.
Store, compress, and retrieve long-term memories with semantic lossless compression. Now with multimodal support for text, image, audio & video.
🇨🇳 中文 • 🇯🇵 日本語 • 🇰🇷 한국어 • 🇪🇸 Español • 🇫🇷 Français • 🇩🇪 Deutsch • 🇧🇷 Português 🇷🇺 Русский • 🇸🇦 العربية • 🇮🇹 Italiano • 🇻🇳 Tiếng Việt • 🇹🇷 Türkçe
🚀 Quick Start • 🌟 Overview • 📦 Installation • 🔌 MCP Server • 📊 Reproduce • 📝 Citation
simplemem package — one import, auto-routing! SimpleMem, Omni-SimpleMem, and EvolveMem now live in a single package. from simplemem import SimpleMem auto-selects the text or multimodal backend from the first method you call, and simplemem.optimize(...) taps EvolveMem's self-evolution loop. Install in one step with pip install -e ..pip install simplemem. View Package Usage Guide →At a high level, SimpleMem works as a long-term memory system for LLM-based agents. The workflow consists of three simple steps:
This design allows LLM agents to maintain context, recall past information efficiently, and avoid repeatedly processing redundant history.
SimpleMem ships as a single simplemem package. The default mode="auto" automatically detects which backend to use based on what you call — no manual configuration needed:
from simplemem import SimpleMem
mem = SimpleMem() # mode="auto" — backend chosen by first call
The first method you call determines the backend:
| First call | Backend selected | Why |
|---|---|---|
add_dialogue() |
Text (SimpleMem) | Dialogue-based API → text mode |
add_text() / add_image() / add_audio() / add_video() |
Omni (Omni-SimpleMem) | Multimodal API → omni mode |
📝 Auto → Text (pure text input)
from simplemem import SimpleMem
mem = SimpleMem() # auto mode
# add_dialogue() → text backend auto-selected
mem.add_dialogue(
"Alice",
"Bob, let's meet at Starbucks tomorrow at 2pm",
"2025-11-15T14:30:00",
)
mem.add_dialogue(
"Bob",
"Sure, I'll bring the market analysis report",
"2025-11-15T14:31:00",
)
mem.finalize()
answer = mem.ask("When and where will Alice and Bob meet?")
# → "16 November 2025 at 2:00 PM at Starbucks"
🧠 Auto → Omni (multimodal input)
from simplemem import SimpleMem
mem = SimpleMem() # auto mode
# add_image() → omni backend auto-selected
mem.add_text(
"User loves hiking in the Rocky Mountains.",
tags=["session_id:D1"],
)
mem.add_image("photo.jpg", tags=["session_id:D1"])
mem.add_audio("voice_note.wav", tags=["session_id:D1"])
result = mem.query("What does the user enjoy?", top_k=5)
for item in result.items:
print(item["summary"])
mem.