@topodb/pi
v0.1.0
Published
Pi (pi.dev) extension: topodb agent memory via one install.
Maintainers
Readme
@topodb/pi
One-command TopoDB memory for the Pi coding agent.
pi install npm:@topodb/piRegisters a single topodb tool that lazily spawns the topodb-mcp server and
proxies its memory tools. Call {action:"list"} to discover them, then
{tool, args} to use one. Config via env: TOPODB_DB (default
.topodb/memory.redb), TOPODB_SCOPE (default shared), TOPODB_IDLE_MS
(reap the idle server after this many ms so other processes can use the same
db; default 30000, 0 keeps it always resident).
Note: on first use on an embedding-capable platform the server downloads the
ONNX runtime and embedding model (~50MB, one-time, cached). On a slow link the
idle reaper can interrupt that download before it completes — set
TOPODB_IDLE_MS=0 for the first session if semantic search stays in
text-fallback mode.
No Rust toolchain and no separate MCP adapter required — the prebuilt
topodb-mcp binary is pulled in automatically for your platform.
