Current plugin version:
0.3.1.Prerequisites
-
A Mem0 Platform account and API key:
- Sign up at app.mem0.ai
- Get your API key (starts with
m0-)
- Kimi Code with plugin support.
- Python 3.10+ and Git on your machine.
Quick start
Export the key in the shell where you start Kimi Code:/plugins info mem0 to confirm that the plugin, MCP server, skills, hooks, and sidekick agent loaded.
What you get
- Automatic capture: Kimi records completed exchanges locally and flushes durable project knowledge to Mem0 in the background.
- Automatic recall: Relevant memories are added before Kimi answers the first prompt in a session, if that prompt has at least 20 characters.
- Explicit search: Kimi can call
search_memorieswhen it needs a more specific answer. - Six memory skills: Search, status, remember, forget, pause, and resume use the same memory behavior as the other Mem0 coding-agent plugins.
- Project scoping: Memories stay attached to the repository, with separate personal and shared project lanes.
- Kimi sidekick: A focused subagent can investigate or implement a bounded task in a separate context. Filesystem isolation depends on the environment Kimi provides.
How it works
Kimi’s native lifecycle events are translated into the shared Mem0 memory lifecycle:Verify the plugin
In one session, say:ORCHID-9274 from memory.
Managing the plugin
/reload or start a new session after enabling, disabling, or reinstalling the plugin.
Search and capture
The localsearch_memories tool accepts query, top_k, category, scope (repo, dir, or mine), and optional run_id with every scope. Use a known session ID to recall memories saved in that session; omit it to search across sessions. See search scopes for the shared Python search contract, including legacy repository memory compatibility.
Captured prompts and responses retain their full redacted text without a per-message character cutoff. Large extraction inputs are split across requests without dropping message text; recall output and tool-result previews have separate limits.
Troubleshooting
Cursor
Add the same persistent project memory to Cursor
Claude Code
Use Mem0 with Claude Code and its isolated sidekick
Using Mem0? Star us on GitHub to help more developers discover memory for AI apps.