The word "loop" gets thrown around a lot in AI - but there are at least three nested ones, from single tokens up to whole tasks.