Fig. 03 · Collaborative learning / AI
CrowsNest
Shared course materials become a starting point for better study.
§ 01
The problem
Students in the same class upload the same slides, notes and handouts, then study from them alone. CrowsNest treats those materials as one shared source and builds study tools from it, so everyone learns from the same thing.
Retrieval is scoped to the class: a question about one course only draws on that course’s material.
§ 02
System drawing
- InCourse materialsshared by the class
- AI serviceExtract & reviewFastAPI
- AI serviceClass retrievalscoped to one course
- OutStudy toolsflashcards · practice · plans · tutor
§ 03
How it came together
Scroll to step through · Mine = my work
Classes and shared materials
Students join a class and upload materials the whole class can use.
+ classes, members, shared materials+ Supabase schema- lecture-07.pdftransport layer
- lecture-06.pdfsockets
- shared-notes.mdclass notes
Retrieval per class
A Python service extracts the materials and retrieves only from the active class.
+ FastAPI extraction service+ class-scoped retrievalmaterialsextractretrievestudyFour ways to study
The same source becomes flashcards, practice questions and a study plan.
+ flashcards · practice questions+ study plansFlashcardsPracticeStudy planTutorA tutor that streams
Students can ask questions and read the answer as it is written, grounded in their class.
+ streaming tutor repliesWhy does TCP need a three-way handshake?
Both sides agree on starting sequence numbers before data flows…
§ 04
Decision log
- D-01
Scope retrieval to the class
Materials are retrieved per course, so answers and generated questions stay inside what that class actually covered.
- D-02
Keep AI work in a Python service
The Next.js app handles people and classes; a separate FastAPI service handles extraction, retrieval and generation.
- D-03
Stream the tutor
Tutor replies arrive token by token, so a student starts reading immediately instead of watching a spinner.
- D-04
Treat generated material as a draft
Generated flashcards and questions can be wrong, so they are presented as material to check against the source.
§ 05
What I built
- Database & study plansschema for classes, materials and plans
- Shared study resourcesone upload, the whole class
- Streaming AI tutorgrounded in class material
Built with a team. Interface and animation work includes contributions from JacobGittHub.
