Case study · AI SaaS · Tech lead

StudyBuddy: from day one to a multi-million-dollar AI SaaS

StudyBuddy is an AI Chrome extension that answers students' questions from a screenshot or a highlight. I joined at the very start and, as tech lead, owned the frontend, backend, DevOps and database work while building and leading the team, and helped grow the product into a multi-million-dollar SaaS with 60k users.

Role
Tech Lead
When
Where
Remote · Florida, USA
Links
studybuddy.gg

Revenue figures are private, so this page describes the business growth without them.

Users handled
60k
On the platform I scaled as tech lead
User growth absorbed
5×
After the platform redesign
High-priority production bugs
−30%
Stronger testing and code review
What I owned
FE · BE · DevOps · DBA
Plus hiring and leading the team
On this page
  1. Architecture
  2. Context
  3. What I owned
  4. The answer path
  5. Hard problems
  6. Stack
  7. Outcomes
  8. What this shows

Architecture

How an answer is madeChrome extension to API Gateway + Lambda: question. Web dashboard to API Gateway + Lambda: account. API Gateway + Lambda to Amazon Cognito: subscription. API Gateway + Lambda to Google Vision: image. API Gateway + Lambda to Model layer: prompt. API Gateway + Lambda to DynamoDB: cache lookup. Model layer to 3 OpenAI orgs: load spreadquestionaccountsubscriptionimagepromptcache lookupload spreadChrome extension (client)Chrome extensionscreenshot · highlightchatWeb dashboard (client)Web dashboardbilling · onboardingreferralsAmazon Cognito (service)Amazon Cognitoemail + Google sign-inAPI Gateway + Lambda (service)API Gateway + Lambdaabout 15 functions onAWS AmplifyGoogle Vision (external)Google VisionOCR on screenshotsModel layer (model)Model layerGPT-4o · GeminiClaude 3DynamoDB (data)DynamoDBanswer cache · users3 OpenAI orgs (model)3 OpenAI orgsretriesfallback model
How an answer is made. Serverless on AWS: the extension calls Lambda functions behind API Gateway, answers are cached, and model calls are spread across providers and organizations.
Diagram as text
  • Chrome extension → API Gateway + Lambda: question
  • Web dashboard → API Gateway + Lambda: account
  • API Gateway + Lambda → Amazon Cognito: subscription
  • API Gateway + Lambda → Google Vision: image
  • API Gateway + Lambda → Model layer: prompt
  • API Gateway + Lambda → DynamoDB: cache lookup
  • Model layer → 3 OpenAI orgs: load spread

Context

Students move between course platforms, PDFs and quizzes all day. StudyBuddy lives in the browser: screenshot or highlight any question and get an answer with an explanation, or ask a personal AI chat.

It's a subscription product, so answer quality, speed and uptime show up directly in revenue.

What I owned

  • Architecture
  • Frontend
  • Backend
  • DevOps (AWS)
  • Database
  • AI integration
  • Team lead
  • Joined at the very start and owned the frontend, backend, DevOps and database work.
  • Scaled the platform to 60k users, redesigning its architecture to handle 5× user growth.
  • Hired, onboarded and led the engineering team.
  • Cut high-priority production bugs by 30% with stronger testing and code review.

The answer path

  • The extension (Manifest V3) captures a screenshot or the highlighted text.
  • Screenshots go through Google Vision OCR.
  • A Lambda function checks the subscription, looks for a cached answer in DynamoDB, and removes answer options already known to be wrong.
  • Otherwise it asks the model, spreading load across three OpenAI organizations with retries and a fallback model.
  • The product combines GPT-4o, Gemini and Claude 3 for accuracy, in English, Spanish and Portuguese.

Hard problems

01

Scaling with the user base

User growth absorbed
5×
After the platform redesign

Problem

Growth came in waves from ads and the school calendar, and signups rose several times over within a few months.

Approach

  • Built the backend serverless on AWS: API Gateway in front of about 15 Lambda functions, Cognito with Google sign-in, and DynamoDB.
  • Cached answers, so repeated questions don't go back to the model.

Result

The platform absorbed 5× user growth, served 60k users and stayed stable.

02

Answers that keep coming when a provider struggles

Problem

Rate limits or an outage at one model provider would stop every student at once.

Approach

  • Spread requests across three OpenAI organizations, with retries and a fallback model.
  • Combined several models (GPT-4o, Gemini and Claude 3) to raise accuracy.
03

Building the team and the process

High-priority production bugs
−30%
Stronger testing and code review

Problem

A small startup team moved fast, and high-priority bugs were reaching production.

Approach

  • Hired and onboarded engineers, and set code review standards and stronger testing.
  • Set up CI/CD for the API.

Result

High-priority production bugs fell by 30%.

Stack

Frontend
  • React
  • TypeScript
  • Redux Toolkit
  • i18next
  • Chrome Extension (MV3)
Backend
  • Node.js
  • Express
  • AWS Lambda
  • API Gateway
  • AWS Amplify
Data & auth
  • DynamoDB
  • MongoDB
  • Amazon Cognito
AI
  • OpenAI API
  • Gemini
  • Claude
  • Google Vision OCR
Growth
  • Stripe
  • PayPal
  • GrowthBook
  • Sentry

Outcomes

  • Grew from day one into a multi-million-dollar SaaS.
  • Served students in English, Spanish and Portuguese.
  • Scaled to 60k users, handling 5× user growth after the architecture redesign.

What this shows

For teams hiring an AI Engineer or Forward Deployed Engineer:

  • Startup ownership: product, infrastructure, data and the team, all at once.
  • Running LLM features in production with caching, retries and multi-provider fallbacks.
  • Serverless architecture on AWS, sized for spiky consumer traffic.