TETHESIS
KNOWLEDGE

Documents that stay current, answers that stay connected

Save a document under a stable name and it becomes the one current version, with every earlier revision still readable. Retrieve by matching text — then follow the relationships around it, instead of stopping at the nearest chunk.

Read the quickstartDeveloper documentationsave_document · semanticMatchExpand

Graph-grounded retrieval. A query matches a few records by meaning — the seeds — then the answer expands outward along your relationships, one or two hops, so it carries the connected context, not just the closest passage.

QUERY [0.82, -0.14, . . .] SEEDS · vector match EXPANDED · 1–2 hops along relationships
Query · matched by meaning Seeds · the closest records Expanded · reached over your relationships

One call: gds.semanticMatchExpand finds the seeds by vector similarity and returns the records reached from them, with how far out each one sits.

LIVING DOCUMENTS

One current version, with its history

1 · One current version

Save under a stable name.

Save a document under a stable uri. The newest save is the current version whatever its label, and every earlier revision stays in history.

rev 1→rev 2→rev 3 · current
2 · Read it as it stood

Any revision, by date.

List every revision with when it was current, and fetch any past one by date — so a citation resolves to the text that was actually in force then.

get_document(uri, atValid)
3 · Retrieve by walking

Answers carry context.

Start from the best-matching records, then expand across your relationships in one call — the answer arrives with its connected evidence, not just the nearest chunk.

gds.semanticMatchExpand
INGEST

Put a document in

A document is stored as a Document node with Chunk nodes linked to it, as a background job. Save the same uri with a new revision and it becomes current.

curl -X POST "https://invariantdb.com/graphs/$GRAPH/ingest" \ -H "Authorization: Bearer $KEY" -H "Content-Type: application/json" \ -d '{"uri": "doc://grower-framework", "revision": "3", "text": "..."}' # -> 202 {"jobId": "...", "status": "pending", "operationCount": ..., "polling": "..."}

Or over MCP, the same three operations an assistant calls itself:

save_document({ uri: "doc://grower-framework", revision: "3", text: "..." }) get_document({ uri: "doc://grower-framework" }) // current version get_document({ uri: "doc://grower-framework", atValid: "2026-03-01" }) // as it stood then list_document_revisions({ uri: "doc://grower-framework" }) // oldest first
GRAPH-GROUNDED RETRIEVAL

Match by meaning, then follow the relationships

Find the closest records by vector similarity, then expand across the relationship types you choose — in one query.

CALL gds.semanticMatchExpand( 'Chunk', '_embedding_v1', $queryEmbedding, 10, // k seeds 2, // hops ['DERIVED_FROM'] // relationship types to follow ) YIELD nodeId, score, distance RETURN nodeId, score, distance ORDER BY distance, score DESC;

distance is 0 for a seed and 1 to hops for an expanded record; score is the seed's similarity. Optional threshold, scopeFilter and maxNodes bound the walk.

Or recall over the saved store directly:

curl -X POST "https://invariantdb.com/graphs/$GRAPH/memory/recall" \ -H "Authorization: Bearer $KEY" -H "Content-Type: application/json" \ -d '{"v": 2, "query": "who supplies tulips to the farm", "k": 5}'

Recall searches what was saved with remember and save_document — not records written directly with Cypher.

YOUR CATEGORIES

Organized in your own words

Set the categories the store uses once with set_ontology, and describe_memory shows what it is keeping. The categories are yours — your terms, not a generic schema — and they organize the saved memories and documents you can search and recall.

Give your AI connected knowledge

Governed documents and work products →

Explore enterprise knowledge and memory →