Open SDKs · Apache-2.0
The learning layer
for the AI you
build.
Embed the AI Guide in three lines. Run evals on your users' work. Fork our rubrics - the SDKs are open. Build adaptive learning into your product without writing the pedagogy yourself.
Type-safe end to endZero-config Next.jsRuns in any React appNo build step requiredApache-2.0
Public API
Six exports. That's the whole surface area.
Small, stable, and inferred from Zod. The shape of LearningPathInput is a contract - it will not change without a major version bump.
FN
generateLearningPath(input)Pure function. No network, no LLM. Same input always produces the same path.
@learnkit-ai/core
FN
getSupportedRoles()Returns the list of role labels you can pass as input.role.
@learnkit-ai/core
FN
getSupportedTools()Returns the list of tool names you can include in input.tools.
@learnkit-ai/core
JSX
<LearningPath />Renders a full 30-day path. Three built-in themes. CSS variables, no Tailwind.
@learnkit-ai/react
JSX
<AIGuide />Drop-in avatar + tip card. Embed anywhere you want contextual help.
@learnkit-ai/react
HOOK
useLearnKit(input)Headless hook. Returns { path, error }. Build your own UI on top.
@learnkit-ai/react
<LearnKit.AIGuide />
Drop the AI Guide into your product.
A React component, a Web Component, or a vanilla JS bundle. White-label the avatar, the voice, and the lesson library - keep your brand, get the pedagogy.
✓Ships in 3 lines of JS
✓Works in any framework or none
✓Custom system prompts per route
✓Streaming, function calls, file inputs
your-app.com / dashboard
// 3 lines.
import { AIGuide } from '@learnkit-ai/react';
<AIGuide apiKey={KEY} userId={user.id} />
import { AIGuide } from '@learnkit-ai/react';
<AIGuide apiKey={KEY} userId={user.id} />