@memtensor/memmy-memory-cli
v0.1.0-beta.1
Published
Memmy Memory CLI for local agent memory.
Downloads
31
Maintainers
Keywords
Readme
@memtensor/memmy-memory-cli
Standalone npm package for the Memmy Memory CLI.
Install
npm install -g @memtensor/memmy-memory-cliDuring npm installation, the package runs node scripts/postinstall.js.
The npm package is only a Node launcher shell. It downloads the platform-specific
memmy-memory binary archive for the current package version and extracts it to
the package bin/ directory.
Supported targets:
darwin-arm64darwin-x64linux-arm64linux-x64windows-arm64windows-x64
Environment variables:
MEMMY_MEMORY_INSTALL_SKIP_DOWNLOAD=1skips the binary download.MEMMY_MEMORY_BINARY_URL=<url>uses a custom archive URL.
Default binary URL:
https://memos-test.oss-cn-shanghai.aliyuncs.com/memmy-memory-{version}-{target}.tar.gzFor the current beta package, the macOS arm64 archive name is:
memmy-memory-0.1.0-beta.1-darwin-arm64.tar.gzIf download is skipped, running memmy-memory will fail until the binary exists
at bin/memmy-memory or bin/memmy-memory.exe inside the installed package.
Setup
Initialize Memory CLI config:
memmy-memory initinit writes the Memory endpoint and optional local SQLite path to the Memmy
config file. The npm package does not bundle the Memory HTTP service; run the
local service separately during development, or point the CLI at a cloud Memory
endpoint with --url.
Install agent-side files during initialization:
memmy-memory init --agent codexSupported agents:
codexcursorclaudeopencodeopenclawhermes
Commands
memmy-memory --help
memmy-memory --version
memmy-memory health
memmy-memory session open
memmy-memory turn start --session-id <sessionId> --query "<query>"
memmy-memory turn complete <turnId> --session-id <sessionId> --query "<query>" --answer "<answer>"
memmy-memory search "<query>"
memmy-memory add "<content>"
memmy-memory get <id>
memmy-memory delete <id>
memmy-memory raw GET /panel/overviewBy default the CLI talks to http://127.0.0.1:18799.
Use --user-id <id> or --user_id <id> when a single command must target a
specific Memory namespace user. If omitted, the CLI reads memosMemory.userId
from the configured Memmy config file. Configure the default user with
memmy-agent config set app.userId <user_id>, which also writes memosMemory.userId.
