gui and ai