CLI Reference¶
lc — quick capture¶
Requires daemon running. Fails fast if daemon is not reachable.
lc <text>¶
Capture a one-liner to Lattice.
Prints: captured: 1 new (or 1 updated, 0 new — duplicate skipped)
If is_followup() detects an anaphoric query (pronoun, short text, no proper noun), prints a tip: Tip: this looks like a follow-up — use the web UI or Telegram for multi-turn context.
lc <path/to/file>¶
Ingest a file. Supported types: .pdf, .docx, .pptx, .xlsx, .xls, .md, .txt.
lc status¶
Print memory count, streak, and today's journey (grouped capture/recall branches).
Lattice status
147 atoms | 12 days deep
Today: 3 captures, 2 recalls
Journey
└── coffee preference (09:12)
└── project decisions (14:30)
├── what stack should I use?
└── should I use TypeScript?
lc clear¶
Remove today's chat turns from chat.jsonl. Same effect as the web UI "clear" button and Telegram /reset.
lattice-daemon — daemon process¶
lattice-daemon (no args)¶
Start the persistent daemon. Runs in foreground; use launchd or systemd for production. Logs to LATTICE_DIR/daemon.log.
Starts:
- Unix socket listener at LATTICE_SOCK
- Filesystem watcher on LATTICE_INBOX
- FastAPI web server at http://LATTICE_WEB_HOST:LATTICE_WEB_PORT
lattice-daemon status¶
Query the running daemon. Returns JSON:
Exits 1 if the daemon is not running.
lattice — MCP stdio server¶
Starts the MCP server in stdio mode. Used by Claude Code; not intended to be run directly.
lattice-telegram — Telegram bot¶
Starts the Telegram polling bot. Requires LATTICE_TELEGRAM_TOKEN. See Telegram Setup.
Future: lattice graph subcommands¶
These commands are planned (STORY-049) and not yet implemented: