Docket
Quotes trade jobs from a voice note or a text. A local open model drafts the quote from the job description; deterministic code does the pricing, so the total always matches the price book.
The problemA quote has to be right to the cent
Plumbers, electricians and handymen quote jobs from a price list, often from a van or a basement. A language model is good at reading a job described the way people say it. It is not good at arithmetic, and a quote that is off by a few hundred dollars costs the business real money.
What I builtThe model reads; code prices
Docket is a plugin for Hermes Agent. Describe the job in a text or a voice note, and a quote card comes back with Send, Edit and Discard buttons. Five rules drive the design:
- The model never produces a number. It maps words to price-book codes and quantities through a schema with no money fields. Code does every calculation in exact decimals, rounded once per line.
- Nothing is guessed. Work the price book can’t price becomes a needs-price line, and a quote with one can’t be sent.
- Nothing reaches a customer without a tap. The buttons send directly, with no model turn, and scheduled runs are blocked from sending.
- Every send happens once and is versioned. A double tap sends once; revising a quote makes a v2 and voids v1’s customer link.
- Code checks what code can read. ZIP codes, weekend, after-hours and emergency work, membership and stated labor hours are read from the words by code, whatever the model says.
Proof60 messy job descriptions
With the same Qwen 3.5 9B model running locally, Docket quoted 19 of 20 held-out jobs exactly; the model on its own got 3. All of Docket’s misses across both sets were safe: the total was right, but a line was flagged for the owner to check before sending.
| Original 40 | Held-out 20 | |
|---|---|---|
| Bare model, full price book | 8 / 40 | 3 / 20 |
| Docket’s parser, no model | 27 / 40 | 16 / 20 |
| Docket | 37 / 40 | 19 / 20 |
Voice notes go through Hermes’s local Whisper. Docket hands the recognizer the owner’s own price-book words, so trade terms come out spelled the way the price book spells them, and it reads numbers the way people say them: “six two seven oh seven” becomes 62707.
| Whisper base | Whisper small.en | |
|---|---|---|
| Plain transcription | 15 / 20 | 16 / 20 |
| With Docket’s vocabulary hint | 17 / 20 | 18 / 20 |
DecisionsWhere the guarantees come from
- Arithmetic in code, not in a prompt. A prompt can describe a price book; it can’t guarantee the sum. Bigger cloud models do better on their own, but the total should never depend on which model is plugged in.
- No money fields in the schema. The model has nowhere to put a price, so it can’t invent one.
- Approval gates in the agent. A hook asks before the agent sends a quote or saves a price-book change, listing the exact changes, and blocks both from scheduled runs.
- No email or texts sent on the owner’s behalf. Docket writes the customer email and PDF to an outbox and hands over a message ready to forward; the owner chooses how it reaches the customer.
LimitsWhere it falls short
- The test sets are small. 60 written jobs and 20 spoken ones: enough to show the gap, not to put a precise rate on it.
- It prices only what the transcript names. A word Whisper drops becomes a line missing from the card the owner checks before sending, never a guessed one.
- The accept page runs locally by default. Docket warns when a customer link would only open on the owner’s own computer.