The Agent Loop: How AI Goes From Answering Questions to Doing Things