How I build AI products
Four products, one method. Three use a language model for one narrow job each, and one deliberately uses none. Every number on this page was measured, and the case studies at the end show the tests behind them.
The method
Where language is messy and a person checks the result. Where a promise has to hold every time, plain code decides.
In Umbra the model drafts a rule and fixed rules enforce it. In CardRight it names a store's category and the math picks the card. In Conatus it writes the words of a plan and the rules set every date. In Outpost no model is involved in the decision at all.
Test the job, not the leaderboard: accuracy against a rules-only baseline on a fixed test set, speed for the wait the user will tolerate, cost per call, and where it is allowed to run.
I chose gpt-oss-120b, OpenAI's open-weight model, served by Groq. A Gemini Flash model drafted correctly too, but answered several times slower and ran out of free daily quota mid-test. Open weights matter for Umbra's buyer: a regulated company could run the same model in its own cloud.
Write the test set and answer key before scoring. Include cases it should refuse. Keep a baseline, publish the misses, and never change the rules after seeing the results.
Umbra was scored on 51 policy sentences, Conatus on 30 goals including health-risk and crisis messages, and CardRight on 18 store names it was never tuned on. Conatus's strict word-match rule fails 7 plans a person would call on-topic, and it stayed as written.
Every model call has a timeout, a fallback that says so on screen, and a checker that drops anything outside the allowed shape.
Umbra falls back to its rules after 8 seconds. CardRight keeps its name rules as a second opinion because the model's one miss was confident and wrong. Conatus catches crisis words before any model call.
Call the model when value is created, not on every event. Then serving a customer does not get more expensive as they use the product more.
Umbra calls the model when someone writes a policy, a few times a week, while inspecting every prompt is plain code. CardRight only asks about stores it does not know. Outpost decides in about two microseconds at no cost per action.
Side by side
The same questions for each AI feature: what is the model's job, did it beat rules alone, how fast is it, what happens when it fails, and what drives the cost.
| Product | The model's job | Model | Against rules alone | Speed | If it fails | Cost grows with |
|---|---|---|---|---|---|---|
| Umbra | Turn a policy sentence into a draft rule | gpt-oss-120b | 46 of 51 vs 28. 0 unsafe drafts | Median 481 ms | Rules-based parser, after 8 s | Policies written, not prompts sent |
| CardRight | Name the category of an unfamiliar store | gpt-oss-120b | 17 of 18 vs 10, on held-out names | 0.33 s median | Name rules, and says so | Unfamiliar stores only |
| Conatus | Write the words of a plan for a goal | gpt-oss-120b | 23 of 30 vs 1 plan specific to the goal | 0.64 s median | Rules planner, and says so | One call per goal |
| Outpost | None. Allow, hold or stop is one plain function | No model | 0 bypasses in 20,000 random actions | About 2 µs | Nothing to fall back from | Nothing per action |
Test sets are small and written by me, and the scored runs used one model on one provider. They show the method, not production performance. Raw results are saved in each product's code repository and rescored by tests, so the figures cannot drift.
Trade-offs
Gemini Flash drafted Umbra rules correctly but several times slower. For a box a person waits on, speed decided it.
Cost: less headroom if a harder drafting job comes later.When a policy sentence hides an instruction, Umbra's model refuses the whole sentence instead of drafting the genuine half. It handled 3 of 4 such cases and drafted nothing unsafe.
Cost: the person rewrites the sentence. Next on the roadmap.CardRight's model called Midstate Gas Company a gas station, and marked it sure. It is a utility bill. The name rules stay on, and when they disagree with the model, the app asks.
Cost: an extra question now and then.A model deciding allow, hold or stop in Outpost would look impressive. It would also break the promise that the same action always gets the same answer, which is what makes the logbook auditable.
Cost: less flexible rules, by design.What I measure
The last one needs real users. In a pilot I would add time saved per task and cost per successful task.
The evidence