Micrograd: a pedagogical implementation of neural networks using a reverse-mode automatic differentiation engine.
hyperdoc.khinsen.net/94FE4-micrograd
I have written this as a real-life example of explorable explanations in HyperDoc, my framework for explainable software systems which I demoed at a meetup earlier this year. The main new features in the platform that are showcased are interactive tools and much-improved playgrounds for free exploration.
Feedback welcome at codeberg.org/khinsen/micrograd (the source code repository), or right here of course.
A tiny scalar-valued autograd engine and a neural net library on top of it
Here's a blog post placing my HyperDoc project in the context of Bret Victor's "explorable explanations", with Micrograd supplying the illustrations: blog.khinsen.net/posts/2025/11/12/explorable-explorable-explanations.html
