Books an agent cannot break.
Prompts cannot stop bad math.
We prove our rules in Lean 4, so bad entries never save.
Four errors that never reach your books.
Rastrata checks every entry before it saves.
Not a prompt. Not a warning. A hard block.
- BlockedUnbalanced entryDebit $100.00 != Credit $98.00Books always balance
- ExactRounding drift0.1 + 0.2 = 3/10Zero penny drift
- BlockedClosed month editEdit Oct 2026 (closed)Filed taxes stay locked
- BlockedDelete posted entryDelete entry #412History stays intact
Check the proof yourself.
Every release tests the live engine against our Lean 4 proofs.
One cent off fails the build.
git clone https://github.com/Gant-Street/rastrata.gitcd rastrata/proofs && python3 check.pyproofs: okcd .. && bun test packages/kernelLean model and TypeScript engine agree: no difference
Common questions
What do the Lean 4 proofs check?
We prove our core accounting rules in Lean 4 and test the TypeScript engine against them. Every entry balances, all math uses exact fractions, closed months block edits, and every reversal cancels its original entry.
What does an append-only ledger mean?
Rastrata never edits or deletes a posted entry. To fix a mistake, you or your agent post a new reversing entry. Your full history stays intact.
Why skip floating-point numbers for money?
Floating-point math causes rounding drift (0.1 + 0.2 does not equal 0.3), and small errors break a trial balance. Rastrata calculates money with exact fractions, and our Lean 4 proofs cover that math.
Does closing a year erase my past income and expenses?
No. Rastrata locks the year and saves its closing balances without posting zeroing entries. Any past report gives you the same totals later.
Accounting has never been so boring.
Free for 30 days. No credit card required. Then $19 a month.