Inspiration
Every course has a moment where half the room is lost and nobody says so. Students don't know what exactly they're missing until the exam tells them. Lecturers find out where the course was stuck when they grade it, which is too late. And the general-purpose AI chats students turn to don't know the lecture, use different notation, and just solve the homework.
What it does
For students, Delia (our brush-stroke $\Delta$ mascot) is a tutor that knows the whole course:
- Answers from the lecture first. Every statement cites the exact slide, and a second agent checks each answer against the sources. Questions the course doesn't cover still get a full answer, clearly marked as not from your course material.
- Two modes in one chat. Tutor explains (go deeper, simpler, show an example). In Study Pal the student explains a topic and Delia asks one curious question at a time, the way a smart peer would.
- Notices gaps without being told. Students rarely say "I don't understand". Delia watches for wrong claims, contradictions and repeated questions, then asks one short check question. Nothing is recorded unless a second signal confirms it, so a single slip never counts as a gap.
- Real exam practice. Old exams are parsed into subtasks with points. Students get graded feedback without the solution being revealed, plus gradual hints. Uploading a worked solution makes the analysing agent find the first wrong step and trace it to the missing skill.
- A knowledge map from exam topics down to atomic skills, showing per student what needs another look, what's being practised and what's understood.
For lecturers:
- An anonymous overview of where the class is stuck, with problem clusters built from private questions.
- On every map node: "Is this already explained in my material, and where?" Delia points to the exact slide and highlights the sentence. If the slide only mentions the topic without explaining it, she says so.
- One click drafts 2–3 clarification slides that build on the existing slide, exported as PPTX in the lecturer's own template. Nothing reaches students without approval.
How we built it
- Backend: FastAPI, async SQLAlchemy, Postgres with pgvector for retrieval over slides, recordings and old exams.
- Agents: four agents (chatbot, research, analysing, teaching assistant):
- guardrails that check and repair output before anyone sees it;
- an offline fallback, and a stored trace of every run.
- Models: routed per role through AWS Bedrock and OpenRouter (Claude and GPT models). The tutor streams its answer over server-sent events, and the source check runs in the background so students don't wait for it.
- Frontend: plain HTML, CSS and JavaScript with KaTeX for formulas. The design system is "ink on paper": paper surfaces, black ink, one red accent.
- Deployment: Docker Compose locally; Vercel (frontend) and Railway (backend).
Challenges we ran into
- Detecting gaps without false alarms. Our first detector treated every curious "why does…?" as confusion. We added a signal type (stated confusion, wrong claim, contradiction, asked again), made a plain question never trigger anything, and required a second signal before anything is recorded. We built a small eval set of tricky chat messages to measure false alarms instead of guessing.
- Grading check answers fairly. The grader marked correct answers in the student's own words as wrong. It now sees why it asked the question and prefers "partly" when unsure, because a wrong verdict records a gap on the student's knowledge map.
- Speed. A grounded, verified answer took too long. Streaming the answer and moving the check into the background made it feel instant.
Accomplishments that we're proud of
- A full loop: a question reveals a gap → a check question confirms it → it appears on the map → the lecturer sees it anonymously → a clarification slide in their own template → approved and published.
- Answers grounded in the lecture, with a clickable slide behind every claim and a second agent checking it.
What we learned
- Precision matters more than recall when an AI judges learners. A false "you don't understand this" does more harm than a missed one.
- Guardrails and evals beat prompt tweaking: we only trusted changes we could measure.
- Students need one clear next step, not a dashboard full of numbers.
What's next for Delta
- Lecturers choose the reference deck and slide layout, with honest labels for how closely a draft matches their design.
- An attention queue on the lecturer overview: what changed, how many students, the likely cause, one click to act.
- A pilot in a real course, measuring whether gaps actually close before the exam.
Built With
- agents
- amazon-web-services
- bedrock
- claude
- css
- docker
- fastapi
- gpt
- gpt-5-mini
- harness
- html
- javascript
- katex
- openrouter
- pgvector
- postgresql
- python
- railway
- sqlalchemy
- vercel
- whisper