Engineering · AI · Feature
Better Answers in Cereby AI: Real Math, Tables and Templates
How Cereby's generated notes came to share the editor, renderer and templates students use.
Picture a student revising the quadratic formula from notes Cereby wrote: sound ideas in a column of flat bullets, the formula pieced together from Unicode look-alikes, no sketch of the parabola, a layout that looks cropped. They read it once and don't come back. (The note is illustrative.)
In January, that was the gap between what Cereby AI could reason about and what landed on the page, and it undermined trust and killed reread value. The instinct was to keep tuning the model. The right move was to fix the output layer:
The same tools for students and Cereby
We built in three phases: a rich authoring surface for students, programmatic APIs over the same primitives, then Cereby generating through them into the same renderer and templates:
We did not special-case AI output, so every improvement to student authoring also improved the notes, quizzes and flashcards Cereby generated.
Real math, and pages with a shape
Real math rendering was the step change: inline and block LaTeX with broad symbol coverage replaced the Unicode approximations. Templates encoded pedagogy (Cornell notes, concept maps, comparison tables, timelines) with blocks for definitions, proofs, code and callouts, plus a table of contents and section progress. A subject-aware design system, diagrams, charts, a WYSIWYG (what-you-see-is-what-you-get) equation editor and richer quiz and flashcard types rounded it out.
A note Cereby writes today, with the equation rendered rather than approximated:
A generated note today, on synthetic content.
What changed
By our approximate measures:
| Signal | Before (approx.) | After (approx.) |
|---|---|---|
| Note quality (user rating) | About 2.5 / 5 | 4.5+ / 5 |
| "Visually appealing" | About 30% agree | 90%+ |
| "Easy to read" | About 60% | 95%+ |
| Formulas rendered correctly | About 40% | About 100% |
| Note creation rate | Baseline | +50% |
| Revisit rate | Baseline | +70% |
What this taught us
Build for humans first, then hand the same tools to AI: one investment, two rounds of improvement.
Templates encode pedagogy in a way free-form generation cannot, which is not obvious from the model side. Charts and diagrams, among the highest-leverage additions, did the same for concepts that do not compress into text.