DEV Community

Savindu Thathsara
Savindu Thathsara

Posted on

It Wrote a Form and Filled It

It Wrote a Form and Filled It

The sentence was “create an html form and fill it”. Forty-nine seconds later the browser showed two filled boxes.

Savindu Thathsara, savithathsara.me. This is a Hearthlen note from the ThinkPad, still offline, still the 360M model.

What the sentence produced

The agent opened FeatherPad, typed a form, saved it, opened that file in Chromium, and typed into both fields. The clock for the whole run was 48881 ms.

The saved file, /home/savindu/one-2.html, is one line:

<form> <input name=goaltype> <input name=goaltype></form>
Enter fullscreen mode Exit fullscreen mode

The address bar read file:///home/savindu/one-2.html. Both inputs contained onehtmlfile. The window title was one-2.html - Chromium.

The model chose the field name and the value. The grammar only allowed a form with two inputs, a new .html name, and a short word in each box. Without that fence the same sentence failed twice. The first save began with the instruction itself. The second was a string of invented tags, and the agent then typed that string into the page. A model this small will echo the prompt if the next word can be anything.

The hands are the same ones that typed a website address in it typed the address itself: look at the window, take one action, look again. No special “make a form” function. The next check is the same sentence spoken after “hey Hearthlen”, with the voice from the warmer voice.


Savindu Thathsara builds practical AI and automation in London. This series is the public log of an offline AI operating system he is writing and learning at the same time.

Top comments (0)