Back to projects

Prabandh & Kubera: Self-Hosted Personal ERP & Life OS

A self-hosted modular monolith Life OS integrating 11 core domains: double-entry wealth management (Kubera), multi-asset investments (Nivesh), loan amortization, tax planning, document vault (Dastavej), fleet tracking (Vaahan), health records (Swasthya), utilities (Sadhan), pantry inventory (Rasoi), learning (Buddhi), and a dedicated kids tablet kiosk (Balka).

Role
Architect & Developer
Environment
Self-Hosted Homelab (Docker / PostgreSQL)
Timeline
2026
Stack
Python (FastAPI), PostgreSQL, SQLAlchemy Async, Alembic, Docker
Codebase
Private (Active HomeLab infrastructure)

The problem

Personal life operations and household data are chronically fragmented across walled gardens and brittle consumer SaaS tools. Financial aggregators harvest and monetize transaction data; medical records reside in disparate clinic portals; vehicle warranties and insurance renewals get lost in email inboxes; and household logistics (pantry restocking, utility consumption, kids' daily routines) exist on disconnected note apps or paper whiteboards.

Commercial ERPs are designed for enterprise accounting and are far too bloated for domestic engineering. I needed a single, private, self-hosted system that treats personal life management with enterprise rigor: rigorous double-entry bookkeeping, strict schema validation, encrypted document archiving, and automated alert engines—without paying subscription fees or leaking family data.

The solution: Prabandh Modular Monolith

I architected Prabandh as a unified modular monolith powered by FastAPI and PostgreSQL. In late 2026, the standalone Kubera financial platform was merged directly into Prabandh, creating a cohesive Life OS with clean domain boundaries across three primary clusters:

1. Financial Intelligence & Wealth (Kubera Core)

2. Household Logistics, Fleet & Utilities

3. Family Records, Health & Next-Gen Interfaces

System Architecture

┌────────────────────────────────────────────────────────────────────────┐
│                    Presentation & Client Surfaces                      │
│  ├── Unified Command Center (Web PWA / Desktop Responsive)             │
│  ├── Dedicated Kids Tablet Kiosk (Balka Touch Interface)               │
│  └── Mobile Quick-Capture (Receipt & Expense Ingestion)                │
└───────────────────────────────────▲────────────────────────────────────┘
                                    │ REST API (X-Prabandh-Api-Key)
┌───────────────────────────────────▼────────────────────────────────────┐
│                    Prabandh FastAPI Core Engine                        │
│  ┌────────────────────────┐  ┌───────────────────────┐  ┌───────────┐  │
│  │   Kubera Wealth Core   │  │ Household & Logistics │  │  Family   │  │
│  │ ├── khata (Ledgers)    │  │ ├── rasoi (Pantry)    │  │ ├── dast- │  │
│  │ ├── milan (Reconcile)  │  │ ├── vaahan (Vehicles) │  │     avej  │  │
│  │ ├── nivesh (Portfolio) │  │ └── sadhan (Utilities)│  │ ├── swas- │  │
│  │ ├── karz (Amortize)    │  └───────────────────────┘  │     thya  │  │
│  │ └── kar (Tax Engine)   │                             │ ├── buddhi│  │
│  └────────────────────────┘                             │ └── balka │  │
│                                                         └───────────┘  │
│  Async Services: Ledger Validator · Loan Simulator · Tax Calculator    │
│  Background Tasks: APScheduler (Alerts, Expiries & Periodic Sweepers)  │
└───────────────────────────────────┬────────────────────────────────────┘
                                    │ SQLAlchemy Async (asyncpg)
┌───────────────────────────────────▼────────────────────────────────────┐
│                  PostgreSQL (Homelab Sovereign Data)                   │
│  ├── Append-Only Financial Journal & Double-Entry Tables               │
│  ├── Asset Valuations, Vitals & Maintenance Time-Series                │
│  └── Encrypted Blob Pointers & Metadata Catalog                        │
└────────────────────────────────────────────────────────────────────────┘

Engineering Challenges & Design Decisions

Building a multi-domain Life OS presents distinct architectural hurdles:

Key Takeaways

Consolidating personal life administration into a single, sovereign database eliminates reliance on commercial SaaS tools. The modular monolith pattern provided the optimal trade-off: unified backups and zero network latency between modules, paired with strict domain isolation and clean code organization.

See other projects