CLI Overview¶
The CLI has two groups of commands.
Host-only commands¶
These work on local files, Docker, or config:
lerim initlerim projectlerim connectlerim mcplerim uplerim downlerim logslerim trace importlerim profile listlerim profile showlerim profile validatelerim profile registerlerim querylerim queuelerim retrylerim skiplerim skilllerim authlerim context-brief showlerim context-brief statuslerim context-brief pathlerim context-brief refreshlerim working-memory showlerim working-memory statuslerim working-memory pathlerim working-memory refreshlerim clinic showlerim clinic statuslerim clinic pathlerim clinic refreshlerim context records
Server-backed commands¶
These talk to the running Lerim service:
lerim ingestlerim curatelerim answerlerim statuslerim unscoped
Durable context¶
The CLI works with the global context database. Project commands register scope only.
Context Brief is a generated long-term Markdown view of the global context
database. Working Memory is a separate short-term generated view of recent
record-version movement. Both are useful at agent startup, but
~/.lerim/context.sqlite3 remains the source of truth.
lerim skill has two roles: it installs Lerim's own agent skill, and it
registers external skill or instruction targets that Lerim can monitor for
evidence-backed update proposals.