AI Tutor

AI Tutor

Next.js 16 AI learning workspace with chat, quizzes, flashcards, and voice sessions.

AI Tutor is a Next.js 16 learning workspace that turns chat into a guided study loop. The UI blends chat, document editing, quizzes, and flashcards, while the AI layer is routed through a shared prompt registry that chooses between OpenAI, Anthropic, and Google models.

The app separates auth and chat flows, persists history through Drizzle on Neon, and runs NextAuth with Google/Resend/Keycloak providers. Voice sessions run on LiveKit with transcript syncing and noise filtering, so the same study flow works in text or audio mode.

  • Chat workspace that generates documents, quizzes, and flashcards.
  • Versioned document tools with suggestions and diff helpers.
  • LiveKit voice rooms with transcript-aware UI.
  • Next.js 16 App Router, Tailwind, Radix UI.
  • Drizzle ORM + Neon, NextAuth, React Email.
  • AI SDK providers with typed model registry.