Skip to main content

index

Extract entities from unindexed memories and context chunks into the graph (one LLM call per item; needs an API key). Prints one line per item with the entities found. With auto-index on (the default in cloud mode) new items are indexed in the background, so this command usually reports nothing pending. --rebuild wipes extracted entities and their edges (mentions and relationships found in your content), then re-extracts from scratch. It does not touch memories, conflicts, or the replaces/distinct edges created by resolving conflicts.

reembed

Recompute every stored embedding with the embedding provider currently configured in ~/.memloom/config.env, then stamp the store with the new fingerprint. Run this after switching providers or models, for example after adding OPENROUTER_API_KEY to leave offline mode: without it the daemon refuses to start, because old and new vectors live in incompatible spaces.
The daemon must be stopped first (memloom stop); reembed opens the store directly.
Interrupting is safe: memories and files are never touched, only their vectors, and running the command again resumes where it stopped. Costs one embedding API call per 64 items. --force re-embeds even when the store already matches the configured provider and nothing is missing. A typical offline-to-cloud migration:

auto-index

Show or set background entity extraction. When on, new memories and files are indexed a few seconds after they land (debounced into batched runs, visible in the Console). The setting persists across daemon restarts; MEMLOOM_AUTO_INDEX in config.env is only the default before the first use of this switch. Needs an API key; offline mode cannot enable it.

schema

Manage the extraction vocabulary: the entity types and predicates the LLM is allowed to use when indexing. With no arguments, prints the vocabulary with usage counts and status. The vocabulary itself, and how the LLM proposes new entries for your approval, is covered in The graph.