Turn any content into interactive learning materials
The TypeScript SDK for AI-powered learning experiences.
edu-sdk · @edu-sdk/react
Generation
import { createQuiz } from "edu-sdk";const quiz = await createQuiz({ model: "google/gemini-3.6-flash", content, count: 2, difficulty: "medium"});UI
1 / 2
What is the unit of electric current?
Surfaces
Generate a material, then render it with a matching React component.
createNote() → Markdown, no React component
Workflows
Content extraction, multi-artifact generation, study sessions, and grading — beyond the 1:1 create → UI pairs.
extractContent() — PDF / text / markdown → string
createLearningSet() — Several materials in one call
createStudySession() — Timed agenda + materials — compose your own runner
gradeQuiz() / Assessment — Score answers and track attempts
Build your first learning material
Install the packages and ship quizzes, flashcards, study sessions, and more in minutes.
Get started