AI agents task completion vs information retrieval