Above the waterline sits everything that gets called artificial intelligence this year; below it sits the sixty years of work that made it possible, and the layers get stranger and more fundamental the deeper you go. Each demo here is one layer of that iceberg, ported from a terminal program into a page you can poke at. Every algorithm actually runs in your browser, from scratch, in plain JavaScript: the models train live in your tab, so nothing on these pages is a recording.
Full minimax over the game tree, with a toggle that shows how many board states it evaluated for its last move.
runs: recursive search, in-tab 02A miniature MYCIN. Twelve hand-written rules, a symptom cache that never asks twice, and a trace of exactly which rule died on which answer.
runs: forward-chaining inferenceTF-IDF with bigrams and multinomial naive Bayes, both from scratch. Type a message and watch the verdict move on every keystroke.
trains on page load 04Two hundred rows of realistic corruption, cleaned step by step with a reason for each step's position in the order. Canvas chart, no libraries.
seeded generator, reproducible 05Gradient boosting on 3,000 customers with a hidden risk formula the model has to rediscover. Ends with the five people to call today.
300 stumps, trained liveA model with no clock, no calculator and no memory, four local tools, and a five-step loop. Every tool call is printed as it happens.
tool-calling loop, no framework 10The same loop with the tools removed. What is left is a system prompt, editable live on the page, so you can watch character change without touching a weight.
persona = one editable paragraphEvery page is one standalone HTML file. All CSS and JavaScript inline, no libraries, no CDNs, no build step, no analytics, and no browser storage of any kind.
Nothing here is pre-computed. The classifiers, the boosted trees and both neural networks train from random initialisation in your tab each time you open the page. Three pages call the Anthropic API, and say so on the page; the other seven make no network request at all.