mem0-oss-to-platform
Skill by mem0ai
Plans, then executes, a migration of a project from the self-hosted mem0 OSS SDK to the hosted mem0 Platform SDK. Built for developers moving mem0 Python or TypeScript code to the hosted API.
Install mem0-oss-to-platform
Built from the published package, never by AI.
git clone --depth 1 https://github.com/mem0ai/mem0 /tmp/mem0 && mkdir -p ~/.claude/skills && cp -r /tmp/mem0/skills/mem0-oss-to-platform ~/.claude/skills/mem0-oss-to-platformRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/mem0ai/mem0 /tmp/mem0 && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/mem0/skills/mem0-oss-to-platform ~/.gemini/antigravity-cli/skills/mem0-oss-to-platformAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install mem0-oss-to-platform in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill migrates a project's memory layer from the self-hosted mem0 OSS SDK to the hosted mem0 Platform SDK. It covers Python, moving from the Memory class to MemoryClient, and TypeScript, moving from mem0ai/oss to mem0ai. The project can be an agent, a RAG pipeline, an API service, a chatbot, or a background worker.
It works in phases. The skill finds every mem0 call site, config block, dependency and env var, then checks the API against the installed SDK. It writes a reviewable plan to MEM0_MIGRATION_PLAN.md and stops. Code changes only start after the developer approves, and then the skill verifies the result with a smoke test against the hosted API. It is meant for developers who already use the self-hosted SDK and want to move to the hosted service, and it touches only mem0 code.
Written from the project's SKILL.md and checked against it.
What it can do
- Discover mem0 footprintFinds every mem0 import, config block, call site, dependency and env var in the project.
- Verify API against installed SDKChecks the real method signatures of the installed package before mapping calls.
- Map call sites and flag gapsMaps each OSS call to its hosted equivalent and lists items that need a human decision.
- Write migration planWrites MEM0_MIGRATION_PLAN.md for review and stops until the developer approves.
- Execute approved planMakes edits file by file, limited to mem0 code, dependencies and env, after approval.
- Verify the migrationRuns import checks and a smoke test of add, search, get_all and delete_all against the hosted API.
What you need
- A mem0 API key (MEM0_API_KEY) from app.mem0.ai
- mem0ai Python package version 2.x (>=2.0.0,<3.0.0)
- mem0ai npm package version 3.x (>=3.0.0,<4.0.0)
- An existing project that uses the mem0 OSS SDK
Try asking
- Migrate my mem0 setup to the platform
- Switch from self-hosted mem0 to MemoryClient
- Replace my local Qdrant config with my mem0 API key
Good to know
- Only touches the mem0 integration and does not refactor other code.
- Hosted add is asynchronous, so new memories may take a short time to appear in search.
- Migrating existing locally stored memories is out of scope unless the developer asks for it.
- Does not apply to projects with no mem0 yet. The source points to mem0-integrate for those.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/mem0-oss-to-platform/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
LICENSE10 KB -
README.md3 KB -
SKILL.md9 KB -
references/api-mapping.md12 KB -
references/gotchas.md7 KB
Show all 6 files
-
references/plan-template.md4 KB
Alternatives to mem0-oss-to-platform
All alternatives →Set up and diagnose a local agentmemory installation. It covers MCP connections, environment variables, ports, auth and feature flags, and is for users getting started or checking a connection.
Analyzes a Karpathy-pattern LLM wiki and builds an interactive knowledge graph with entities, implicit links and topic clusters. Built for people who maintain LLM-generated markdown wikis.
Saves and loads timestamped reports for AI assistants, with keyword routing for fast lookup. It also runs an Actionability Gate that checks report links before delivery. Intended for morning briefings, meeting digests and research reports.
Removes a personal fact, preference, relationship detail, topic or past event from Muse's active memory. It also stops existing copies and automations from bringing it back.
Git Context Controller (GCC) is a skill that stores agent memory as a versioned file system under .GCC/. It suits multi-step projects that need milestone tracking, branching and context recovery across sessions.
Guides an evidence-first reading of a book, article, PDF or document set. Built for readers who want claims, evidence and recall rather than a short summary.
Compare with agentmemory-config, understand-knowledge or reports
mem0-oss-to-platform: common questions
Does the skill change my code without asking?
No. It writes a plan first and only edits code after the developer approves that plan.
Will my existing local memories move to the hosted platform?
Not by default. The source says data migration is out of scope unless the developer asks, and a hosted-Qdrant migration script is covered in the gotchas reference.
Which SDK versions does it support?
The source lists mem0ai on PyPI from 2.0.0 up to but not including 3.0.0, and mem0ai on npm from 3.0.0 up to but not including 4.0.0.
How do I install mem0-oss-to-platform?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is mem0-oss-to-platform free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is mem0-oss-to-platform safe to use?
It scores 93 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to mem0-oss-to-platform?
Similar skills: agentmemory-config, understand-knowledge, reports, forget.
