What kind of system should I make to make an NPC that knows the map?

Hello! I’m working on a game named “Murder Bots”, its about theres 1 player and other 9 npc’s plays the GMOD Murder game. Knife Frameworks and other things are completed. Next stage is about creating an NPC knows the map. But i don’t know which way should i follow to do something like this. Im not want the entire project. Can someone show me any examples or projects like that? Or maybe the way i should follow?