Well the way I have my ladder system set up is in a few parts ladder bottom, a ladder line and ladder top... all set invisible. Since it's AI this will be tough... you will have to find a way to the game know when the AI is going up or down because you will have to simulate 8 direction up or down. I put two links that will help you out with ladder stuff All you will need to do is figure out how to make it happen on it's own. Maybe have like a box area around the ladder so when the AI collides with it they start to climb up if the player is above them which would be simulate a direction up. You will have to find a way to know if player is above or below player. Hopefully this helps
youtu.be/7d-VVfFIvd8
youtu.be/6NJ6mkbBfmA