README.md
01 · OVERVIEW

Leading an AI Accelerator team in Android, Google.

My team works on incubating and shipping AI capabilities in Android primarily via Gemini, Search and other surfaces. Historically, we used to work on on device machine learning, Android deployment, system optimisation and computational photography projects.

We are primarily based out of 🇺🇸 USA and 🇸🇬 Singapore.

// TL;DR; Mostly 404 otherwise figuring out solutions or next problem to solve.

Hoping for positive impact, good Karma and unbounded learning ;). All the posts and opinions are personal and are not related to any organisations I work for.

skills.json
03 · 7 DOMAINS
01 / AGENTS

Agent Harness Design

Agentic workflows, tool-calling & app-function orchestration, evaluation harnesses, and reliable deployment across Android OS and surfaces

02 / ML

Applied ML

Language Models, Evals, APO, Doc Understanding, Small Model training, optimization and release

03 / IMAGING

Camera

Camera2, ISP pipeline, multi-frame capture & imaging architecture, primarily on Android

04 / VISION

Computer Vision

Primarily around Camera needs, Night Mode, HDR imaging

05 / RUNTIME

Android Performance

JNI, Native, Android Image processing, Real-time processing (OpenGL), Renderscript, Tflite inference on device

06 / KERNEL

Android Memory

Android Internals, Java and Native memory, ION memory manager

07 / SCALE

Distributed Systems

High Availability, Resilience & Robustness

career.log
04 · 2015 – PRESENT

Experience

Senior Staff Software Engineer, Google

Present
Current ⚓ Mountain View, California, USA

Android + AI Acceleration

I lead an engineering team in Android primarily based out of the USA and Singapore, building differentiated AI experiences including Device Help in Gemini.

The team works on AI agents across Gemini and Search, with the goal of bringing more agentic capabilities into Android OS and surfaces.

Staff Software Engineer (TLM) at Google

May 2019 – Jan 2025
⚓ Singapore

Android & On-Device ML

Tech Lead Manager for applied ML and computer vision products across Android, including QR Scanner, Barcode Decoder, Document Scanner, and Files by Google.

Camera from Google

Led computational photography for Camera from Google, shipping low-latency imaging on resource-constrained Android hardware:

  • Led the team behind Night Mode, HDR, Portrait Mode (real-time and post-processing), and Face Enhance.
  • Launched Night Mode and HDR on devices with as little as 1 GB RAM and entry-level CPUs.
  • Architected the multi-stage image-processing scheduler optimized for low-memory, low-CPU devices.
On-device MLApplied MLDocument UnderstandingAndroid Camera & StorageLinux Memory ManagementComputational Photography

Software Engineer II at Microsoft

Jun 2016 – May 2019 (~3 years)
🇮🇳 Hyderabad, India

Built intelligent alerting services on Microsoft Azure, combining applied data science and distributed systems to reduce mean time to mitigation (e.g., Smart Grouping).

  • Led design and implementation of a 99.99%-available Azure Alerting platform, resilient to regional datacenter outages.
  • Built the alerts correlation service to group related signals across sources and reduce alert noise.
  • Awards: 1st Prize (Microsoft-wide) at the annual hackathon (Universal Windows App with HoloLens & IoT); Runner-up in short paper presentation at Synapse – AI Meet 2017 (Microsoft IDC).
Applied MLUnsupervised LearningBayesian NetworksKnowledge GraphsDistributed SystemsHigh Availability

All roles @Todofy

2015 (~6 months)
Built in my hostel room · New Delhi, Delhi Technological University

Todofy was a final-year project built from scratch to organize 100M+ TODOs across GitHub codebases with full lifecycles and collaboration (see mebjas/csrf-protector-php). Wearing every hat from Engineer to PM, TPM, and UX, I still feel the problem is ripe for a modern PaaS or SaaS platform.

TIL // Engineering Notes
01 / 10

Did you know a 1 GB Android device only has ~880 MB of usable RAM, of which only ~450 MB is left for applications? Learn about carveout memory in Linux

oss/repos.md
05 · MAINTAINED SINCE 2014

HTML5 QRCode

Author, Maintainer · Since 2014

It's a QR code reader for the web, built on vanilla js works for different frameworks, operating systems and platforms. Check demo here. Getting more traction everyday!

→ Html5QrcodeScanner - End to end QR Code scanner for web, not just a library

OWASP CSRF Protector

Author, Lead Maintainer · Since 2014

Author and main maintainer of this OWASP project since 2014. This project started with my participation in Google Summer of Code with OWASP in 2014 under the mentorship of K. W. Walls and Abbas Naderi. Read more about the project in the OWASP Wiki.

OWASP CSRF Protector Project is an effort by a group of developers in securing web applications against Cross-Site Request Forgery, providing a PHP library and an Apache Module (to be used differently) for easy mitigation.