Edu SDKEdu SDK
Getting Started

Installation

Install the Edu SDK packages.

Core

Install edu-sdk when you only need generation:

pnpm add edu-sdk

model is a string model ID or an AI SDK LanguageModel instance.

model: "google/gemini-3.6-flash"

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/react

Import the default stylesheet once, typically in your root layout:

import "@edu-sdk/react/styles.css";

Then go to Quick Start.

On this page