LogiShell docs Open app

lsh: LogiShell without a window

One static binary, two names on a machine: lsh for every day, logishell where the long name reads better (scripts, npx).

lsh                                  # a conversation in this directory
lsh "why is the api test failing"    # the same thing, as one question
lsh scan .                           # a verb, if you know it

The first word that is not a verb is taken as the whole question. A word that looks like a verb (two edits away, scna for example) gets a question back, not a paid turn to the model.

Bare lsh opens a conversation only in a terminal. In a pipe (echo x | lsh, a script, CI) it prints help and exits with code 1, the way it always did: no one's script should one day hang in an interactive loop.

Install

curl -fsSL https://logishell.com/lsh.sh | sh

Or without installing anything: npx logishell scan .

Everything it answers

The table below is not written by hand. It is the answer of lsh commands --format json, which is the same registry that builds the help text and the shell completion. A verb without a line in that registry does not exist for any of the three.

<!-- cli-doc:start -->

verbwhat it does
lsh onboardfrom a bare terminal to a working LogiShell, safe to run again
lsh scan <path>read a repository as a map of blocks instead of reading the code
lsh blockswhat here could already be a block, and running one that is proven pure
lsh mcpwhat an agent in this shell can see of LogiShell
lsh browserthe Playwright tools an agent knows, pointed at this machine's browser
lsh codean agent in this terminal (the same thing bare lsh opens)
lsh game <path>put a built game on the LogiShell Gaming shelf
lsh slaterebuild the Slate page index from the working copy
lsh qaplay your own product's scenarios in the pool's browser
lsh productwhat to pick up today: what is promised, built, shipped and actually proven
lsh machinethe privacy zones of this machine: the machine itself and each folder
lsh disk <path>what build directories hold and which of them can go
lsh nightthe night shift of this machine, and the tap that stops it
lsh context <path>ask about a symbol instead of reading the files around it
lsh rlmwhat a turn in this tree is made of: prompts, orders, retrieval, the recursion itself
lsh sessionswhat became of the work in each agent session on this machine
lsh termswhat is happening in the terminals of this machine, and where you are needed
lsh why <path>why this code is the way it is, with the alternative that was rejected
lsh laneswhich roads to a model are open on this machine right now
lsh saverswhat saved context tokens on this machine, with a measured number for each
lsh tokenswhere the tokens of this machine went, and what they would have cost
lsh learnfive things to try, on this repository
lsh completionthe Tab-completion script for your shell
lsh commandsthis surface itself, for a person or (with --format json) for an agent

24 verbs.

Flags of the bare conversation

Inside a conversation

lsh onboard

from a bare terminal to a working LogiShell, safe to run again

lsh scan

read a repository as a map of blocks instead of reading the code

Flags:

lsh blocks

what here could already be a block, and running one that is proven pure

lsh mcp

what an agent in this shell can see of LogiShell

Flags:

lsh browser

the Playwright tools an agent knows, pointed at this machine's browser

lsh code

an agent in this terminal (the same thing bare lsh opens)

lsh game

put a built game on the LogiShell Gaming shelf

lsh slate

rebuild the Slate page index from the working copy

lsh qa

play your own product's scenarios in the pool's browser

lsh product

what to pick up today: what is promised, built, shipped and actually proven

Flags:

lsh machine

the privacy zones of this machine: the machine itself and each folder

lsh disk

what build directories hold and which of them can go

lsh night

the night shift of this machine, and the tap that stops it

lsh context

ask about a symbol instead of reading the files around it

Flags:

lsh rlm

what a turn in this tree is made of: prompts, orders, retrieval, the recursion itself

Flags:

lsh sessions

what became of the work in each agent session on this machine

Flags:

lsh terms

what is happening in the terminals of this machine, and where you are needed

Flags:

lsh why

why this code is the way it is, with the alternative that was rejected

lsh lanes

which roads to a model are open on this machine right now

Flags:

lsh savers

what saved context tokens on this machine, with a measured number for each

Flags:

lsh tokens

where the tokens of this machine went, and what they would have cost

Flags:

lsh learn

five things to try, on this repository

Flags:

lsh completion

the Tab-completion script for your shell

lsh commands

this surface itself, for a person or (with --format json) for an agent

Flags:

<!-- cli-doc:end -->