Skip to content
D

DotLink

learning app for students with ADHD

Created on 31st October 2026

•

D

DotLink

learning app for students with ADHD

The problem DotLink solves

DotLink is a learning app for students with ADHD, built around NCERT textbooks.

Students with ADHD often lose focus in long, static chapters, rush through questions without reading them, and drift off without anyone noticing. Parents can't tell whether a child is learning or only sitting in front of a screen.

How it helps students:

  • Short, animated lessons: chapters become scene-by-scene lessons with narration. The word being spoken pulses on screen, so attention has something to follow.
  • Anti-rushing locks: answer buttons stay locked for 2–3 seconds, so the child has to read the question first.
  • Hint, then explanation: a first wrong answer gets a hint. A second gets the full explanation plus a participation star, so mistakes don't feel like failure.
  • Mini-game on disengagement: if the child is guessing too fast or responding too slowly, a 60-second matching game resets their focus.
  • Mastery gate: the next topic unlocks at 7/10 or better. Below that, the child gets a full revision module and a retest (Set B) rather than being pushed ahead.
  • Stars and bonuses: rewards give frequent, concrete feedback.

How it helps parents:

  • Consent and control: parents sign up with explicit consent and choose the grade, subject and chapters.
  • Live idle alert: after 60s idle, the child sees "Are you still watching?" with a 30s countdown. If there's no response, the session auto-pauses and the parent gets a real-time alert.
  • Dashboard: it tracks Accuracy, Attention Span, Time Focused and Speed of Response, with plain-language feedback cards.

Safe by design: AI generates lessons and quizzes ahead of time, but live learning is deterministic Python with zero LLM calls. A child never sees unpredictable AI output mid-session, and the app is fast, predictable and cheap to run.

Challenges we ran into

  • Keeping AI out of the live session. Putting an LLM in the loop for feedback would have been slow and could produce unpredictable output for a child. We split the system in two. AI agents generate lessons, revision sheets and both quiz sets offline, and a deterministic engine (adaptive_engine, mastery_gate, idle_monitor) handles everything live. All thresholds sit in one config.py, so we could tune them without hunting through code.
  • Unreliable LLM APIs. Rate limits and failures would break lesson generation. We added exponential backoff, a Groq-to-Gemini fallback, and an offline mode with deterministic content. The full app and test suite run with no API keys.
  • Detecting disengagement without false alarms. Reading speed varies with question length. We compute expected time from word count (4s + 0.35s/word) and only trigger the mini-game when response time exceeds 1.5× that, or on rapid wrong guesses. A 5-minute cooldown stops it from nagging.
  • Real-time parent alerts. We used Server-Sent Events with an in-process async pub/sub, which is simple and needs no extra infrastructure. The catch is that it works on a single instance only, so we documented that limit for deployment.
  • Trusting generated content. We added grounding and reading-level validators in the agent tools, and a parent review/approve step before a child sees anything.
  • Testing a timing-heavy app. We wrote a pytest suite across five milestones, covering the answer ladder, mastery gate, idle flow and SSE alerts. Local SQLite stands in for Supabase so tests run offline.

Tracks Applied (1)

Agentic AI

DotLink uses a multi-agent pipeline: three tool-using agents (Fetch & Chunk, Lesson + Revision, Quiz & Retest) share a t...Read More

Technologies used

Discussion

Builders also viewed

See more projects on Devfolio