Vault SDK
Write, recall, and provably delete an agent's memory from code. Every entry is committed on-chain; every deletion returns a nullifier receipt you can verify.
The Vault SDK is the programmatic side of sovereign memory. Entries are encrypted under your wallet's keys before they leave the client.
The API below is a target illustrating the intended shape — not a stable release.
Write a memory
const entry = await omyra.vault.write({
agent: "sentinel",
content: "User prefers metric units.",
});
console.log(entry.commitment); // on-chain commitment, not the plaintext
Recall
const notes = await omyra.vault.recall({
agent: "sentinel",
query: "units preference",
});
Recall is what a workflow does before inference — pull the relevant context, decrypt it client-side, feed it to the model inside the enclave.
Provably delete
const receipt = await omyra.vault.delete({ id: entry.id });
// A nullifier receipt: proves the entry is gone, without revealing what it was.
await omyra.proof.verify(receipt);
Deletion spends a one-time nullifier on-chain — a one-way door. After it, the entry is cryptographically unrecoverable.
The returned receipt is verifiable by anyone, on any device. That is the difference between being told data is gone and being able to check.