Install
Current release: 1.4.2.
Prerequisites
Section titled “Prerequisites”- uv: the only external dependency. memsearch runs through
uvx, so there is no Python packaging to manage. - pi >= 0.84.1. The 0.84.x line is the one the integration suite runs against.
- Node >= 22.19.
- Linux or macOS. Windows needs WSL2, for the reason on the limits page.
Installing
Section titled “Installing”Four forms:
pi install npm:pi-memsearch # all projects (~/.pi/settings.json)pi install npm:pi-memsearch -l # this project (.pi/settings.json)pi install npm:pi-memsearch@1.0.0 # pinned; `pi update` never advances itpi install https://github.com/espadat-studio/pi-memsearch # unreleased masterThe first run
Section titled “The first run”No API key is involved. When no embedding provider is configured anywhere, pi-memsearch writes embedding.provider = onnx into memsearch’s global config, once. An existing config is never touched: whatever the rest of the mesh already agreed on stays.
After that, leave it alone. Capture runs on every settled exchange, and the store indexes itself.
Confirming it worked
Section titled “Confirming it worked”memory_status is the doctor. Ask for it in a session and it reports uv and memsearch presence and version, the resolved scope and collection, the index state and chunk count, and the auto-context state with its counters.
If anything looks wrong, troubleshooting is built around reading that output.
Uninstall
Section titled “Uninstall”pi remove npm:pi-memsearchThe memory markdown under .memsearch/ survives. It is yours, not the package’s. The collection in ~/.memsearch/milvus.db is derived from that markdown and rebuildable at any time, so nothing irreplaceable ever lived inside pi-memsearch.