# Booki: agentic UI for your app

> Open-source UI components for people and AI agents. Build forms, tables and workflows with named actions and human approvals.

Source: https://booki.dev/

# Get agentic UI for your app

UI components that let Claude, ChatGPT, Gemini, Grok Bot and others work in your app, next to your customers.

1. 1995People typeHTML 2.0 gives every web page an <input>.
2. 2024Agents guessAI agents start using apps by reading screenshots and DOM snapshots.
3. TodayWith Booki, agents act by nameThe exact amount, checked. Posted by the agent, within your rules.

Your agent explains Booki and asks before changing anything. About 30 min.

## Booki in an accounting app

Watch the agent prepare the voucher for invoice 8841, assign it to Oslo, and check that it balances.

Nummeret som står på fakturaen

| Konto | Navn | MVA | Avdeling | Debet | Kredit | Fjern linje |
| --- | --- | --- | --- | --- | --- | --- |
| I balanse | 0,00 kr | 0,00 kr |  |  |  |  |

I balanse · 0,00 kr / 0,00 kr

## Benchmark results

Right

Rebuilt screens 92 %. Booki 100 %.all 4 models, 40/40 runs

Cost per task

Rebuilt screens $0.027. Booki $0.003.12× cheaper per pair (median, 4.7–31×) over 12 pairs of model and screen; the bars show each side's median

Start to finish

Rebuilt screens 41.2 s. Booki 4.9 s.6.2× faster per pair (median, 2.6–19×), the model's own time included; the bars show each side's median

We asked the models to read a dashboard or enter a supplier invoice. They used the same sample data in Booki and on rebuilt screens labeled ERP system 1 and ERP system 2.

Claude Opus, Sonnet and Haiku 5.5 and DeepSeek V4.1 Flash ran five times per model, task and screen on 21 Nov 2026. The voucher and sales invoice results are withdrawn: a control hint revealed the answers.

