More screenshots
Works with the AI Agents you already use
Shihai — Long-Term Memory for Any AI
by 苏苏侠
Local, offline long-term memory for AI agents using MCP and quantized embeddings.
Free
Shihai — Long-Term Memory for Any AI
Example session with this skill installed
Session 1 — it remembers something from last week
User: what was the serial number on that copper key I told you about last week?
Agent → memory_search({ query: "copper key serial number" })
→ 1 result id: 4127 date: 2026-11-14 title: 铜钥匙 KT-2041 text: "那把铜钥匙是 KT-2041,锁在书桌右边第二个抽屉。"
Agent: KT-2041 — the copper key, the one in the second drawer on the right. You told me on Nov 14.
No word in the question matches the stored text. It finds it by meaning.
Session 2 — storing it in the user's own words
User: remember this — I don't eat cilantro, don't recommend it again
Agent → memory_add({ title: "不吃香菜", text: "我不吃香菜,以后别推荐。", date: "2026-11-23", importance: 0.7 })
→ stored · 1 new memory · sea: main · total 19,604
Session 3 — one month later, it checks before answering
User: any dinner ideas? I'm ordering in
Agent → memory_search({ query: "food preferences" })
→ 2 results
不吃香菜 (2026-11-23, imp 0.7)
胃不好,辣的少吃 (2026-11-08, imp 0.8)
Agent: Two things from your own notes — no cilantro, and you said to go easy on spicy because of your stomach. Thai without cilantro, or something grilled?
What the numbers look like
Tools exposed 23
Recall latency (5k memories, local) ~40 ms
Read whole library 67 ms @ 30k entries
Package size 47 MB (model included)
Network calls 0
Install, once
npm i -g shihai-mcp shihai start # http://127.0.0.1:7788
Nothing else. No API key, no account, no cloud. The memory file stays in the user's own home directory. END
- Read your context and instructions
- Compiled the shihai
Your agent gets a memory that survives new sessions: 23 tools to store, search and recall what the user told it, running locally with no cloud, no API key and no account.
Connects securely to your tools. The creator never sees your data.
About this skill
Shihai (识海) is a long-term memory layer for AI agents. It runs locally on the user's machine as an MCP server, so an agent can store what the user tells it and recall it in later sessions.
Why it exists: every new chat session starts blank. The agent forgets your name, your project, your preferences. Shihai fixes that without sending anything to a server.
What it does:
- 23 memory tools: add, search, list, confirm, doubt, annotate, archive, count, export/import, and more
- Memories decay: frequently recalled ones stay bright, forgotten ones sink, deleted ones leave a mark
- Recall is semantic, not keyword: ask about "that copper key" and it finds the entry that said "KT-2041"
- Fully offline: the embedding model (22.9 MB, quantized) ships inside the npm package. No Python, no network, no API key
- Data lives in ~/.dsh/consciousness-seas on the user's own disk
Install (on the user's machine, once): npm i -g shihai-mcp shihai start
Requirements: Node.js 20+. Works on Windows, macOS, Linux.
How the agent uses it: this skill tells the agent when to call which memory tool. The server itself runs locally; Agensi is only the listing that points at it.
Free. Open source. No account, no telemetry.
Requires Node.js 20+. Local server must be running via CLI. Does not store full transcripts, only summarized nodes.The local server must be running (shihai start) before the agent can call any tool.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Free to use
No account required to browse
Trust & safety
Security scan
Security scan passed 11 days ago
- Free with an Agensi account
- Software
Node.js
Permissions
Writes only to the user's own memory folder under their home directory. No other files are read or modified.
What's inside
Frequently Asked Questions
New in LLM Ops
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for LLM Ops.