Semurg memory
Memory your AI agents keep: answers cite sources, or say nothing is stored.
Semurg gives an AI agent a memory that outlives its session, on a machine you run. The agent stores facts, relationships and documents,and finds them in later sessions or from another agent, each with its source. Answers say answered, nothing stored, or could not judge.Install in one line; the first node is free.
Semurg is disk-based: your data lives on NVMe drives, and RAM is a bounded cache, so you need far less RAM for the same work.
Keep out of it: secrets, passwords, keys and other people's personal data.
Your sessions are not kept. Nothing in this repository records your prompts or your assistant's replies. Your node keeps only whatyour assistant stores on purpose with memory_remember, and you see every such call.
1. Install the node (Linux, 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 stored. 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).
2. Connect your assistant
| Assistant | How |
|---|---|
| Claude Code | /plugin marketplace add One-Semurg/semurg-mcp, then /plugin install semurg-memory@semurg: adds 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"}}' |
| Cursor | Add to Cursor (start Cursor from the shell that holds SEMURG_API_TOKEN) |
| Gemini CLI | gemini extensions install https://github.com/One-Semurg/semurg-mcp |
| Codex CLI | codex mcp add semurg --url http://127.0.0.1:4000/v1/mcp --bearer-token-env-var SEMURG_API_TOKEN |
| Cline | ask Cline to install this repository: llms-install.md walks it through |
| 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.
3. Use 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?
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).
Where your memory lives
On your node, at the address you connected (by default 127.0.0.1, this machine). Your memory is not sent to Semurg. See PRIVACY.md.
Licence
The files in this repository: Apache License 2.0 (LICENSE). The Semurg node is licensed separately; its first node is free forever:https://one.semurg.io/terms
Links: https://one.semurg.io · https://one.semurg.io/for-agents · https://one.semurg.io/llms.txt · https://one.semurg.io/privacy
Listed on Glama: