What I built.
A ReAct-based agent orchestrator with multi-step pipelines and structured outputs that automatically regenerates any quiz scoring below 70%.
AI requests go through Express so Gemini and Supabase credentials stay on the server. Responses stream to the client over SSE, and voice exams run on WebSockets with Gemini Live.
Technical decisions.
Text responses need a server-to-client stream; voice exams need an ongoing two-way exchange. SSE and WebSockets serve those different communication patterns.
Quiz evaluation adds a check between generation and delivery. Regenerating low-scoring quizzes adds another model step, while giving the pipeline a defined quality threshold.
View source