Search algorithms for AI entities