Engagement loops combine trigger, action, variable reward, and investment to convert sporadic AI sessions into habits, boosting retention and viral growth.