Bosses moving around walls

Hey! I have a question about boss AI, and how to make it feel a bit smarter. I’m trying to get it so an entity follows the player around walls, and will occasionally pull back as a dodge, before following the player intelligently again. I’ve tried the path-finding extension, but it doesn’t work for my purposes (trying to make a boss randomly follow relentlessly or dodge the player). Does anyone have any information on how to work through this issue? Thanks in advance!