Open source · Powered by Claude

Turn any topic into a narrated animation.

Chalkboard is a multi-agent pipeline that writes a script, fact-checks it, generates Manim animation code, synthesizes a voiceover, and renders everything to a final .mp4 — fully automated.

topic script fact-check animation voiceover final.mp4

01

Multi-agent pipeline

Each stage — scripting, fact-checking, Manim code generation, code review, TTS — runs as a separate Claude agent with automatic retry logic.

02

Context injection

Feed in local files, PDFs, URLs, or GitHub repos as source material. Chalkboard builds the animation from your content.

03

Visual QA pass

After rendering, Claude samples frames and flags overlapping elements, off-screen text, or readability issues — then re-renders if needed.

04

Captions & chapters

Every render outputs a .srt file, chapter atoms embedded in the video, and a YouTube chapter list printed to stdout.

Quick start

Prerequisites: Python 3.10+, Docker, ffmpeg

Install

git clone https://github.com/nicglazkov/Chalkboard.git
cd Chalkboard
pip install -r requirements.txt
cp .env.example .env  # add your ANTHROPIC_API_KEY

Run

python main.py --topic "explain how B-trees work" --effort medium

With context

python main.py --topic "explain this codebase" --context ./src --context ./docs
python main.py --topic "summarize this paper"   --context paper.pdf
python main.py --topic "explain this project"   --github nicglazkov/Chalkboard

Configurable

Every generation can be tuned to the audience, tone, and visual style you want.

Audience

beginner intermediate expert

Tone

casual formal socratic

Template

algorithm code compare

Theme

chalkboard light colorful

TTS backend

kokoro openai elevenlabs

Effort

low medium high