Lahe is direct editing and threaded agentic conversations injected into any HTML on your machine.
JavaScript
3
797 commits
updated Sep 22, 2026
We've graduated from MD to HTML for many of our docs. Or maybe you just want to edit your homepage in place. Lahe is injectable into any HTML on your machine, and provides direct editing, as well as threaded conversations for agentic updates.

We're now spending a significant amount of our time reviewing and editing documentation, prompts, and HTML pages. It's not fast enough to copy a paragraph and bring it back to paste into your agent and ask for edits.
Lahe adds a live review layer to any HTML that's on your machine (including pages that are composed of many underlying files). Select a sentence and comment on it, or press an edit key and rewrite it in place.
No matter how many files were used to create the HTML page, Lahe knows how to edit the underlying source. And if you asked a question, don't let the answer get lost in the neverending chat flow. Threaded sidebar conversations mean the answer is always easy to find.
Leaving feedback
Comment for an agentic rewrite. Select a passage, say what is wrong, and let the agent write the fix.
Comment on any object, not just text. Press Cmd-Shift-C with nothing selected to pick an element: hover to outline it, click to comment. Diagrams, images, charts, a whole section.
Edit to use your own words. Type the correction into the page. Your exact words reach the source file, not a paraphrase with added em dashes.
Ask questions and get threaded answers. Ask a question and the answer arrives on the same card, no need to go back to the chat window. An exchange from ten minutes ago is threaded and easy to find, not lost in the neverending scroll of the chat window.
Drafted until sent. A half-typed thought is private to your browser until you hit Cmd-Enter.
Hotkeys for speed. Comment, edit, and send without reaching for the mouse.
Hand-made edits are protected. If a doc-wide change would clobber your carefully crafted text, it stops at text you placed by hand and asks. If an edit gets reverted anyway, the item reopens itself.
Working with the source
.md file (or multiple) is rendered for editing, diagrams included. Your prompt is assembled from multiple underlying modular files? No worries, live edit the rendered output as a single page and let your agent edit the underlying template files.Many reviews, many agents
Staying in sync
No lost work!
Under the hood
Clone it, and hand the rest to your agent:
git clone https://github.com/kenxle/live-agentic-html-editor
Set up Live Agentic HTML Editor from
./live-agentic-html-editor, following itsAGENTS.md, then use it to reviewpath/to/page.html.
Your agent installs the command, opens the review, and starts watching. Open the URL it prints, select some text, and press Cmd-Shift-C. It works each item as you commit it and answers on the card.
If your agent already has the Lahe skill installed, that first line is all it needs:
Use Lahe to review
path/to/page.html.
Or set it up yourself
cd live-agentic-html-editor
npm run install-cli # writes ~/.local/bin/lahe
lahe review path/to/page.html # or path/to/notes.md
Each host wakes an agent differently, so each gets its own instruction. The agent reads this from the review itself, so you do not have to remember it.
| Agent | How it keeps up |
|---|---|
| Claude Code | Runs lahe monitor with Bash in the background, and runs it again after each batch of work. |
| Codex | Runs lahe monitor as a foreground pending exec call and waits on it. |
| Antigravity | Runs lahe monitor as a background terminal task. Task completion wakes it. |
| Anything else | Runs lahe monitor in the foreground after warning you it owns the chat. |
An idle review costs no model tokens on any of them. The watcher is a small local process, never a scheduled model wakeup.
| Gesture | What it does |
|---|---|
| Cmd-Shift-C with text selected | Comment on the selection |
| Cmd-Shift-C with nothing selected | Pick an element: hover to outline, click to comment, Esc to cancel |
| Cmd-Shift-E | Edit the block under the cursor |
| Cmd-Enter in a comment box | This comment is ready, send it to the agent |
| Cmd-Enter, Esc, or a click outside an edit | Commit the edit and give the block back to the page |
| The box at the foot of the rail | A note about the page, tied to nothing in particular |
| Clicking a card, anywhere but its buttons | Scroll the page to the passage that card is about |
The rail also shows these as hints, so you do not need this file open to work them out.
install-cli wrapper. On Windows, run node bin/lahe.js from the clone or work in WSL.MIT. See LICENSE.
797 commits
JavaScript
100.0%
Lahe is direct editing and threaded agentic conversations injected into any HTML on your machine.
JavaScript
3
797 commits
updated Sep 22, 2026
We've graduated from MD to HTML for many of our docs. Or maybe you just want to edit your homepage in place. Lahe is injectable into any HTML on your machine, and provides direct editing, as well as threaded conversations for agentic updates.

