claude-mem
Captures what your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions so work carries over. Works with Claude Code and several other coding agents.
Gives an AI agent a persistent place to store and retrieve its memory, knowledge and skills as files it can browse, search and edit. You can open any directory to see and correct what the agent has stored, and find or update skills and kanban tasks there as well.
Auto-invoked ships a router so the right skill fires automatically as you prompt. No remembering which skill to call.
Normal is the plain upstream plugin, installed as-is. You invoke its skills yourself.
Claude Code
The plugin> /plugin marketplace add volcengine/openviking> /plugin install openviking-memory@openvikingAuto-invocation> /plugin marketplace add flowy-sh/flowy-core> /plugin install flowy-core> /plugin install flowy-openviking-memory
Codex
$ npx skills add volcengine/openviking -a codex
Cursor
$ npx skills add volcengine/openviking -a cursor
Gemini CLI
$ npx skills add volcengine/openviking -a gemini-cli
GitHub Copilot
$ copilot plugin marketplace add volcengine/openviking$ copilot plugin install openviking-memory@openviking
OpenCode
$ npx skills add volcengine/openviking -a opencode
Windsurf
$ npx skills add volcengine/openviking -a windsurf


Website · Live Demo · GitHub · Issues · Docs · Blog
Lark ·
WeChat ·
Discord ·
X
OpenViking is an open-source context database for AI agents — one filesystem for everything an agent knows: knowledge, memory, and skills.
Most agent memory is a black box: text goes in, embeddings come out, and nobody can see what was actually stored. OpenViking organizes context as a virtual filesystem under viking:// instead. Agents navigate it like files — ls, tree, read, write, grep — and you can open any directory to inspect and edit what your agent knows. Every directory carries a generated summary, so agents can scan summaries first and decide what to read.
Try OpenViking Studio in your browser, no installation required. Self-host Web Studio.
viking:// URI for browsing and retrieval. → Viking URI · Context typesfind runs a query directly; search plans retrieval from session context. → Retrievalov compile organizes source material into a wiki, knowledge graph, or report. → Sessions · Context compilationArchitecture · Design rationale
viking://
├── resources/ # Resources: project docs, repos, web pages, etc.
│ └── my_project/
│ ├── docs/
│ │ ├── api/
│ │ └── tutorials/
│ └── src/
└── user/
└── {user_id}/
├── memories/
│ └── preferences/
│ ├── writing_style
│ └── coding_habits
├── resources/
│ └── private_project/
├── skills/
│ ├── search_code
│ └── analyze_data
└── peers/
└── web-visitor-alice/
The three loading tiers:
Semantically processed directories carry L0/L1 summaries, so agents can judge relevance before reading full files:
viking://resources/my_project/
├── .abstract.md # L0: quick relevance check
├── .overview.md # L1: structure and key points
└── docs/
├── .abstract.md
├── .overview.md
└── api/
├── auth.md # L2: full content, loaded on demand
└── endpoints.md
OpenViking 0.3.22 has been evaluated on long-conversation user memory (LoCoMo) and multi-turn agent tasks (tau2-bench). Full results and setup details, including knowledge-base QA, are in the benchmark report; reproduction scripts live in ./benchmark.
To run your own experiments, follow the RAG and Memory evaluation guide for routine VikingBot memory evaluation, published LoCoMo reproduction, separate mem0 prompt comparisons, and RAG evaluation.
The memory evaluation used Doubao 2.0 Pro as the VLM and Doubao-embedding-vision-251215 as the embedding model.
Set up an OpenViking server first; if you already have one, skip to Use it with your agent. Deploying your own needs uv, Python 3.10+ and a model provider with an embedding model and a VLM.
Let your agent deploy it
Follow this guide to install and start an OpenViking Server for me:
https://docs.openviking.ai/en/getting-started/04-setup-for-agent
Ask me for the model provider, the models, the workspace directory and whether
other machines need to reach the server; don't guess. When you ask for the model
API key, tell me how to hand it over if I'd rather not paste it into this chat,
and never repeat it back.
When it's running, tell me the server's address and whether auth is turned on.
Your agent will first ask which model provider to use and for its API key.
Deploy it yourself
Install OpenViking and run the setup wizard, which configures the models:
uv tool install openviking --upgrade && openviking-server init
init writes ~/.openviking/ov.conf and supports Volcengine, OpenAI, Codex OAuth, Kimi, GLM and local Ollama; see the configuration guide. The server runs in the foreground, so keep this terminal open.
Use OpenViking Service (hosted by Volcengine)
The same OpenViking service, run for you by Volcengine. The first 50 files are free. Activate it on the Volcengine product page, then create an API key in the console under User Management → API Key. The server address is https://api.vikingdb.cn-beijing.volces.com/openviking; you'll need it and the API key when you connect your agent.
The openviking package includes the ov CLI. With the server running, import a repository and search it:
ov status
ov add-resource https://github.com/volcengine/OpenViking
# Replace TASK_ID with the returned task_id; repeat until status is completed
ov task status TASK_ID
ov ls viking://resources/
ov tree viking://resources/volcengine -L 2
ov find "what is openviking"
ov grep "openviking" --uri viking://resources/volcengine/OpenViking/docs/en
ov find returns matching context with URIs you can inspect. For client configuration (ov config), standalone CLI installs, and index maintenance, see CLI setup.
Build your own integration with the Python, Go, or TypeScript SDK, or the HTTP API.
Connect your coding agent to OpenViking for cross-session memory. The memory plugin installer covers Claude Code, Codex, Cursor, TRAE, OpenCode and more, and detects which ones you have.
Let your agent install it
See 12 openviking alternatives
Captures what your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions so work carries over. Works with Claude Code and several other coding agents.
Gives Claude Code long-term memory through Hindsight. It recalls relevant past context before answering, retains durable facts as the agent learns them, and reflects over stored memory.
Local-first memory for Claude Code. It stores conversations verbatim in a private palace you can search before answering about past work, people, projects, or decisions, with optional shared-brain hub setup.
Gives Claude Code a private memory that stays on your machine. It stores past conversations word for word, so you can ask what was decided, what happened before, or who was involved and get the original context back. It can also hand tasks to other agents.
Install it once and the right skill fires as you prompt, with no slash command to remember. It is listed on Flowy in the Agent Memory category. It includes openviking-memory, openviking-skills, ov-experience-memory. Free and open source.
Is this plugin yours?
Claim it with GitHubSubmit a pluginPromote it