Skip to content
LiveAI product

YouTube Research Agent

Turns a research topic into a chat-able knowledge base, with sources and timestamps.

Solo build · AI product, payments, production ops

  • Next.js
  • Auth.js
  • Neon Postgres
  • Upstash Redis
  • Polar
  • Sentry
  • Resend
  • OpenRouter
  • YouTube Data API

What I built

Topic in, videos found through the YouTube Data API, then a knowledge base you can chat with, where every answer points to its source and timestamp.

Architecture

  1. Topic
  2. YouTube Data API
  3. Knowledge base · Neon Postgres
  4. Chat · OpenRouter
  5. Answer · source + timestamp

Hard parts and decisions

  • Tiered quotas (Free, Pro $9, Researcher $19, Team $49) enforced in Redis.
  • Polar for payments, driven by webhooks.
  • A pre-deploy validate script, production smoke tests and an /api/health endpoint.

What it shows

A shipped, paid AI product with production guardrails.