Well, I have nothing but suggestions. These examples are meant as ideas that maybe you can run with.
The first idea is to do pathfinding over a path of connected nodes you define in the editor. Made this yesterday. The pathfinding algorithm is just a breadth first search that moves the unit to the closest node.
dropbox.com/scl/fi/gjktm17fyb2azud1gmbqg/pathfind_ladder.c3p
The second idea is to just do a bunch of logic to decide what keys for the ai to press. Like move left or right toward the player, and if the destination is a platform above move to the closest ladder first. Basically, in this way you'd handle as many specific cases as needed till it looks ok. This is much less general purpose, and it tailored to the level design. Realistically you'd both have to either tweak your levels or logic.
This particular logic can handle two platform levels and ladders. AI jumps over holes and up ledges, but I ran out of events before handling falling down holes.
dropbox.com/scl/fi/i9z6ptjjqo9msobjd98av/pathfind_ladder_behavior.c3p
Arrow keys to move manually. Hold down left mouse button to ai move toward the mouse.
Anyways, those are two ideas developed up to a point. Neither are perfect but hopefully they give some ideas on how you could go about it.
After messing with both approaches, I think next time I'd do a hybrid of the two