What an agent actually does

An agent is a loop with tools, memory, and a stop condition. Chat is one turn.