@sovseal/sdk’s store()/recall() directly — no cloud database, no plaintext leaving the device.
Zero-Knowledge Identity Isolation
- Local-first by default:
store()/recall()talk to the local ONEBRAIN engine over IPC and need no API key or network call at all. - 0 RTT agent response: Because recall resolves against the local LanceDB index, the agent doesn’t suffer network latency mid-conversation.
- Optional encrypted replication: If you also want cross-device state sync,
@sovseal/sdk’ssnapshot()/restore()encrypt client-side with AES-256-GCM before anything reaches the edge gateway — see Replication & Sync.
1. Install the SDK
2. Write the memory plugin
ElizaOS plugins implement aPlugin interface (actions, providers, services) — see ElizaOS’s plugin architecture docs for the canonical shape. Create src/plugins/sovseal-memory.ts:
3. Register it on your character
characters/sovereign.character.json
store/recall require the native host launcher at ~/.sovseal/native-host/run.sh. Run npx -y @sovseal/mcp-server once to provision it — see SDK Reference: Overview.How the hook cycle works
Once registered, the plugin participates in ElizaOS’s normal message flow:- On message (recall): The
SOVSEAL_RECALLprovider queries the local LanceDB index for facts relevant to the incoming message and injects them into the agent’s context before it responds. - On demand (store): When the agent invokes the
STORE_MEMORYaction — typically because your character’s instructions tell it to save a new fact or preference — the plugin commits it locally and returns immediately; there’s no network round-trip in the critical path.
snapshot() calls using the same AgentStateClient — that path needs an endpoint and apiKey, unlike store/recall. See the Node SDK reference for the full method signatures.