About AGVAI

AGVAI (Algorithm Graph Visual + AI) is an interactive lab for understanding AI algorithms. Nothing here is a pre-recorded animation: every frame comes from code running in your browser right now.

What we hold ourselves to

  • Real computation. Training, gradients, decision boundaries and loss surfaces are all computed on the spot.
  • The reference answer is 64-bit floating point on the CPU. Built-in deterministic math makes the same seed bit-identical in every browser.
  • The GPU only speeds things up. WebGPU works in 32 bits; an error above 1e-4 is a failure, and devices without it fall back to the CPU.
  • Lower quality never means lower precision. Weaker devices draw fewer particles and effects; the numbers stay the same.
  • Everything is local. No server computes for you, nothing to install, no account; your experiments never leave your machine.

How we check the numbers

Before an algorithm goes live it passes three comparisons: bit for bit against an accepted reference implementation (TensorFlow Playground, for example), against PyTorch in 64 bits, and against numerical differentiation for every gradient. They are automated tests and run again with every change.

What it is built with

Computation runs in a Web Worker so the interface never stalls. 2D uses Canvas; 3D uses Three.js (WebGPU first, WebGL 2 as a fallback); formulas use KaTeX. All third-party software is listed under credits and licenses, and changes by version in the changelog.

Contact

Questions, suggestions, or a number that looks wrong? Write or leave a message: