loom command.
Init
Initialize the project — generates config and template files (run once):Build
Process text into structured memory:Chat
Chat with memory-augmented responses:Interactive chat commands
When in interactive chat mode (loom chat):
| Command | Description |
|---|---|
/build <text> | Add memory inline |
/schemas | List registered schemas |
quit / exit | End the session |
Schemas
Inspect registered schemas:Serve
Start the API server in the foreground:loom serve runs the server in the foreground (Ctrl+C to stop). For background service management, see the subcommands below.
Service management subcommands
Only one Loom daemon can run at a time. If a daemon is already running,start will refuse to launch a new one regardless of the port specified. Use stop first, then start with a new port.
Port can be set via the --port flag (highest priority) or in configs/loom.yaml under server.port (default: 8000).
| Command | Description |
|---|---|
loom serve start | Start as a background daemon |
loom serve start --autostart | Start daemon + enable auto-start on boot (systemd) |
loom serve stop | Stop the daemon |
loom serve stop --remove-autostart | Stop daemon + disable auto-start on boot |
loom serve restart | Restart the daemon |
loom serve status | Show running status, PID, uptime, memory |
loom serve logs | View server logs |
Summary
| Command | Description |
|---|---|
loom init | Initialize project (config + templates) |
loom build | Process text into memory |
loom chat | Chat with memory |
loom schemas | Inspect schemas |
loom serve | Start API server + Web UI (foreground) |
loom serve start | Start as background daemon |
loom serve start --autostart | Start daemon + enable boot auto-start |
loom serve stop | Stop background daemon |
loom serve status | Show daemon status |