communication canvas for agent-driven work.
labit opens what your agent makes — a page, a chart, your own app — and you comment on it where it is. all on your machine.
a comment on the words "all on your machine." on the first line of this page's hero: move this to the end of the intro. the agent moves them there and answers on the pin.
npx @leonidstern/labit@latestnode 22+, no dependencies, 78 kb gzipped. npm 0.8.5
you and agent
and pins from your agent
boards
labit board new hero --of /pricing --variants 5
labit board pick hero c
labit board new signup --flow /signup,/welcome,/plan
drop them in, paste, + image, or labit board add mood ref.png
labit board add design-system /buttons
- pick a variant: a board of the pricing page as it is now and five variants beside it, in two rows. pins on two of them, one is picked; the others go and the agent puts the picked one into the page. (labit board new hero --of /pricing --variants 5, then labit board pick hero c)
- a flow: three pages of a sign up in order, named 1 signup, 2 welcome, 3 plan; the view walks along them, a pin on the second. (labit board new signup --flow /signup,/welcome,/plan)
- a moodboard: a moodboard: the pricing page with reference pictures dropped in around it, a photo with a green cast, a type specimen, a texture and a layout. a pin on the photo, this feel, and the page picks up its colour. (labit board add mood ref.png)
- a design system: a board of a design system: colours, type and buttons, each a frame; the view zooms into the buttons at 100%. (labit board add design-system /buttons)
motion
works on mp4 and webm videos, GIFs, CSS and JS animations, canvas, SVG.
a video of a ball bouncing; paused at 0:04.2 of 0:07, a pin on the ball asks "bounce higher here?" with the moment "video 0:04.2 of 0:07"; the agent answers that the bounce at 0:04.2 goes higher, and opening the pin takes the video back to that second.
live reload
you write a comment on the settings screen.
your agent saves. the new row is outlined, your pin and words stay.
a style change slips in. nothing flashes.
a file this screen doesn't use changes nothing.
a full reload waits till you send.
your own app's dev server works the same way.
you send, it reloads, the agent renames it to alerts.
actions
{
"actions": [
{ "name": "more",
"prompt": "Go further: show more options on this." },
{ "name": "tighter",
"prompt": "Less space here, same words." }
]
}a mark you draw
talk, an experiment.
an xremove
pins, boards, chat
a circlefix
no account, no deploy
an underlinerewrite
a page, a chart,
your own app
a side linerework
comment.
draw.
an arrowmove
macos, linux windows
a caretadd
six marks drawn on words: an x removes, a circle fixes, an underline rewrites, a side line reworks a block, an arrow moves, a caret adds.
your agent reads action: Remove this.
talk (experiment)
off by default: turn it on in ⋯ → experiments. then k: point while you talk, your computer's own dictation types, and the agent gets what you said with what you pointed at.
press k and talk, your computer's dictation types. you only point.
labit keeps the moment of every word, and where the pointer was.
sent: the pause cuts it in two, and each part goes with the spot it was said over.
that is what the agent gets. it changes the page.
desktop only
quick start
- “make a landing page and lab it”
- “start labit on my app”
- “make three versions of the hero and lab it”
- “make phone mocks and lab it”
- “lab this report”
what holds up
- 61 of 62 tricky spots.textcodephotosvideoother
foundmissed
- pins stay put.
- small, cheap and quick.
~470 bytesone comment, as a wait hands it over: roughly 120 tokens
0.8¢a comment, with Sonnet 5.5: 30 for $0.23
9 san agent's reply to one comment, start to done
- everything stays on your machine. the comments are text in
.lab/.