An In-depth Survey of Large Language Model-based Artificial Intelligence Agents