Inspiration
Across Kerala, millions of women gather every week in Kudumbashree Neighbourhood Groups (NHGs)—locally known as Ayalkoottams—to pool savings, disburse internal loans, collect repayments, and manage community funds. Despite being one of the largest women's self-help networks in the world, weekly meetings still rely heavily on handwritten passbooks and manual registers.
Secretaries and treasurers have to simultaneously moderate lively Malayalam discussions, calculate loan interest and installments on the spot, track Panchasutra compliance, and write down every single rupee accurately. Manual entry slows down meetings, introduces arithmetic errors, and creates friction when reconciling records later for systems like LokOS. We wanted to build a tool that lets Kudumbashree members run their meetings naturally through speech—without losing the strict financial discipline and transparency that makes the system work.
What it does
Koottam is a voice-first live meeting ledger designed specifically for Kudumbashree NHGs. It listens to Malayalam, Manglish, and English speech during a weekly meeting and turns natural conversation into structured financial drafts—while enforcing a strict human-in-the-loop confirmation workflow before any money hits the books.
- Voice-First Entry Drafting: Secretaries or members can speak naturally (or type) to record thrift deposits, internal loans, loan repayments, fines, and separate trip-fund contributions.
- Explicit Confirmation & Audio Readback: Spoken inputs never write directly to the ledger. Koottam displays a confirmation card and reads the entry back aloud so the group can verify it. Members can confirm with a tap or simply say "sheri" (okay), edit values inline, or say "cancel".
- Smart Name Disambiguation: If a spoken name is ambiguous or partially transcribed (e.g., Sma), Koottam pauses and prompts the user to select the exact member from the group roster before allowing confirmation.
- Live Rule & Loan Calculation: Automatically calculates loan interest, installment schedules, and default thrift/fine presets based on the group's configured rules.
- Panchasutra & Fund Separation: Tracks live Panchasutra health checks, keeps trip funds strictly separated from the main bank pool, supports exact batch undo for mistakes, and exports meeting records in a LokOS-oriented CSV format.
- Meeting Lifecycle Management: Generates an opening recap when a meeting starts and a closing summary when it ends. Starting the next week's meeting automatically resets daily totals while carrying forward member balances and trip savings.
How we built it
- Frontend: Built with React 18, Vite, and Tailwind CSS using a high-contrast, monochrome, mobile-first layout designed for quick scanning and one-handed use during live meetings. Draft state persists across accidental tab refreshes via
sessionStoragewith server-side pending-flag recovery. - Backend & Ledger Engine: Powered by Python 3.11 and FastAPI, backed by SQLite with serialized transactions to guarantee ledger consistency and atomic batch undos.
- Speech & AI Pipeline:
- Speech-to-Text (STT): Sarvam AI (Saaras v4) transcribes Malayalam, Manglish, and English audio clips in real time, paired with automatic silence detection (stopping 2 seconds after speech ends).
- Structured Extraction: Google Gemini (
gemini-3.5-flash-lite) parses conversational utterances into typed financial intents (draft,edit,confirm,cancel) and resolves explicit spoken self-corrections. - Text-to-Speech (TTS): Sarvam AI (Bulbul v4 Flash) generates natural voice readbacks and meeting recaps.
- Offline & Keyless Resilience: If API keys aren't configured or a network drop occurs mid-meeting, Koottam gracefully falls back to deterministic local text parsing and browser Web Speech APIs.
- Deployment & Testing: Containerized with Docker & Nginx, deployed with a hosted FastAPI ledger on Vercel and Layerbase, and verified with an offline unittest suite alongside end-to-end Playwright browser tests.
Challenges we ran into
- Handling Natural Manglish & Mid-Sentence Corrections: In real meetings, speakers switch fluidly between Malayalam and English or correct themselves mid-sentence (e.g., naming one member, pausing, and restarting with another member and amount). Prompting Gemini with strict JSON schemas and building explicit name-restart resolution rules was essential to prevent misattributed entries.
- Balancing Speed with Financial Safety: Voice interfaces can feel fragile when money is involved. Preventing accidental commits required designing a state machine where voice edits, ambiguous names, and inline UI changes strictly lock out voice confirmation until the updated draft is explicitly reviewed.
- Model Latency & Availability: During development, earlier Gemini model endpoints returned
404or503errors under peak demand. Migrating our structured extraction pipeline togemini-3.5-flash-litegave us fast, reliable response times without sacrificing extraction accuracy. - Browser Mic Constraints on Mobile: Mobile browsers block microphone access over plain HTTP on local networks. We ensured the app works seamlessly over HTTPS deployments while also providing instant sample phrases, text input, and keyless browser speech fallbacks for local testing.
Accomplishments that we're proud of
- Zero-Slip Ledger Integrity: Every financial calculation—from ₹210 combined thrift/fine batches to ₹5,000 loan disbursements and ₹1,500 isolated trip funds—is deterministically validated on the backend, protecting the ledger from hallucinated numbers or sub-paise rounding errors.
- Built for Real Connectivity Conditions: Whether running with full Sarvam + Gemini AI pipelines or offline without API keys, the core meeting workflow never breaks.
- Complete Meeting Continuity: Building true multi-meeting rollover—where bank totals reset, member balances carry over, historical meetings remain auditable, and LokOS-ready CSVs export in Indian Standard Time—makes Koottam feel like a real operational tool rather than a simple voice demo.
What's next for Koottam
- Direct LokOS Integration & PDF Passbooks: Aligning our CSV export directly with official Kudumbashree LokOS import schemas and generating printable Malayalam/English monthly passbook summaries for members.
- Field Testing with Live NHGs: Running usability sessions with Kudumbashree secretaries across Kerala to fine-tune dialect recognition for regional Malayalam accents and noisy community hall environments.
- Multi-Device Sync & Offline-First PWA: Upgrading the frontend into an installable Progressive Web App (PWA) with background sync so meetings in low-connectivity rural wards can run completely offline and sync later.
Check it out on the live page hosted:- https://koottam-two.vercel.app/
Built With
- css
- dockerfile
- html
- javascript
- python
- typescript