An autonomous bookkeeping agent for small businesses, where the real subject isn't bookkeeping; it's trust: how much authority an owner hands a system that moves their money. Built from a functional spec that marks every requirement Tested, Intent or Hypothesis, so its guesses are labelled as guesses. The working build enforces its own rules in the database rather than the interface: an append-only ledger, and two safety rails no setting can reach. You can open the books and use it on this page.
A design and functional prototype on mock data, not a production system.

The real prototype, not a recording. It opens on the sign-in screen: any email and any password get you in, or take the two-minute tour instead. Runs entirely in your browser.The real prototype, not a recording. It opens over this page, and closing it brings you straight back here.
The hard problem with an AI agent that touches your money was never the bookkeeping. It's how much you're actually willing to let it do without asking first, and that has to be earned by the product, not assumed on day one. Keel started as a functional spec that was unusually honest about the difference: every requirement is labelled Tested, Intent, or Hypothesis, so a guess never gets to masquerade as a proven fact.
QuickBooks does bookkeeping. What nobody's really built is the first bookkeeper you can actually watch reasoning, so every screen answers one of three questions: what did you do without me, what do you need from me, what are you actually allowed to do. Open Approvals and the first thing you'll see is a $2,300 wire sitting below the 40% confidence floor Keel's allowed to act under: it doesn't guess anyway, it stops and asks. Every card shows the proposed action, the reasoning in plain language, and a literal confidence number, never a bare yes or no.

This is the part I'm proudest of, because it's a database decision, not a design one. The ledger's events table has database-level triggers that physically abort any attempt to edit or delete a row: no code path, careless or malicious, can rewrite history. A correction is a new row pointing back at the one it supersedes, and a test literally re-reads the original row afterward to prove it's untouched. Two rules can't be turned off no matter what: the first payment to a brand-new vendor, and anything touching a dispute, always stop for a human; they're hard-coded constants, checked before any setting is even read. I POSTed a request straight past the interface trying to set an auto-pay ceiling at $99,999; it got clamped to $2,000 anyway, because the interface was never what was holding that limit.
Three stages left to right. A request for a $99,999 auto-pay ceiling, POSTed straight past the interface, arrives at the locked rails; the rails are constants in the rules engine, read before any configuration; what is recorded is $2,000. Bypassing the interface changes nothing, because the interface was never what was holding the limit.
This is the mechanism behind Where the guardrails actually live. The rule is not in the application code, where a later change could route around it. It is in the schema: two triggers that abort any UPDATE or DELETE on the events table, and a CHECK constraint that refuses to store an action whose reason is blank.
CREATE TABLE IF NOT EXISTS events ( seq INTEGER PRIMARY KEY AUTOINCREMENT, id TEXT NOT NULL UNIQUE, occurred_at TEXT NOT NULL, actor TEXT NOT NULL CHECK (actor IN ('keel','owner')), type TEXT NOT NULL, reason TEXT NOT NULL CHECK (length(trim(reason)) > 0), rule_ref TEXT NOT NULL, subject_type TEXT NOT NULL, subject_id TEXT NOT NULL, payload TEXT NOT NULL, supersedes INTEGER REFERENCES events(seq));-- … two indexes on subject and date-- Audit integrity. These are the whole point of the FSD's §5.7.CREATE TRIGGER IF NOT EXISTS events_immutable_updateBEFORE UPDATE ON eventsBEGIN SELECT RAISE(ABORT, 'events are append-only: UPDATE is forbidden');END;CREATE TRIGGER IF NOT EXISTS events_immutable_deleteBEFORE DELETE ON eventsBEGIN SELECT RAISE(ABORT, 'events are append-only: DELETE is forbidden');END;An audit trail enforced in application code is one code path away from being editable, and that code path is rarely malicious. It is usually a well meant fix on a deadline. Putting the rule in the schema means the database says no to every caller: to the interface, to a migration, to me, and to whatever I write next year. The reason constraint is the same idea aimed at a different failure. An action with no stated reason cannot be stored at all, so "nothing happens silently" is a property of the table rather than a promise in the copy.
The claim on this study's card is not that I believe the ledger holds. It is that a test tries to break it.
describe('the record is physically append-only (FSD §5.7)', () => { it('refuses UPDATE at the database level', () => { const store = new EventStore(freshDb()); const seq = store.append(event()); assert.throws( () => store.db.prepare(`UPDATE events SET reason = 'rewritten' WHERE seq = ?`).run(seq), /append-only/, ); store.close(); }); it('refuses to store an action with no stated reason', () => { const store = new EventStore(freshDb()); assert.throws(() => store.append(event({ reason: ' ' })), /silent action/); assert.equal(store.count(), 0); store.close(); });The twelve pages above are a hand authored walkthrough, so there is nothing here to click that exercises the ledger. The two files are published instead: eventStore.ts and integrity.test.ts. Running node --test 'test/*.test.ts' against the suite they belong to reports 61 tests and 61 passing, which is where the number on this study's card comes from.
Prototype code · runs in the demo above
Rather than invent a visual language from nothing, Keel borrows from financial objects people already trust without being asked to: the bank passbook, the ruled ledger, the rubber stamp. Cream paper, warm near-black ink, every number set in monospace so ledger columns line up for free. The whole interface is making one argument: you can check my work.

Twelve pages are a hand-authored design reference showing the system used well. Separately, a real working build (a rules engine, an event store, 61 passing tests) runs underneath and computes its own numbers live, which is why the two don't always agree; that's by design. Deliberately not built: a real bank connection, real outbound email, and accuracy calibration, because proving a stated 90% confidence is actually 90% accurate needs real outcomes over real time, and no prototype can manufacture that.
