Why agents are the next frontier of generative AI