[See the method and run receipts](#benchmark-method)

## Benchmarks on Norwegian websites and accounting apps

Compare the same task with and without Booki. Choose an accounting task here, or try a public website below.

### Method and receipts

The measured results use actual token counts and provider list prices. The scripted receipts below replay a known sequence of steps and estimate tokens from character counts. [Read the benchmark method](https://github.com/Walgermo/booki/blob/main/benchmarks/agent/METHOD.md)

#### Measured model results

6.5×

cheaper per task, measured$0.011 against $0.069 on ERP system 1, Claude Opus 5.5, median of 5 runs, billed at list price.

4 → 1

tool calls5 model turns against 2, by the same model on the same task.

22.1 s → 5.8 s

start to finishThe model's own time included. Right 5/5 on ERP system 1, 5/5 on Booki.

5/5

right with a cheap modelClaude Haiku 5.5 on Booki, 40× cheaper input than Opus, at $0.0003 a run. On the rebuilt screens: 5/5 and 4/5.

### Scripted benchmark receipts

Estimated Booki cost: $0.012. Without Booki the estimate was 13× as much on ERP system 1 and 18× on ERP system 2.

**Booki+ ERP**Receipt · 2 model turns

Total**$0.012**

2,941 tokenscheapest

**ERP system 1 (rebuilt)**Receipt · 27 model turns

Total**$0.149**

298,195 tokens13× Booki

**ERP system 2 (rebuilt)**Receipt · 29 model turns

Total**$0.210**

438,272 tokens18× Booki

One line per model turn, with what the agent did; one square per 1 000 tokens billed for that turn.

**Show run details**

- ERP system 1 · DOM map26 calls, 27 model turns. The monthly figures are only in a tooltip, so it hovered every bar, switched year for last December, and read each tooltip.
- ERP system 2 · DOM map28 calls, 29 model turns. Canvas bars, and the tooltip never names the month, so it moved the pointer bar by bar and kept count.
- Booki1 call, 2 model turns. One snapshot: every month, the overdue buckets and the KPIs as numbers. No pixels.

Why not a screenshot?

- ERP system 1: 4 calls, 34,749 tokens billed (3,702 of them image), $0.053. Cheaper than hovering, but bar heights only give round numbers: it could not answer exactly, so it does not count as done.
- ERP system 2: 6 calls, 58,273 tokens billed (4,084 of them image), $0.069. Cheaper than hovering, but bar heights only give round numbers: it could not answer exactly, so it does not count as done.

With real models

The same task given to a model through the browser tools on each screen, run five times each. Right means the books ended up correct, checked after every run. Time is end to end, the model's own time included; cost is what the gateway billed at list price. Every model that was run is shown. The large models were right on both, so for them Booki saves cost and time; for the cheap ones it is whether the books come out right.

| Model | ERP system 1 | ERP system 2 | Booki |
| --- | --- | --- | --- |
| Claude Opus 5.5 | 5 / 54 calls · 22.1 s · $0.069 | 5 / 512 calls · 42.2 s · $0.124 | 5 / 51 calls · 5.8 s · $0.011 |
| Claude Sonnet 5.5 | 5 / 56 calls · 18 s · $0.036 | 5 / 519 calls · 40.2 s · $0.082 | 5 / 51 calls · 3.6 s · $0.003 |
| Claude Haiku 5.5 | 5 / 516 calls · 56.3 s · $0.006 | 4 / 528 calls · 63.7 s · $0.010 | 5 / 51 calls · 3.3 s · $0.000 |
| DeepSeek V4.1 Flash | 4 / 521 calls · 71.7 s · $0.013 | 4 / 524 calls · 66.5 s · $0.018 | 5 / 51 calls · 4 s · $0.001 |

Medians over five runs, through Vercel AI Gateway, 21 Nov 2026. `pnpm proof`

| Per run | ERP system 1 | ERP system 2 | Booki |
| --- | --- | --- | --- |
| Tool calls | 26 | 28 | 1 |
| Model turns | 27 | 29 | 2 |
| Tool definitions, tokens | 4,598 | 5,215 | 871 |
| Transcript, tokens | 17,188 | 24,547 | 1,951 |
| Input billed, tokens | 298,195 | 438,272 | 2,941 |
| Output, tokens (at least) | 346 | 213 | 3 |
| Cost, no caching | $1.1997 | $1.7573 | $0.0118 |
| Cost, with caching | $0.1491 | $0.2097 | $0.0100 |
| Cost of 100,000 runs, as compared | $14,906 | $20,974 | $1,182 |
| Tool time, median | 1.1 s | 1.4 s | 6 ms |
| Result checked | Correct | Correct | Correct |

Run

Claude Code · 21 Nov 2026

Agent

Scripted steps with the answer supplied

Task

Les tallene på dashbordet og svar med eksakte beløp i kroner: (1) inntekter og kostnader i oktober 2026; (2) hvilken av de siste tolv månedene (november 2025 til oktober 2026) som hadde høyest inntekt, og hvor mye; (3) hvor mye av kundefordringene som er forfalt mer enn 30 dager. Ikke endre noe.

Browser tools

Playwright MCP 0.0.84 · Chrome 158

Booki

Booki agent bridge

Tokens

Characters ÷ 4. Input billed = every turn re-sends the transcript

Prices

Opus 5.5 · $4 in · $20 out · $0.2 cache read, per million tokens

Speed

Tool time, median of 3 runs. No model time

Rerun

pnpm --filter agent-benchmark h2h

## Questions

What teams ask before they try it on one screen.

**What is Booki?**

Ready-made controls for accounting screens: amounts, accounts, VAT, vouchers, invoices, bank and approval. A person uses them like any form. An AI agent reads them as typed state and calls named actions, under the rules you set, and every step lands in your audit trail. The name is a small play on words: book and UI, in one.

**How is this different from MCP?**

An MCP server gives the agent your API as tools: it works behind the screen, and the person sees the result afterwards. That is a second product surface you design, secure and keep in step with the UI. Booki puts the agent on the screen the person already uses, with the same validation and rules as their own clicks, a visible cursor, and approvals that stay a person's. They go together: Booki publishes its controls as tools over WebMCP, so an agent that speaks MCP can use them directly.

**Why not just give the agent our API?**

For work nobody watches, like posting a thousand vouchers from a file overnight, an API is cheaper and simpler: use it. Booki is for the steps a person sees, corrects and decides in the screen they already use: the agent works there, the person watches, and approving stays theirs. Measured with the same four models: booking the supplier invoice, an agent on a bookkeeping API was right as often as on Booki, 20 of 20, and 1.1 to 2.4 times cheaper and 1.2 to 1.7 times faster. Reading the dashboard, the two came out about even, within a tenth of a cent and 1.3 seconds a run.

**Do we have to rebuild our frontend?**

No. Start with one screen: swap the fields that hold money, accounts, dates and references for Booki controls and keep your backend. It works in React (supported), and in Vue, Svelte, Solid and plain web components (experimental).

**Can the agent approve or pay on its own?**

Only where your rule says it may. Approving, signing off and releasing payments are a person's buttons and never agent actions. A step marked for confirmation waits for a person unless your rule allows it, as with posting under 50 000 kr in the demo, and the server guards refuse the rest for an agent.

**Which AI models does it work with?**

Any model that can call tools. Measured with Claude Opus, Sonnet and Haiku 5.5 and DeepSeek V4.1 Flash. Opus and Sonnet do these tasks right without Booki too; for them Booki saves cost and time. For the cheap models it is whether the books come out right: on the rebuilt screens they were right about four times in five, on Booki every time in the runs still counted. Five runs per cell is few, so read it as an indication.

**Where do the numbers come from?**

From real runs through Vercel AI Gateway: the same task, five runs per screen and model, the result checked after every run, cost at list price. ERP system 1 and ERP system 2 are screens rebuilt from DOM snapshots with invented data. Every page, script and call is in the repository: pnpm proof. The voucher and sales invoice runs are withdrawn: a control's hint held their answer. They come back when remeasured.

**Does it know Norwegian accounting?**

Yes. The Norwegian profile checks kontonummer and organisasjonsnummer (mod 11), generates and checks KID, knows the MVA codes and terms, and posts VAT for a coded line. The US profile is supported. Starter profiles for Sweden, Denmark, the UK and Germany are experimental, and you can define your own.

**What does it cost?**

Nothing. Booki is open source under the MIT licence. What you pay for is the model the agent runs on, and on Booki that is about an eighth of what it costs on an ordinary screen.
