The stigi command
You talk to a Stigi image with one command, stigi. Here are the ones you will use most.
Load and emit
Section titled “Load and emit”$ stigi load ./tree$ stigi emit ./out/app.c$ stigi emit --export-c ./out/libtokenizerload reads a reviewed source tree into an empty image, through the door. emit writes verified C11. With --export-c you get a C library and its header, ready to call from any language that speaks C.
Understand
Section titled “Understand”$ stigi abstract App.Main$ stigi manifest Billing.Service.main$ stigi diff --from prev --to headabstract prints the theory sheet of a root or a namespace. manifest prints everything a root is allowed to touch. diff compares two versions by meaning: authority, protocols, laws, flow and envelopes.
Find and edit
Section titled “Find and edit”$ stigi search "(count: U64, bytes: Array[U8](count)) -> ? {pure} <cost <= O(count)>"$ stigi slice App.Parser.parseHeader --depth 1$ stigi synth Demo.Router.dispatch ?(handler) --budget O(log count)search queries the image by a whole contract. slice gives an agent the exact context it needs for one edit. synth proposes checked code for a hole.
Agents use the same image over a local socket or MCP. The agent session page shows how that looks.