We're now spending a significant amount of our time reviewing and editing documentation, prompts, and HTML pages. It's not fast enough to copy a paragraph and bring it back to paste into your agent and ask for edits.
Lahe adds a live review layer to any HTML that's on your machine (including pages that are composed of many underlying files). Select a sentence and comment on it, or press an edit key and rewrite it in place.
No matter how many files were used to create the HTML page, Lahe knows how to edit the underlying source. And if you asked a question, don't let the answer get lost in the neverending chat flow. Threaded sidebar conversations mean the answer is always easy to find.
Leaving feedback
Comment for an agentic rewrite. Select a passage, say what is wrong, and let the agent write the fix.
Comment on any object, not just text. Press Cmd-Shift-C with nothing selected to pick an element: hover to outline it, click to comment. Diagrams, images, charts, a whole section.
Edit to use your own words. Type the correction into the page. Your exact words reach the source file, not a paraphrase with added em dashes.
Ask questions and get threaded answers. Ask a question and the answer arrives on the same card, no need to go back to the chat window. An exchange from ten minutes ago is threaded and easy to find, not lost in the neverending scroll of the chat window.
Drafted until sent. A half-typed thought is private to your browser until you hit Cmd-Enter.
Hotkeys for speed. Comment, edit, and send without reaching for the mouse.
Hand-made edits are protected. If a doc-wide change would clobber your carefully crafted text, it stops at text you placed by hand and asks. If an edit gets reverted anyway, the item reopens itself.
Working with the source
.md file (or multiple) is rendered for editing, diagrams included. Your prompt is assembled from multiple underlying modular files? No worries, live edit the rendered output as a single page and let your agent edit the underlying template files.Many reviews, many agents
Staying in sync
No lost work!
Under the hood
Clone it, and hand the rest to your agent:
git clone https://github.com/kenxle/live-agentic-html-editor
Set up Live Agentic HTML Editor from
./live-agentic-html-editor, following itsAGENTS.md, then use it to reviewpath/to/page.html.
Your agent installs the command, opens the review, and starts watching. Open the URL it prints, select some text, and press Cmd-Shift-C. It works each item as you commit it and answers on the card.
If your agent already has the Lahe skill installed, that first line is all it needs:
Use Lahe to review
path/to/page.html.
Or set it up yourself
cd live-agentic-html-editor
npm run install-cli # writes ~/.local/bin/lahe
lahe review path/to/page.html # or path/to/notes.md
Each host wakes an agent differently, so each gets its own instruction. The agent reads this from the review itself, so you do not have to remember it.
| Agent | How it keeps up |
|---|---|
| Claude Code | Runs lahe monitor with Bash in the background, and runs it again after each batch of work. |
| Codex | Runs lahe monitor as a foreground pending exec call and waits on it. |
| Antigravity | Runs lahe monitor as a background terminal task. Task completion wakes it. |
| Anything else | Runs lahe monitor in the foreground after warning you it owns the chat. |
An idle review costs no model tokens on any of them. The watcher is a small local process, never a scheduled model wakeup.
| Gesture | What it does |
|---|---|
| Cmd-Shift-C with text selected | Comment on the selection |
| Cmd-Shift-C with nothing selected | Pick an element: hover to outline, click to comment, Esc to cancel |
| Cmd-Shift-E | Edit the block under the cursor |
| Cmd-Enter in a comment box | This comment is ready, send it to the agent |
| Cmd-Enter, Esc, or a click outside an edit | Commit the edit and give the block back to the page |
| The box at the foot of the rail | A note about the page, tied to nothing in particular |
| Clicking a card, anywhere but its buttons | Scroll the page to the passage that card is about |
The rail also shows these as hints, so you do not need this file open to work them out.
install-cli wrapper. On Windows, run node bin/lahe.js from the clone or work in WSL.MIT. See LICENSE.
797 commits
JavaScript
100.0%