Inspiration

Most learning apps give everyone the same course. A child, a PhD researcher and a retiree learning the same topic need very different paths. We wanted one app where nothing is fixed and the learner shapes everything.

What it does

You type a topic, and optionally a few words about yourself. The AI suggests how to learn it: how long, the shape of the journey, the ways of learning, the kind of assessment and the teacher, with a sensible default for each. You change whatever you like, and your journey is built from those choices.

  • 12 journey shapes, shown as 3D worlds, such as a growing tree, a mountain quest or a spiral staircase
  • Ways of learning: reading, chat, voice lessons, debate, stories, diagrams, narrated slideshows, an animated teacher face and mini-games
  • Assessments: quizzes, written answers, spoken answers, debating the AI, flashcards and interactive challenges
  • A coach chat in every learning that changes the plan when you ask, with undo
  • Motivation: XP, levels, streaks, weekly goals and badges
  • Any AI provider: free open models on Hugging Face built in, or your own key from OpenAI, Anthropic, Gemini, Groq and others

How we built it

  • Web: Next.js 16, React 19, Tailwind, shadcn/ui, three.js for the 3D journeys, and the Web Speech API for voice
  • API: NestJS, Prisma and Postgres; the API makes every AI call, so keys never reach the browser
  • Shared: zod contracts and catalogs in a pnpm/Turborepo monorepo
  • AI: one adapter layer for many providers, with streaming, a repair step for malformed JSON, and AES-256-GCM encryption for learners' keys
  • Pictures: Mermaid diagrams and freely licensed photos from Wikimedia Commons

Challenges we ran into

  • Getting reliable, structured output from many different models, including open ones
  • Models that disappear or go down: each key's models get a tiny test message, and the app falls back to the next working one automatically
  • Streaming lessons and voice so learners see and hear progress straight away, without waiting for the full answer
  • Making a fully flexible plan still feel simple to set up

Accomplishments that we're proud of

  • One app that adapts to any age, level and goal
  • Learners watch the AI think and build their journey live
  • A coach that really edits the plan, rather than just answering questions
  • Works with free models or any provider's key
  • An end-to-end test of the whole learner flow, run with a scripted AI so no paid model is needed

What we learned

  • Good defaults plus full control beats both rigid courses and a blank page
  • Making AI robust takes fallbacks, validation and clear error messages, not just good prompts
  • Showing progress live makes the wait for AI feel short and builds trust

What's next for StudyThinker

  • Optional AI-generated images and video
  • Reminders for streaks and weekly goals
  • Sharing learnings, for example a parent setting one up for a child
  • Progress insights across all of a learner's learnings

Built With

  • huggingface
  • nestjs
  • next.js
  • poatgresql
  • prisma
  • three.js
  • webspeechapi
Share this project:

Updates

Submission history