For builders
What is vibe accounting?
Vibe accounting is the practice of building accounting and finance software by describing intent to an AI coding agent, using components that already encode double-entry rules, money formatting, period logic and audit controls — so the generated interface is correct by construction rather than merely plausible.
Accounting software fails without an error
That’s why generating it from a blank file is a different risk from generating anything else.
A broken layout is obvious. A ledger that sums to the wrong number isn’t. It renders, it looks finished, and someone finds it a quarter later when an account won’t tie. A capable model writes every line below when asked for a finance screen, because each one is defensible in general software and wrong in accounting.
- amount: 1240.56amount: 124056, currency: 'USD'
Minor units, always. Floating point can't hold most cents exactly (0.1 + 0.2 is 0.30000000000000004). Round thousands of rows in different places and they drift by a cent, which shows up in a reconciliation nobody can explain.
- {value ?? 0}{value === null ? 'n/a' : <Money value={value} />}
null is not zero. Showing $0.00 for an unknown balance claims something the system doesn't know.
- -$1,240.56($1,240.56)
Accounting parentheses, with the paren column reserved on both sides so the column stays aligned whatever the sign.
- <td>{entry.amount}</td><td>{debit}</td><td>{credit}</td>
Debit and credit are two columns. One signed number isn't a journal entry, and you can't prove a trial balance built on it.
- toFixed(2)currency-aware decimal places
JPY has none, KWD has three. Hardcoding two is a bug with a customer attached.
- delta > 0 ? 'green' : 'red'polarity-aware color
Rising burn isn't good news. Color follows what the metric means, never the sign of the number.
Correct by construction, not by prompt
A longer prompt won’t fix it. Move the correctness out of the prompt and into the component, where it’s reviewed once and reused forever. Lopifi is that layer: 195 components, each specified against the accounting before it was written.
# 1 — tell the agent where the components live
{ "registries": { "@lopifi": "https://lopifi.com/r/{name}.json" } }
# 2 — the theme first; components without it compile to unstyled markup
npx shadcn@latest add @lopifi/theme
# 3 — then describe the screen, and let it install what it needs
npx shadcn@latest add @lopifi/journal-entry-table @lopifi/trial-balanceThe components a ledger needs
The ten a ledger screen can’t do without, running live. Each card opens its spec and install line.
- MoneyThe core primitive. A monetary value, formatted correctly.
- DeltaA signed change, with polarity and a redundant non-color cue.
- FigureA large display numeral with automatic size step-down.
- PercentPercent vs. percentage points, explicitly discriminated.
- RuleSingle / double / section accounting rule lines.
- BalanceCardThe hero: one trusted number.
- KpiCardMetric + delta + optional sparkline.
- AmountInputThe hardest input in fintech.
- PaymentFormAmount → payee → method → date → memo.
- ConfirmPaymentDialogAmount, destination, timing. Hold-to-confirm.
Common questions
What is vibe accounting?
How is vibe accounting different from vibe coding?
Can an AI agent write correct accounting software?
What does an agent need to do vibe accounting?
Is vibe accounting a replacement for an accountant?
One email per family
Get the next list of what agents get wrong
Every family we ship starts as a list of the ways a model gets that surface wrong. We send one email per family, with the list. It's useful whether or not you install anything.