The smallest working integration of @learnkit-ai/react in a Next.js 15 App Router app.
From the repo root:
pnpm install
pnpm --filter @learnkit-ai/example-nextjs-basic devOpen http://localhost:3001.
<LearningPath input={...} />from@learnkit-ai/react- The
<AIGuide />tip card - Zero backend, zero API key, zero LLM call - the path is computed deterministically from the input
Edit src/app/page.tsx to change the role, tools, or goal and watch the path update.
If you want to embed LearnKit AI in an existing app and you are not sure where to start, copy src/app/page.tsx and adapt it. The component takes one LearningPathInput and renders a 30-day path. Style it however you like via CSS custom properties.