A mock final-year project viva. Upload your report or slides; the examiner finds the claims you'll struggle to defend, then grills you by voice (English or Hinglish), with follow-ups, and ends with a scorecard, model answers and what to prepare. Free models only (Gemini, Groq, Whisper).
A mock final-year project viva for Indian college students. Upload your project report or slides. The examiner reads them the way an external examiner does, finds the claims you'll struggle to defend, then grills you out loud in English or Hinglish, follow-up questions included. At the end you get a scorecard, model answers and a list of what to prepare before the real viva.
It has its own interface (ADR 0007): open it from the Agents page. Signed-in runners can take a viva. Everyone else can look around.
Your report. You can upload up to 3 files: PDF, PPTX, DOCX or TXT/MD, 10 MB each. A PDF goes to the lab as it
is, and its text layer is read at upload. Slides (.pptx) and Word files (.docx) are turned into text in your
browser (JSZip), including speaker notes, and uploaded as text. No report? Pick one of the two built-in samples.
Choose an examiner and the viva settings:
{
"$defs": {
"Summary": {
"description": "`agent_output.summary`: what run lists show.",
"properties": {
"kind": {
"enum": [
"analysis",
"scorecard"
],
"title": "Kind",
"type": "string"
},
"title": {
"default": "",
"title": "Title",
"type": "string"
},
"persona": {
"default": "",
"title": "Persona",
"type": "string"
},
"weak_spots": {
"default": 0,
"title": "Weak Spots",
"type": "integer"
},
"questions": {
"default": 0,
"title": "Questions",
"type": "integer"
},
"score": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Score"
},
"verdict": {
"default": "",
"title": "Verdict",
"type": "string"
},
"analysis_run": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Analysis Run"
},
"files": {
"items": {
"type": "string"
},
"title": "Files",
"type": "array"
}
},
"required": [
"kind"
],
"title": "Summary",
"type": "object"
}
},
"properties": {
"summary": {
"$ref": "#/$defs/Summary"
}
},
"required": [
"summary"
],
"title": "VivaOutput",
"type": "object"
}Sample reports with weak spots planted on purpose: does the examiner find them, and are its questions about this project?
Not evaluated yet.
Run this agent from its own interface; every run shows up here with a replay.
The examiner reads the report. This is a run, with a live view of its steps. It maps the project, then finds 5-10 weak spots, the most dangerous first. Each one comes with the exact quote from your report and the question an examiner would ask. Kinds of weak spot:
Then it plans the questions: warm-up, fundamentals, implementation, weak spots, what-if. You get the examiner's brief to read before you start.
The viva. The examiner speaks each question (your browser's own voice). You answer:
A vague answer gets one probing follow-up, and a weak-spot question quotes your report back at you. Practice mode shows marks after each answer. Otherwise, as in a real viva, you see them at the end.
The scorecard. This is a run too:
You can open it as a printable page or download it.
| Job | Model (free tier) | Key in backend/.env |
|---|---|---|
| Reading the report, planning questions | Gemini gemini-3.8-flash (long context), else Groq | GEMINI_API_KEY |
| Judging each answer, the scorecard | Groq openai/gpt-oss-120b (fast), else Gemini | GROQ_API_KEY |
| Speech to text | Whisper whisper-large-v3-turbo on Groq | GROQ_API_KEY |
| The examiner's voice | the browser's built-in speech synthesis | none |
GROQ_API_KEY you type
your answers. With neither key, the page says what to add..docx / .pptx itself.Run inputs (POST /api/v1/agents/viva_examiner/app/runs or the API):
{"user_input": "Viva on sample", "inputs": {"mode": "analyze", "sample": "attendance", "persona": "strict_external", "language": "english", "questions": 10}}
{"user_input": "Viva on my report", "inputs": {"files": ["<uploaded file id>"], "persona": "hod_why", "language": "hinglish"}}
{"user_input": "Scorecard", "inputs": {"mode": "scorecard", "analysis_run": "<analysis run id>", "turns": [{"id": "Q1", "question": "...", "answer": "...", "score": 6}]}}
report_text (pasted text, up to 24,000 characters) also works in place of files / sample.
App actions (POST .../app/actions/<name>):
dossier {analysis_run}: the run's dossier;transcribe {audio_b64, language, hint}: text and seconds;answer {analysis_run, turns, turn_id, question, answer, seconds}: the evaluation, the turn to keep, the next
question or done.The interface keeps the transcript and sends it back with each answer, so no viva state lives on the server.
| File | What it does |
|---|---|
agent.py | the lab entry point: runs (analyze, scorecard), app actions, the page with its configuration filled in |
pipeline.py | the examiner's thinking: map → weak spots → plan, judge an answer, pick the next question, the scorecard |
prompts.py | every prompt; the report and the student's words are marked untrusted |
llm.py | JSON calls through UnifiedLLMClient, a repair round for bad JSON, moving to the other free provider when one is busy |
source.py, samples/ | where the report comes from: uploaded files, pasted text or a fictional sample |
audio.py | checks a recording (size, type from its bytes) before speech to text |
report.py | examiner-brief.md, scorecard.html (escaped, printable), scorecard.md |
store.py | reads a finished analysis run's dossier.json back (cached in memory) |
app.html | the interface: setup, live reading view, brief, viva room (mic, voice, timer), scorecard, past vivas |
The page uses two lab capabilities from ADR 0012:
LAB.upload(file): the file goes to POST /files as yours;LAB.mic.start()/stop(): the lab page records, shows a "Recording" bar with its own Stop button, and hands the
clip over.The sandboxed frame itself never gets microphone access.
evaluation/golden.json reads the two built-in samples, which are fictional reports with weak spots planted on
purpose. For example, the attendance report claims 99.2% in the abstract but 96.4% in the results, and calls SQLite
"blockchain-secured". The crop app is "completely offline" but predicts on an AWS server. Three cases cover two
samples, three examiners and both languages. Scores:
planted_weak_spots_found: the share of planted problems the examiner flagged;questions_specific: the share of questions that name something specific to the project;plan_shape: the right number of questions, with at least two aimed at weak spots.On 2026-10-18, live runs on the free models flagged every major planted problem in both samples.
.ppt / .doc (the old formats) aren't read: save as .pptx / .docx or export a PDF.