AI Where to start

I have entities spawning in my game now and when i control them with a input handler there collision works fine, however i was wondering if someone can help explain the basics of a non hostile
AI