Ai sequence debug