Installation
Install the Edu SDK packages.
Core
Install edu-sdk when you only need generation:
pnpm add edu-sdkmodel is a string model ID or an AI SDK LanguageModel instance. Your app must configure an AI SDK provider (and API keys) so generation can run. See Models & providers.
model: "google/gemini-3.6-flash"
// or: openai("gpt-4.1-mini")React
Install @edu-sdk/react when you need UI. It already depends on edu-sdk. React 18 or later is required.
pnpm add @edu-sdk/reactImport the default stylesheet once, typically in your root layout:
import "@edu-sdk/react/styles.css";Next steps
- Quick Start — generate a quiz and render it.
- Concepts —
Artifact, shared options, and React prop shapes. - Working with files — PDF / text / markdown as
content.