Skip to main content

Overview

The CLI is a thin client. Every command talks to the daemon over HTTP on 127.0.0.1:4319 and starts it if it is not running, so the CLI, agents and the viewer share one store with no lock conflicts.

Try without installing

npx memloom@latest <command>. Pin @latest so npx does not reuse a stale copy.

Self-documenting

memloom help lists everything. memloom help save explains one.

Configure once

~/.memloom/config.env. Set OPENROUTER_API_KEY and restart for cloud mode.

Commands


Inspecting the store directly

On the embedded tier the daemon also speaks the Postgres wire protocol. Point Drizzle Studio, psql or any client at:
MEMLOOM_PG_PORT moves it, and memloom serve prints the live one. With MEMLOOM_PG_URL set there is no bridge, so connect to your server directly.
PGLite takes one connection at a time. While a database client is attached, memory endpoints answer 503. Disconnect to resume.