# BH-Observer

- **Event:** [Meta Global AI Developer Hackathon](https://cerebralvalley.ai/e/meta-ai-developer-hackathon)
- **When:** Oct 26, 12:00 PM – Nov 4, 9:00 PM (EST)
- **Where:** Online
- **Team:** [Burhan Uddin](https://cerebralvalley.ai/u/bh-observer)
- **GitHub:** https://github.com/BHObserver/scriba
- **Demo video:** https://youtu.be/4HPt28I7RlA
- **Gallery:** https://cerebralvalley.ai/e/meta-ai-developer-hackathon/hackathon/gallery
- **Page:** https://cerebralvalley.ai/e/meta-ai-developer-hackathon/hackathon/gallery/3843

Scriba turns a shopkeeper's handwritten khata (ledger) into checked books, on his phone, in Bangla.

The problem: most small shops in Bangladesh keep their accounts in a handwritten khata. Bangla script and Bangla digits, the day's cash sales, customers' credit and payments to companies' sales representatives (SRs) are all mixed on one page. Every night the owner adds it up with a calculator, and every night something doesn't add up. He never sees what he sold, who owes him, or what should be in the cash drawer. Accounting apps don't fit him: they need typing, English and accounting words, and he has already written everything down once.

What Scriba does:
1. He photographs the page. The camera finds the page on a cluttered counter and straightens it.
2. Meta's Muse Wonder reads the whole page in one request: every line with its items, quantities, rates and amounts; the parts of the page (the day's sales, a customer's account, a company's visit); where each line sits on the photo; and which figures it isn't sure of.
3. Code, not AI, does all the arithmetic: totals, running totals, balances, and each customer's and company's dues across pages. Code also puts each line's box on the actual ink and splits parts at the lines he draws between them.
4. He sees every number under a strip of his own handwriting. Doubtful figures are marked with the model's alternative readings, and one tap fixes anything. Scriba then asks only what code can't know ("Is this Karim's account?", "Did he owe anything before this page?"). Nothing enters his books until he agrees.
5. He gets what he never had: the day's sales (cash and credit apart), money out, what should be in the drawer, a plain note, seven days of sales and everyone who owes him. Every figure opens the handwritten lines behind it. He closes the day by counting the cash, sends a customer a reminder with a picture of the unpaid lines, and asks Scriba questions in Bangla or English, typed or spoken.

The principle: AI reads. Code checks. He decides.

It is a working, deployed app (Next.js, Supabase with row-level security on every table, Vercel), used on real handwritten pages, with 921 automated tests. Exploratory measurements on the author's handwriting: a line's picture shows its own line for 276 of 277 lines after code puts the boxes on the ink (225 with the model's boxes alone); amounts read right 53 of 58 with his handwriting notes. Built solo in Cox's Bazar, Bangladesh, during the hackathon (27 Oct to 4 Nov 2026).

Judges' demo login for https://scriba-one.vercel.app: 
demo-shop@example.com
9TwgJvs_Qp3St07Ly5Y6

## More from Meta Global AI Developer Hackathon

- [Nimbotics](https://cerebralvalley.ai/e/meta-ai-developer-hackathon/hackathon/gallery/3840)
- [Sleeply - AI Agent](https://cerebralvalley.ai/e/meta-ai-developer-hackathon/hackathon/gallery/3841)
- [Deal Copilot](https://cerebralvalley.ai/e/meta-ai-developer-hackathon/hackathon/gallery/3842)
- [Theo's house](https://cerebralvalley.ai/e/meta-ai-developer-hackathon/hackathon/gallery/3844)
- [ProofLab AI](https://cerebralvalley.ai/e/meta-ai-developer-hackathon/hackathon/gallery/3845)
- [Undercontrol](https://cerebralvalley.ai/e/meta-ai-developer-hackathon/hackathon/gallery/3846)

---

Markdown version of https://cerebralvalley.ai/e/meta-ai-developer-hackathon/hackathon/gallery/3843. Site index for agents: https://cerebralvalley.ai/llms.txt · full text: https://cerebralvalley.ai/llms-full.txt
