getmem.ai Memory
/install getmem
getmem.ai Memory Skill
Persistent memory for your AI agent via getmem.ai.
Setup
Set your API key in the environment:
export GETMEM_API_KEY=gm_live_YOUR_KEY_HERE
Get your key at https://platform.getmem.ai — $20 free credit on signup.
Usage
import getmem_ai as getmem, os
mem = getmem.init(os.environ["GETMEM_API_KEY"])
# Before each LLM call — get relevant memory context
result = mem.get(user_id, query=user_message)
context = result["context"] # inject into system prompt
# After each turn — save both user + assistant messages
mem.ingest(user_id, messages=[
{"role": "user", "content": user_message},
{"role": "assistant", "content": reply},
])
How it works
mem.get()fetches only the relevant memories for the current query (semantic search)- Context is injected into your system prompt — typically 200-800 tokens
mem.ingest()saves the full conversation exchange asynchronously- Memory persists indefinitely — no TTL, no purge
Token savings
Standard approach: full conversation history every turn = 10,000-40,000 tokens With getmem: only relevant context = 200-800 tokens. Save up to 95% on context tokens.
Links
- Website: https://getmem.ai
- Platform: https://platform.getmem.ai
- PyPI: https://pypi.org/project/getmem-ai/
- npm: https://npmjs.com/package/getmem
- OpenClaw plugin: clawhub:getmem-openclaw
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install getmem - After installation, invoke the skill by name or use
/getmem - Provide required inputs per the skill's parameter spec and get structured output
What is getmem.ai Memory?
Persistent memory for AI agents via getmem.ai. Call mem.get() before each LLM call to inject context, and mem.ingest() after each turn to save the conversation. It is an AI Agent Skill for Claude Code / OpenClaw, with 85 downloads so far.
How do I install getmem.ai Memory?
Run "/install getmem" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is getmem.ai Memory free?
Yes, getmem.ai Memory is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does getmem.ai Memory support?
getmem.ai Memory is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created getmem.ai Memory?
It is built and maintained by NimbleV2023 (@nimblev2023); the current version is v1.0.2.