Sentinel
Built for the student figuring it out alone.
Created on 10th May 2026
•
Sentinel
Built for the student figuring it out alone.
The problem Sentinel solves
Sentinel — Academic Intelligence System
Students today are drowning in disconnected tools. PDFs in one tab,
YouTube in another, WhatsApp groups for notes, and zero clarity on
whether the research they're reading is actually credible.
Sentinel unifies all of this into one brutalist, terminal-style
academic operating system.
-
Research Verification — Upload any academic paper and Sentinel
uses Gemini 2.5 Flash to trace every claim back to its exact source
sentence and page number. No more trusting abstracts blindly. The
Lineage Engine builds a visual node graph showing exactly which
sentences support which claims, with a live verdict dashboard. -
Equation Understanding — The Rosetta Stone parser takes any
physics or math equation and breaks it down into its physics form,
calculus form, and individual components — rendered in LaTeX with
an interactive graph and live matter.js physics simulation. Students
finally understand why F=ma, not just that F=ma. -
Intelligent Study Planning — Upload your academic timetable
(PDF or image), and Sentinel extracts every exam, mock test, and
deadline using Gemini. For any upcoming exam, it generates a
day-by-day study plan with topics, estimated hours, relevant papers
from your own library, Rosetta Stone links for key equations, and
real verified resources — YouTube lectures and Khan Academy practice
problems sourced live via the Tavily search API, not hallucinated
URLs. -
**WhatsApp and Discord






Signal Aggregator** — Classifies messages from study
groups into STUDY, WORK, CHILL, EMERGENCY, and OTHER — so the
important stuff never gets buried in memes.
Sentinel doesn't replace studying. It removes every excuse not to.
Challenges I ran into
Challenges
-
Gemini File API is write-only — Early in development, the PDF
viewer was trying to download papers back from Gemini using
?alt=media. Gemini's File API doesn't support downloads — it's
analysis-only. Every request returned a 400 INVALID_ARGUMENT error.
The fix was adding Supabase Storage as a permanent PDF layer:
browsers upload directly to Supabase (bypassing Vercel's 4.5MB
serverless limit), while Gemini only ever receives the file URI for
analysis. Two URLs per paper — one for display, one for AI. -
Vercel 10-second timeout on multi-chunk AI generation — A
30-day study plan required 6 sequential Gemini API calls (chunked
to avoid token limits), plus Tavily source searches per day. Total
generation time exceeded Vercel's default serverless timeout,
causing silent 502 errors mid-generation. Solved by chunking
generation to 7 days per Gemini call, parallelising Tavily searches
within each day usingPromise.all, and wrapping every chunk in
independent try/catch so a single failure never aborts the whole
plan. -
Gemini JSON truncation at token boundaries — Complex study plan
prompts asking for structured JSON with sources, paper matches, and
equations were getting cut off mid-array at exactly the token limit,
producingSyntaxError: Expected ',' or ']'on parse. Fixed by
raisingmaxOutputTokensto 8192, lowering temperature to 0.3 for
more deterministic output, and adding a robust JSON extractor that
finds the first{and last}before parsing — tolerant of any
accidental markdown fences Gemini adds. -
Supabase connection exhaustion under serverless load — Vercel
serverless functions open a fresh Postgres connection on every
invocation. Under concurrent load this exhausted Supabase's 60
connection limit instantly. Fixed by switchingDATABASE_URLfrom
the direct Postgres connection string to Supabase's Supavisor
connection pooler, which multiplexes hundreds of serverless
connections through a single pool. -
react-pdf and matter.js in Next.js App Router — Both libraries
assume a browser environment and crash on the server during SSR.
Every import had to be wrapped indynamic(() => import(...), { ssr: false })with the worker setup deferred insideuseEffect. The
MafsMovablePointalso had to be kept fully free-floating — locking
its y-coordinate to the equation output caused the point to snap
erratically on every render cycle.
Tracks Applied (3)
Student Productivity & Focus
Meta
AI Tools for Student Life
GitHub
Accessibility & Inclusion
Netlify
Technologies used

