Chat typing in real time and Agent loop