Buddy ai

So im working on a small project with a friend and in our project theres 2 characters who go through missions together sort of like Drake and Sully from the uncharted game. We are aiming to have the player play as one of the characters but i have no idea how to start on the ai for the other character to help and assist the player in combat. I couldn’t find any tutorials online either, any ideas anyone?