Skip to content
Back to projects
Applied AI System

AI Curriculum Pipeline

Sole designer and engineer

A pipeline inside The Notwork that turns a rough lesson idea into a published lesson. It follows the steps a curriculum team would: blueprint, outline, content, editing, fact check, media, formatting, audio and release. An educator picks the model for each step, from Anthropic, OpenAI or Google, and approves or redoes each step before the next one runs.

Screenshot of AI Curriculum Pipeline
Lesson time I cut
95%+
Lessons published
50+
Checked by a person
Every step
Stack

What it's built with

TypeScriptNext.jsAI SDKClaudeGPTGeminiCloudflarePostgreSQL
Context

The problem

A good lesson took about a week to write by hand, and quality depended on who wrote it. The platform needed a steady supply of lessons with text, images and audio.

Approach

What I built

Nine steps, each with one job, that take an educator from rough notes to a published lesson. Every step can be refined or regenerated, and the finished lesson publishes straight into The Notwork.

Gallery

A closer look

Blueprint step with the model menu open, listing Anthropic, OpenAI, and Google models
Every step runs on the model the educator picks: Claude, GPT, or Gemini.
Editorial step showing overall and readability scores, a tone analysis, and suggested line edits
The editorial step scores tone and readability and proposes line edits.
Media step showing a generated infographic with Approve and Regenerate buttons
Generated images wait for an educator to approve or regenerate them.
System

What's inside

  • Nine steps: blueprint → outline → content → editorialize → accuracy check → media → formatting → audio → release
  • Per-step model picker across Claude, GPT, and Gemini
  • Per-step refine and regenerate with persistent context
  • Editorial scoring with suggested line edits
  • Fact checks with confidence scores and needs-review flags
  • Image generation with approve or regenerate, then CDN upload
  • Text-to-speech audio narration
  • Generated practice questions
  • Direct publish into The Notwork as a content item
Outcome

The impact

A lesson that took about a week now takes half an hour or less, and the lessons come out more consistent than the hand-written ones. More than 50 have been published so far.

Highlights

What stood out

  • I modeled it on how curriculum teams build lessons, so each step has one job and a clear output.
  • Each step can run on a different model: Claude, GPT or Gemini, with Gemini making the lesson images.
  • A person stays in the loop. Each step gets the last step's output as context, and an educator can refine or regenerate it before it feeds the next.
  • The editing step scores tone and readability and suggests line edits as before-and-after diffs. The fact-check step rates each claim's confidence and flags what needs an expert's review.
  • Generated images wait for an educator to approve or regenerate them. Approved ones go to the Cloudflare CDN and into the lesson.
  • Every finished lesson comes with narration and practice questions.