@jackice/pi-memory-rust
Rust memory extension for Pi: Turso storage + Tantivy FTS + turbovec vectors + local ONNX embedding
Package details
Install @jackice/pi-memory-rust from npm and Pi will load the resources declared by the package manifest.
$ pi install npm:@jackice/pi-memory-rust- Package
@jackice/pi-memory-rust- Version
0.1.12- Published
- Aug 22, 2026
- Downloads
- 937/mo · 937/wk
- Author
- jackice
- License
- MIT
- Types
- extension
- Size
- 24.3 KB
- Dependencies
- 0 dependencies · 1 peer
Pi manifest JSON
{
"extensions": [
"./index.ts"
]
}Security note
Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.
README
@jackice/pi-memory-rust
A Rust memory extension for Pi: Turso storage + Tantivy FTS + turbovec vectors + local ONNX embedding.
See the repository root README.md for full documentation (this package is the npm distribution entry).
Layout
index.ts— Pi extension entry (event bindings + /memory commands + LLM proxy)src/client.ts— JSON-RPC client + persistent process lifecycle management- The native binary ships in per-platform leaf packages:
@jackice/pi-memory-rust-<platform>-<arch>(declared inoptionalDependencies)
Environment variables
| Variable | Description |
|---|---|
PI_MEMORY_RUST_BINARY |
Explicit path to the Rust binary (overrides leaf package / bundled binary) |
PI_MEMORY_DATA_DIR |
Data directory (default ~/.local/share/pi-memory-rust) |
PI_MEMORY_MODEL_PATH |
Embedding model directory (default ~/.cache/pi-memory-rust/model) |
Install
pi install npm:@jackice/pi-memory-rust