Image 1 of 3: Hisab site with a phone chat posting coffee, chai, a voice note and a receipt, then undoing one
Text "2500 coffee", send a voice note in Urdu, Roman Urdu or English, a receipt photo or a forwarded bank SMS, and a WhatsApp agent posts a real hledger transaction to a plain-text ledger kept locally. Six tools on an OpenAI-compatible endpoint, self-hosted with Docker.
Trade-offs
- The model gets six tools: append, undo, report, learn a category rule, read and add accounts. No shell or file access, and every append runs
hledger check --strict, rolling back on failure. - Undo is a WhatsApp reply: quoting an old message and saying undo reverses that entry. Each entry maps to its message id, so the chat itself is the audit trail.
- Self-hosted with no server of its own, but entries, voice notes and receipt photos do go to the configured model provider.
Q&A4
Yes. A terminal demo runs the same pipeline against a committed sample ledger of a corner shop, with one model key. Every reply is the model calling one of the six tools against
hledger; nothing is scripted.The first message asks, in English and Urdu, whether the ledger is personal or for a shop; the language of the answer becomes the language of eight numbered setup questions, which write the chart of accounts.
Sending
export-ledger returns the ledger folder as a ZIP named by local date and time. The ledger is a Markdown file that also opens in Obsidian with an hledger dashboard.Built, not deployed: phone sign-in, the agent key sealed in the browser and a verify step all work end to end on one machine, but none of it is on the internet yet.
Links
- Live(opens in a new tab)mhmzdev.github.io/hisab
- GitHub(opens in a new tab)github.com/mhmzdev/hisab-whatsapp
- Architecture(opens in a new tab)github.com/mhmzdev/hisab-whatsapp/blob/4b25ab817147e2e57f0bad7c9a83dbe2a74cb686/ARCHITECTURE.md
- Self-host on a VPS(opens in a new tab)github.com/mhmzdev/hisab-whatsapp/blob/4b25ab817147e2e57f0bad7c9a83dbe2a74cb686/docs/self-host-vps.md
Built by
Reviews
Loading reviews
More in Ledgers
See all 7 →
go-ledgerMulti-tenant double-entry payment ledger API in Go, built in public- RRQClosed-loop payment ledger on sharded Postgres with a Kafka outbox
- pgledgerDouble-entry ledger implemented entirely in PostgreSQL functions and views
Accountant24Personal finance agent that keeps an hledger ledger in plain text under git
OpenBilanzLocal tool for a German GmbH's opening balance, annual accounts and E-Bilanz- FinCore EngineSelf-hosted JVM core for a double-entry ledger, payments and compliance
More in Fintech
See all 21 →
FinTrackEvent-driven personal finance platform on Spring Boot, SQS and PostgreSQL
OffPayOffline UPI payments over *99# USSD, with no data connection
PandaPayLensPayment error decoder and event timeline that runs in the browser
Edge ScannerLocal intraday stock scanner with setups built without code- Trading Journal AILocal trading journal that rebuilds round trips from broker CSVs
PartageEnd-to-end encrypted, local-first bill splitting with no accounts
More in AI agents
See all 99 →
HashCortxLocal-first desktop workspace for chat, coding agents and agent teams- ZeroboxDeny-by-default process sandbox with per-host secret injection
DeftSelf-hosted workspace shared by people and AI agents
EntrolyLocal context layer that picks what coding agents send to the model- Active GraphEvent-sourced graph runtime for long-running, auditable agents
AgenvoySelf-hosted agent harness in one Go binary, running around the clock