Ahaha. Ah. Well.
You've forgotten to mention what exactly you want your AI to do?
Well, for example the game will be like a 2D platform game so I want it to be like walking left, stoping for a while then go right and walk left again then stop and etc.... and If you get close to it he will start following you like trying to catch you