Six kinds of AI,
built from scratch

Each demo below is a real model you can try right now. Nothing is sent to a server: the models run in your browser, on an engine written line by line in plain JavaScript with no AI libraries underneath.

Why build it from scratch?

Most AI code calls a large library that hides how learning works. gradlab does not. The part that works out how to improve a model after every mistake, the layers, the training loops and the models on this page are all written out in a few thousand readable lines.

These are small models, trained on a laptop-sized budget. They are here to show how the ideas work, not to compete with the systems that cost millions to train.