state=start name=
Start over (clears this browser's ledger)
Install it on your computer
Linux or macOS, a terminal, and a C compiler (cc, gcc or clang). No sudo, no language model, nothing leaves your machine:
curl -fsSL https://raw.githubusercontent.com/jbro885wgu/harnecient-hai/hai/install.sh | sh -s -- hai
It builds into ~/.local/share/hai, writes the hai command to ~/.local/bin and keeps your chat ledger in ~/.local/share/hai-chat (an update never touches it). Then type hai. Remove it with sh install.sh uninstall.
The command line has the same levers as this page (/teach, /alias, /say, /mark, /pack, /bank, /why).
Events (the same event pages the full app runs)
A haibot reacts to events. These two pages are examples; the facts are sample values.
Facts: rested, MP 5 short rest, MP 2
Export and import your ledger
Export your chat ledger to download, or import one you exported before (only into an empty ledger, as in the command line).
Import a .pdl or .csv:
What this demo can not do (the full app can)
Typing in a window, and a real desktop window: the full app.
Linking your own documents so it learns them at once: the full app (design stage).
Watching other models and learning from them: the full app (design stage).
Tool calls (open a page, list pages): the full app (milestone M4).
It learns words you teach it and trust from your grades. It never writes a new sentence: every reply is fixed text you can read.
Your account and ledger stay in this browser only. The full app keeps them on your machine.
If one of these blocks you, say so: that limit is a desk to fix, not a reason to stop.
What is coming next (honest status)
Built and running here: chat that asks about words it does not know and learns what you teach, levers (teach, alias, say, mark, forget, starter pack), the reason under every answer, the bank, grades 0 to 4 with learning, a dashboard of charts, events (rest, cast), export and import.
Next: the haibot party of 6 and PC box; faint and healing as rows; elements picked at start (the ten Terumon elements); hangman battles with ELO per haibot.
Later: tool calls, linked documents, watching other models, pairing and two agents over the network. (The installer and the desktop window with agents and sessions exist now: see the install box.)
Not decided: credits price list, armour crafted with a model (reviewed by a person before it counts), whether shared files are copied or transferred.
Full report and roadmap: the repo book, book/11-progress-and-roadmap.md. A toy that runs a simulated month of the real engine: vision.html .
How this works
Every message adds a row (a TURN) to a ledger kept in this browser. The state and your name are rebuilt from those rows each time, so a reload keeps the chat where it was.
Type a word hai does not know and it asks what it means, then remembers your answer. Teach more with /teach word = meaning, /alias word = concept, /say word = text; mark a word that matters with /mark word; grade the last reply with /grade 0 to /grade 4 (or the buttons). The gray line under each answer says why it answered that way.
Same rules as the command line: the case hai_web_parity runs the C engine and this one on the same conversation and requires identical output.