Help students study from their own private course materials through source-grounded explanations, verified references, configurable quizzes and learning progress.
EdTech · Generative AI · RAG · Full-stack
StudyMate AI
A source-grounded learning platform where students can upload private course material, ask cited questions, create quizzes and review their learning progress.
Private learning and retrieval flow
The web experience, API, private storage and asynchronous document pipeline share one typed domain model.
Purpose and progress.
Only implemented or actively validated work is described as current functionality.
- Private PDF ingestion, OCR, hybrid retrieval and tenant-level ownership checks are implemented.
- Source-grounded chat, quiz workflows, scoring, persistence and usage analytics are in place.
- The active-learning loop, live-model calibration and production hardening remain ongoing.
What exists today
and what comes next.
StudyMate AI is being developed as a private workspace for learning from course-specific material. Students can organize courses, upload PDFs, ask questions against processed sources, inspect verified page references, generate quizzes and review topic-level progress. The product is still being calibrated and prepared for a reliable limited-user pilot.
A general-purpose assistant can answer beyond a student's material or produce references that cannot be verified. The platform must keep every user and course isolated, retrieve only authorized content, validate citations on the server and decline to answer when evidence is insufficient.
A Next.js application uses an Auth0-backed server session and communicates with a typed FastAPI domain. Background workers validate, OCR, chunk and index private PDFs into PostgreSQL and pgvector. Hybrid retrieval provides bounded context for chat and quiz generation, while persistence and analytics connect each learning activity to the owning student.
Key decisions
The choices that shaped the system—not only the technologies that appear in it.
Verify evidence on the server
Returned document and page references are checked against authorized retrieval results instead of trusting model-produced citations directly.
Keep documents private by default
Ownership checks, encrypted server sessions and private object storage keep course material isolated between users.
Move ingestion off the request path
PDF validation, OCR, chunking and embedding run as background jobs so large documents do not block the web experience.
Built with
What the project taught me
- Grounded AI requires authorization, retrieval and citation checks—not only a prompt.
- Quiz generation needs deterministic schema and answer-leakage validation around the model.
- Learning analytics become more useful when chat, assessment and remediation share the same source context.
This page uses a system diagram to document the current technical structure. Verified product screenshots and experiment outputs can be added as the project evolves.