svish.dev

Learn by tweaking things

Short lessons with a live demo or runnable code in each. No video, no paywall. Your progress is saved on your device; sign in to make it feel like yours.

AI Agents

How agents actually work, and how to make them reliable enough to trust with real work.

✓ What an AI agent really isAn agent is a loop — a model picks a tool, you run it, the result goes back in. Build one in 30 lines and see where it breaks.
12 min
✓ Evaluating agents before you trust themBuild a tiny eval harness, catch a regression a prompt tweak introduced, and learn why "it worked when I tried it" isn't evidence.
10 min
Tool design: what to expose to a modelPlanned
soon
Cost, latency and caching for agentsPlanned
soon
Human-in-the-loop that people actually usePlanned
soon

AI / ML

Build the ideas behind modern AI from first principles, in code you can read end to end.

✓ Gradient descent you can seeThe one algorithm that trains almost every neural network — rolled down a hill you can drag around.
10 min · interactive
✓ A neuron and a tiny network from scratchTrain one neuron on AND, watch it fail on XOR, then fix it with a hidden layer — in plain NumPy.
15 min
Backprop, derived by handPlanned
soon
A tiny vision model for a robot cameraPlanned
soon
From a policy to a moving robotPlanned
soon

Robotics

From the sense–think–act loop to controllers you tune by hand, with a simulator to try everything.

✓ The loop every robot runsSense, think, act — the one idea under every robot, from a toy rover to a warehouse fleet.
8 min
✓ PID control, by feelTune P, I and D yourself on a live simulation and see why each term exists.
12 min · interactive
Odometry and dead reckoningPlanned
soon
Reading a lidar scanPlanned
soon
Talking to a robot over ROS 2Planned
soon
New lessons and build notes, by email

Occasional, practical, no spam. Unsubscribe any time.

Have a topic you'd like explained? Join and tell us what to build next.