Skip to main content

Overview

Every other command talks to the daemon over HTTP and starts it when needed.

What serve runs

With MEMLOOM_PG_URL set the daemon connects to your Postgres and skips the wire bridge. If the wire port will not bind, it says so and serves on without it. Config is read from ~/.memloom/config.env at startup, with real environment variables winning over the file, so restart after editing. The terminal logs every request twice, on arrival and on completion with status and duration, and warns when a wire client connects and pauses the API.
One command needs the daemon stopped, because it opens the store directly: reembed.

init

Creates ~/.memloom with a commented config.env and starts the daemon. Set OPENROUTER_API_KEY there for real embeddings, dedup and entity extraction, then restart.