Reference memory plugin that exercises the full plugin API with low-cost variants of Vellum's memory defaults.
Experimental plugin used to prove out the Vellum assistant plugin system end-to-end. Every hook a memory system would need is wired with the thinnest possible implementation behind it; the value of this plugin is the surface, not the behavior.
It is the canonical reference implementation for the external plugin
convention: a package.json manifest, lifecycle hooks/, model-visible
tools/, and internal src/ helpers.
simple-memory/
βββ package.json # Manifest (name + @vellumai/plugin-api peer dep)
βββ hooks/
β βββ init.ts # Hydrate the store from disk
β βββ shutdown.ts # Flush the store back to disk
β βββ user-prompt-submit.ts # Per-turn message-list transform
βββ tools/
β βββ recall.ts # Regex search across remembered entries
β βββ remember.ts # Append a freeform note
βββ src/
β βββ state.ts # Shared in-process store + helpers
βββ __tests__/ # Behavioral tests (run with `bun test`)
bun install
bun test
The plugin imports types from @vellumai/plugin-api. Those imports are
type-only, so they are erased at runtime and the test suite runs without the
package installed.
assistant plugins install simple-memory
This resolves the plugin through the curated
marketplace.json
in the vellum-assistant repo, which pins this repository at an immutable
commit.