Semurg agent memory
セルフホスト型のAIエージェント向け永続メモリ:ナレッジグラフ、ベクトル、グラフRAGを1つのエンジンに統合し、引用付きの回答を提供。最初のノードは無料です。
ドキュメント
Semurg memory
Your agent starts every session from zero and re-learns the project. Semurg gives it a memory it keeps: what it learns, with where it came from, shared by every agent you connect. Every answer cites its source, or says nothing is stored.
Keep out of it: secrets, passwords, keys and other people's personal data.
Two ways to run it
Semurg Cloud: nothing to install
- Sign up at https://one.semurg.io/cloud with your e-mail. Your key is shown once; a new account starts with 1,000 free credits.
- Paste one line. In Claude Code:
claude mcp add --scope user --transport http semurg https://one.semurg.io/v1/api/mcp --header "Authorization: Bearer <your key>"
The cloud page fills that line in with your key, and has the line for Codex, Gemini CLI and Cursor. You pay for the calls you make, with credits bought ahead (all taxes included); the memory is held in Singapore, and you can export it at any time, free.
Your own node: free, on a Linux server you run
Linux x86-64 with 4 GB of memory, one line:
curl -fsSL https://one.semurg.io/install/coding-agents | sudo bash
The installer ends by saying where your node's API token is kept; it never prints the token. Read it into your shell:
export SEMURG_API_TOKEN=$(sudo grep '^SEMURG_API_TOKEN=' /etc/semurg/semurg.env | cut -d= -f2-)
Better still, give each assistant its own agent token, limited to reading or writing and to the memory spaces you name (https://one.semurg.io/llms.txt shows how). The first node is free forever.
Connect your assistant (your own node)
| Assistant | How | Tested |
|---|---|---|
| Claude Code | /plugin marketplace add One-Semurg/semurg-mcp, then /plugin install semurg-memory@semurg: the memory tools and a skill; it keeps nothing by itself | |
| Claude Code, tools only | claude mcp add-json --scope user semurg '{"type":"http","url":"http://127.0.0.1:4000/v1/mcp","headers":{"Authorization":"Bearer ${SEMURG_API_TOKEN}","X-Semurg-Scope":"default"}}' | connected on r11.196 |
| Cursor | Add to Cursor (start Cursor from the shell that holds SEMURG_API_TOKEN) | |
| Kiro | Add to Kiro (Kiro asks you once to approve SEMURG_API_TOKEN; start it from the shell that holds the token) | |
| Gemini CLI | gemini extensions install https://github.com/One-Semurg/semurg-mcp; start it in your project folder and trust the folder when it asks | connected on r11.196 |
| Codex CLI | codex mcp add semurg --url http://127.0.0.1:4000/v1/mcp --bearer-token-env-var SEMURG_API_TOKEN | |
| OpenCode | the opencode.json block on https://one.semurg.io/agents#opencode | connected on r11.197 |
| Cline | ask Cline to install this repository: llms-install.md walks it through | |
| Agent frameworks | a complete program for each (LangChain, CrewAI, OpenAI Agents SDK, LlamaIndex, Google ADK, Pydantic AI, AutoGen, Mastra, Vercel AI SDK) on https://one.semurg.io/agents | run on r11.196 / r11.197 |
| Anything else | https://one.semurg.io/llms.txt lists the entry for each client |
Except for Cline, whose settings file holds the token, the token stays in your environment and no configuration file holds it.
Try it
Ask your assistant to remember something, then ask about it in a new session:
Remember that the staging database moved to the new server on Friday.
(new session) Where is the staging database now?
Then ask about something you never told it: the answer says nothing is stored, instead of a guess.
The five tools
memory_resume (what this session should know first), memory_ask (a question, answered with sources), memory_changes (what changed
since a point), memory_remember (store text, facts and files), memory_forget (remove).
Why teams use it
- The memory stays where you run it: on your own servers, or held for you in Semurg Cloud.
- One memory for every agent you connect, in Claude Code today and in Codex tomorrow.
- Answers you can check: each one cites its source, or says nothing is stored.
- Nothing confirmed is lost when a node is stopped or killed.
- The first node is free forever.
Build with it
- Blueprints: working examples, each with the release it ran on.
- The framework programs and every connect line: https://one.semurg.io/agents
- For agents: https://one.semurg.io/llms.txt
Get help
Open an issue on this repository (the forms ask what you ran and what happened), or write to us: https://one.semurg.io/contact. Security reports: see SECURITY.md. Need help with a pilot or a cluster: https://one.semurg.io/consulting.
The lines on this page were run on Semurg releases r11.196 and r11.197 (2 December 2026). Nothing in this repository records your prompts or your assistant's replies; see PRIVACY.md. This repository is Apache-2.0 (LICENSE); the Semurg node is licensed separately, first node free forever: https://one.semurg.io/terms