Give your agent a real browser
Firefox, compiled to WebAssembly, runs beside a Lifo box in the same tab. The agent works in the shell and drives the browser from it: open a page, read it, click, type.
The same split pane as /agent: a Lifo terminal on the left, Firefox on the right. Firefox needs a cross-origin isolated page, which Chrome gives this frame; in other browsers the frame runs the text browser and links to the full page.
The browser is a command.
An agent that already has bash needs nothing new: browser has browser-use's verbs and prints text a model can read.
$ browser open news.ycombinator.com
$ browser text | head -8
$ browser state | head -6
$ browser click 1
# or let a model drive it (WebLLM, on your GPU)
$ agent "What is the top story on Hacker News right now?"browser loads a page and prints its readable text, or its links, buttons and form fields as numbered targets. Pipe it like any other command: browser text | grep -i price.
agent runs a small model in the visitor's browser with WebLLM on WebGPU. It picks one shell command at a time, reads the output and repeats until it can answer. No API key and no model server.
Three browsers, one command.
- 01
A text browser, everywhere
Registered in every box on lifo.sh and needs no GPU. Server-rendered pages read well; pages that build themselves in the browser show little.
- 02
Firefox in WebAssembly
Gecko running in the tab, in the split pane next to the terminal. A real engine, so pages that need JavaScript render.
- 03
Chromium in Lifo Cloud
A cloud box gets a headless Chromium with an isolated context per box, and an endpoint for Playwright or puppeteer. In preview.
Know before you build
The text browser sends only GET forms, so it can search and filter but cannot log in, buy or post. The default model is about 1.2 GB to download and needs WebGPU. An AI agent in the tab
Other things the same box does.
> The cart total is wrong. Fix it.
⏺ bash(npm test)
⎿ 1 failed, 12 passed
⏺ bash(grep -n total src/cart.ts)
⏺ edit(src/cart.ts)
⏺ bash(npm test)
⎿ 13 passed
Bash for agents
Give the model one bash tool backed by a Lifo box. If your agent is in JavaScript you need nothing else: Lifo is an import that runs in your Node.js API routes.
$ npm install && npm run dev
➜ Local: http://localhost:5173/
Dev environments
Vite, Expo and Express run unmodified with npm install, dev servers and hot reload, next to Postgres, Supabase, Python and git.
$ npm i -g @anthropic-ai/claude-code@2.1.112
$ claude
> add a /health route
⏺ Bash(ls src)
⏺ Update(src/server.js)
Claude Code in the browserComing
Anthropic's Claude Code runs in a box: its terminal UI, its Bash tool and its file edits, with nothing installed on the machine.
$ desktop snap firefox left
$ desktop windows --json
Desktop and computer usePreview
Lifo Desktop is a full desktop in a tab. Its windows and apps are scriptable through one API and a desktop command.