{"skill":{"slug":"simplemem","displayName":"Simplemem","summary":"Efficient Lifelong Memory for LLM Agents - semantic compression, cross-session memory, and intent-aware retrieval","description":"---\nname: simplemem\nversion: 1.0.0\ndescription: Efficient Lifelong Memory for LLM Agents - semantic compression, cross-session memory, and intent-aware retrieval\nmetadata: {\"openclaw\": {\"emoji\": \"🧠\", \"requires\": {\"bins\": [\"python\"], \"env\": [\"OPENAI_API_KEY\"]}, \"primaryEnv\": \"OPENAI_API_KEY\", \"homepage\": \"https://github.com/aiming-lab/SimpleMem\"}}\n---\n\n# SimpleMem Skill\n\nIntegrates SimpleMem: Efficient Lifelong Memory for LLM Agents into OpenClaw.\n\n## What it does\n\nSimpleMem provides semantic memory compression and retrieval for agents:\n- **Store**: Compresses interactions into compact memory units\n- **Synthesize**: Merges related memories on-the-fly\n- **Retrieve**: Intent-aware planning for efficient context retrieval\n\n## Installation\n\n```powershell\n# Install Python dependency\npip install simplemem\n\n# Or via repo\ngit clone https://github.com/aiming-lab/SimpleMem.git\ncd SimpleMem\npip install -r requirements.txt\n```\n\n## Configuration (Optional - Full Features)\n\nFor full SimpleMem features, set your OpenAI API key:\n```powershell\n$env:OPENAI_API_KEY = \"your-openai-key\"\n```\n\n**Without API key**: Uses JSON fallback (basic keyword search)\n**With API key**: Uses full SimpleMem with semantic embeddings\n\n## Usage\n\n### PowerShell Script\n\n```powershell\n# Agregar memoria\n.\\simplemem.ps1 -Action add -Content \"El usuario prefiere cafe con leche de avena\"\n\n# Buscar memorias\n.\\simplemem.ps1 -Action search -Query \"cafe\"\n\n# Ver estadisticas\n.\\simplemem.ps1 -Action stats\n```\n\n### Python API\n\n```python\nfrom simplemem import SimpleMemSystem, set_config, SimpleMemConfig\n\n# With API key (full features)\nconfig = SimpleMemConfig()\nconfig.openai_api_key = \"your-key\"\nset_config(config)\nsystem = SimpleMemSystem()\n\n# Add memory\nsystem.add(\"User preference: coffee with oat milk\", user_id=\"user1\")\n\n# Retrieve\nresults = system.retrieve(\"What does user like?\", user_id=\"user1\")\n```\n\n## Key Features\n\n- **Cross-session memory**: Persistent across conversations (64% better than Claude-Mem)\n- **Semantic compression**: 43.24% F1 on LoCoMo benchmark\n- **Fast retrieval**: 388ms average retrieval time\n- **Multi-index**: Semantic + Lexical + Symbolic layers\n- **Fallback**: JSON-based storage when no API key available\n\n## Files\n\n- `simplemem.py` - Main Python wrapper\n- `simplemem.ps1` - PowerShell CLI script\n- `data/` - Storage directory (created on first use)\n\n## Credits\n\n- Repo: https://github.com/aiming-lab/SimpleMem\n- Paper: https://arxiv.org/abs/2601.02553\n- Discord: https://discord.gg/KA2zC32M\n","tags":{"latest":"1.0.1"},"stats":{"comments":0,"downloads":1053,"installsAllTime":40,"installsCurrent":2,"stars":2,"versions":2},"createdAt":1771623432933,"updatedAt":1778491594064},"latestVersion":{"version":"1.0.1","createdAt":1771632310763,"changelog":"- No changes detected in this version. The skill remains at version 1.0.0 with no file updates.","license":null},"metadata":{"setup":[{"key":"OPENAI_API_KEY","required":true}],"os":null,"systems":null},"owner":{"handle":"nantes","userId":"s170qwtzgq9bfexvxw8e5ws1ms83g6qn","displayName":"Ivan Cetta","image":"https://avatars.githubusercontent.com/u/2672456?v=4"},"moderation":null}