Hi, I'm Ritik.

I'm a backend engineer building LLM products in Python, on AWS and Postgres. I build things to understand them, and this is where I keep what I've made, how it changed along the way, and what I learned.

Currently

Projects

Learning Concepts

My own library of computer-science courses, built around the systems I use at work, written as chains of problems where nothing is used before it's taught.

  • Warm, paper-like reading, like a Kindle
  • Courses as books on a shelf
  • Nothing used before it is taught

Life & Lore

A private, local-first journal that grew into a personal "life app" (diary, quotes, places, a library of shows and books), built to last.

  • Design inspired by Reflection.app
  • Photos, places and memories in one entry
  • Built to still work in ten years

Built at work

Email triage at scale

Built at EmailZap

A cost-aware classification system that triages 60–70k emails a day into Act, Know or Ignore, using a tiered model cascade so most emails never reach an LLM.

  • Tiered model cascade
  • MinHash similarity cache, shadow-validated
  • Offline evaluation on thousands of emails

Ask your inbox

Built at EmailZap

Search that answers plain-language questions about your email, like "what did Acme charge me last month?", using hybrid lexical and semantic retrieval with source-grounded answers.

  • Hybrid BM25 + semantic retrieval
  • Golden-set evaluation
  • Source-grounded answers

Real-time email ingestion

Built at EmailZap

An event-driven pipeline on AWS Lambda and Step Functions that syncs Gmail in under a second, onboards new inboxes in parallel, and moved 854 GB of email data onto PostgreSQL and S3, account by account.

  • Sub-second Gmail sync, p95 1.0 s
  • ~100k push events a day
  • 15.4M emails migrated