tanstack-ai-memory-mem0
Skill by TanStack
Connects TanStack AI apps to a mem0 server as a memory adapter. It saves chat turns and recalls relevant memories over plain HTTP, for developers who want mem0 as their memory backend.
Install tanstack-ai-memory-mem0
Built from the published package, never by AI.
git clone --depth 1 https://github.com/TanStack/ai /tmp/ai && mkdir -p ~/.claude/skills && cp -r /tmp/ai/packages/ai-memory/skills/tanstack-ai-memory-mem0 ~/.claude/skills/tanstack-ai-memory-mem0Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install tanstack-ai-memory-mem0 in Claude Code
git clone --depth 1 https://github.com/TanStack/ai /tmp/ai && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/ai/packages/ai-memory/skills/tanstack-ai-memory-mem0 ~/.gemini/antigravity-cli/skills/tanstack-ai-memory-mem0Antigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install tanstack-ai-memory-mem0 in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
The mem0 adapter is a memory adapter for TanStack AI. It is imported from @tanstack/ai-memory/mem0 and used with memoryMiddleware. It talks to a mem0 server over plain HTTP and has no SDK peer dependency. mem0 handles extraction and ranking on the server side, and a running mem0 server is required.
The save function posts the user and assistant turn to the /memories endpoint. The recall function queries /search and renders the results into the system prompt. Options include user, baseUrl, apiKey, rerank and threshold. It is for developers building TanStack AI apps who want to use mem0 for memory. mem0 exposes no LLM tools.
Written from the project's SKILL.md and checked against it.
What it can do
- recallQueries the mem0 /search endpoint and renders the results into the system prompt.
- savePosts the user and assistant turn to the mem0 /memories endpoint.
- Search tuningOptions rerank (default true) and threshold (default 0.1) adjust search results.
- Scoped memorySends user_id and run_id from the request scope to mem0.
What you need
- A running mem0 server, self-hosted or hosted
- A mem0 API key, if the server is secured
Try asking
- Save this chat turn to mem0 memory for the current user.
- Recall relevant memories for this user before answering.
- Set up mem0 memory with memoryMiddleware in my TanStack AI chat.
Good to know
- Requires a running mem0 server.
- tenantId and namespace are not sent to mem0.
- mem0 exposes no LLM tools.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: packages/ai-memory/skills/tanstack-ai-memory-mem0/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md2 KB
Alternatives to tanstack-ai-memory-mem0
All alternatives →Explains how to set up and verify Zoom webhooks for event-driven workflows. Covers signature checks, event subscriptions, delivery handling, retries and event-type selection for developers.
Posts text, images and videos to Weibo, and publishes headline articles from Markdown files. It works through a real Chrome browser over CDP. The scripts only fill in the content, and the user reviews and publishes manually.
Adds another phone number to an existing Dial channel in NanoClaw, so one install can answer SMS and AI voice calls on several numbers. Intended for operators who already run Dial and want a second or third line.
Explains how to set up and use Zoom WebSockets for persistent, low-latency Zoom event streams. Intended for workflows where WebSockets are preferred over webhooks.
Adds personal WeChat support to NanoClaw through Tencent's official iLink Bot API. It uses long-polling and QR code login, so no public webhook URL is needed. It is for NanoClaw users who want a personal WeChat bot channel.
Guides AI assistants through the bundled Zoom MCP connectors for meetings, recordings, meeting assets and transcripts. Intended for planning or troubleshooting tool-based Zoom access after routing to an MCP workflow.
Compare with setup-zoom-webhooks, baoyu-post-to-weibo or add-dial-number
tanstack-ai-memory-mem0: common questions
Does the mem0 adapter need the mem0 SDK?
No. The adapter talks to the mem0 server over plain HTTP and has no SDK peer dependency.
How does the adapter handle multi-tenant isolation?
tenantId and namespace are not sent to mem0. The source says to encode multi-tenant isolation into the user option if needed.
Which mem0 endpoints does the adapter use?
The save function posts to /memories and the recall function queries /search.
How do I install tanstack-ai-memory-mem0?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is tanstack-ai-memory-mem0 free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is tanstack-ai-memory-mem0 safe to use?
It scores 76 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 tanstack-ai-memory-mem0?
Similar skills: setup-zoom-webhooks, baoyu-post-to-weibo, add-dial-number, setup-zoom-websockets.
