Large values by number, striped across your disks: put, get, delete
12 October 2026 · Semurg · 2 min read · Markdown
Last checked on r11.168.20261114.da3a8f8 (14 Nov 2026): every command below ran on a fresh node of that release. The current release is r11.173.20261116.3006727 (16 Nov 2026), and the commands have not been re-checked on it yet (how)
An object store keeps values you never look inside: images, files, model outputs, backups, under keys you choose. Semurg reads a large value back from every disk the node has at once, and a value is never visible half-written.
Store a value
Values travel base64 encoded, under whole-number ids. This one is a sentence of a little over a hundred bytes:
export SEMURG_API_TOKEN=<your token>
curl -sS http://localhost:4000/v1/query \
-H "Authorization: Bearer $SEMURG_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{"op": "object_put",
"objects": [{"id": 900000000501,
"value_b64": "U2VtdXJnIG9iamVjdCBleGFtcGxlOiBhIHZhbHVlIGxvbmdlciB0aGFuIHR3ZW50eSBieXRlcyBpcyBhbiBhbmNob3IgcGx1cyBhIHJ1biBvZiBwaWVjZXMgc3RyaXBlZCBhY3Jvc3MgZXZlcnkgZGlzay4="}]}'Expected: the value is written
A small value is stored with its record. A larger one is spread evenly across every disk and read back in one sweep with every disk at once, and a value is either complete or not there at all. Writing to the same id again stores a new version and reads return the newest; add "content": true to leave an id that already holds a value alone.
Read it back
export SEMURG_API_TOKEN=<your token>
curl -sS http://localhost:4000/v1/query \
-H "Authorization: Bearer $SEMURG_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{"op": "object_get", "ids": [900000000501]}'Expected: the value comes back present, exactly as stored
The value comes back base64 encoded, as it went in: pipe it through jq -r '.objects[0].value_b64' | base64 -d to see the sentence.
Every id in a read answers with a state, in the order you asked: present with its value, absent, deleted, too_large, or a named state when a value could not be read, never a silent gap. object_delete removes ids; a later read answers deleted, with the version it was deleted at.
Within a bound you choose
A read can name how many bytes it will accept, up to a bounded size per call. A value larger than that is not cut short: it is named, with its length, so you know to ask again with more room.
export SEMURG_API_TOKEN=<your token>
curl -sS http://localhost:4000/v1/query \
-H "Authorization: Bearer $SEMURG_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{"op": "object_get", "ids": [900000000501], "max_bytes": 64}'Expected: the value is named as too large for a sixty-four byte read, with its length
How it behaves
- Ids are whole numbers: hash or map your names to them.
- Very large values are stored from inside your application; one network request carries up to its bound.
- Each value carries one number of metadata.
Next
- Documents by id: the same door for small JSON documents.
- Four kinds of data, one route: objects, streams, search and places, one call each.
What Semurg is: Give Claude Code, Cursor and your other AI agents a memory that lasts: install Semurg on your own machine in one line.
Why use it: your agent recalls the facts it needs, each with its source, instead of re-reading the project.
What it solves today: agents that forget between sessions, and data that must stay on your own machines.
This post was written with AI assistance. Every result in it is checked against a published release or record before the post goes out.
How these commands were checked
Our test farm ran each of the 3 command blocks marked runnable, exactly as written, with the answer checked against the expectation printed under it, against a fresh node of the published release r11.168.20261114.da3a8f8. A post is published only when every one of them passed there.