Skip to content

Commands ​

Every command is available as las and as localalibiscan. FOLDER defaults to the current folder.

CommandWhat it does
las filesList the files that would be analysed, with extension and size (respects .gitignore; large and binary files are marked).
las checkShow only the folder verdict and its evidence.
las scanAnalyse a project and show its profile: every claim with its status and evidence.
las dashboardDashboard of every project under a folder; --html writes ~/.localalibi/dashboard.html.
las refreshAnalyse again and show what changed since the previous analysis.
las historyList previous analyses with a one-line summary each.
las explainExplain this project: fixed questions answered with facts (and optional local AI).
las askAsk a question: deterministic search first; the optional local model answers only from the evidence.
las configShow the configuration in use; --init creates ~/.localalibi/config.toml.
las uiOpen the local graphical interface in the browser (optional extra localalibiscan[ui]).

Global options ​

Option
--versionShow the version and exit.
--lang-uiInterface language: en (default) or pt. Goes before the command: las --lang-ui pt scan .. Same as LOCALALIBI_LANG or [ui] language in the configuration.

las files ​

bash
las files FOLDER [OPTIONS]

List the files that would be analysed, with extension and size (respects .gitignore; large and binary files are marked).

Option
--max-sizeMaximum size in bytes for a file to be read.

las check ​

bash
las check FOLDER [OPTIONS]

Show only the folder verdict and its evidence. No analysis.

las scan ​

bash
las scan FOLDER [OPTIONS]

Analyse a project and show its profile: every claim with its status and evidence. Writes .localalibi/.

Option
--forceAnalyse even if the folder doesn't look like a project.
--evidenceShow every piece of evidence of each claim (default: the first one).
--onlyOnly these sections, comma-separated, e.g. db,framework,routes,docs-vs-code.

las dashboard ​

bash
las dashboard FOLDER [OPTIONS]

Dashboard of every project under a folder; --html writes ~/.localalibi/dashboard.html.

Option
--htmlAlso write the self-contained HTML report to ~/.localalibi/dashboard.html.
--langOnly projects that contain this language (e.g. python).
--depthHow many levels to walk down looking for projects (default 2).
--no-cacheRe-analyse every project.

las refresh ​

bash
las refresh FOLDER [OPTIONS]

Analyse again and show what changed since the previous analysis.

Option
--forceAnalyse even if the folder doesn't look like a project.

las history ​

bash
las history FOLDER [OPTIONS]

List previous analyses with a one-line summary each.

las explain ​

bash
las explain FOLDER [OPTIONS]

Explain this project: fixed questions answered with facts (and optional local AI). Writes .localalibi/overview.md.

Option
--no-llmDon't use Ollama: facts / evidence only.
--modelOllama model to use (default from the configuration).

las ask ​

bash
las ask FOLDER QUESTION [OPTIONS]

Ask a question: deterministic search first; the optional local model answers only from the evidence.

Option
--no-llmDon't use Ollama: facts / evidence only.
--modelOllama model to use (default from the configuration).
--briefOne line per piece of evidence, without code excerpts.

las config ​

bash
las config  [OPTIONS]

Show the configuration in use; --init creates ~/.localalibi/config.toml.

Option
--initCreate ~/.localalibi/config.toml with the defaults (never overwrites).

las ui ​

bash
las ui FOLDER [OPTIONS]

Open the local graphical interface in the browser (optional extra localalibiscan[ui]). Listens on 127.0.0.1 only and sends no usage statistics.

Option
--portPort for the local interface (default 8501; only 127.0.0.1 listens).
--no-browserDon't open the browser; just print the address.

Exit codes ​

CodeMeaning
0OK
1las ask found no evidence · las config --init found an existing file
2Not analysed: the folder is not a project (use --force), no projects found, or no history

MIT License · local · read-only · open source