Fundamentals of Building Autonomous LLM Agents

LLM Latent Reasoning CoT Agent Agent Planning Agent Memory
本文综述了由大语言模型(LLM)驱动的智能体的架构及其实现方法。鉴于传统大语言模型在现实任务中的局限性,该研究旨在探索构建具有“主动性”的大语言模型的模式,以实现复杂任务的自动化,并缩小与人类能力之间的性能差距。其关键组成部分包括:感知系统,负责将环境中的感知信息转化为有意义的表示;推理系统,通过思维链、思维树等不同技术来制定计划、响应反馈并评估行动;记忆系统,通过短期和长期两种机制存储知识;以及执行系统,将内部决策转化为具体行动。本文展示了如何通过整合这些系统,构建出更具能力且通用性更强的软件机器人,从而模拟人类的认知过程,实现自主而智能的行为。
This paper reviews the architecture and implementation methods of agents powered by large language models (LLMs). Motivated by the limitations of traditional LLMs in real-world tasks, the research aims to explore patterns to develop "agentic" LLMs that can automate complex tasks and bridge the performance gap with human capabilities. Key components include a perception system that converts environmental percepts into meaningful representations; a reasoning system that formulates plans, adapts to feedback, and evaluates actions through different techniques like Chain-of-Thought and Tree-of-Thought; a memory system that retains knowledge through both short-term and long-term mechanisms; and an execution system that translates internal decisions into concrete actions. This paper shows how integrating these systems leads to more capable and generalized software bots that mimic human cognitive processes for autonomous and intelligent behavior.
许愿