Reason for Future, Act for Now: A Principled Architecture for Autonomous LLM Agents
Zhihan Liu, Hao Hu, Shenao Zhang, Hongyi Guo, Shuqi Ke, Boyi Liu, Zhaoran Wang
Abstract
Large language models (LLMs) demonstrate impressive reasoning abilities, but translating reasoning into actions in the real world remains challenging. In particular, it is unclear how to complete a given task provably within a minimum number of interactions with the external environment, e.g., through an internal mechanism of reasoning. To this end, we propose the first framework with provable regret guarantees to orchestrate reasoning and acting, which we call "reason for future, act for now" (RAFA). Specifically, we design a prompt template for reasoning that learns from the memory buffer and plans a future trajectory over a long horizon ("reason for future"). At each step, the LLM agent takes the initial action of the planned trajectory ("act for now"), stores the collected feedback in the memory buffer, and reinvokes the reasoning routine to replan the future trajectory from the new state. The key idea is to cast reasoning in LLMs as learning and planning in Bayesian adaptive Markov decision processes (MDPs). Correspondingly, we prompt LLMs with the memory buffer to estimate the unknown environment (learning) and generate an optimal trajectory for multiple future steps that maximize a value function (planning). The learning and planning subroutines are performed in an "incontext" manner to emulate the actor-critic update for MDPs. Our theoretical analysis establishes a √ T regret, while our experimental validation demonstrates superior empirical performance. Here, T denotes the number of online interactions.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
7 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Fleet of Agents: Coordinated Problem Solving with Large Language Models cites Tree of Thoughts: Deliberate Problem Solving with Large Language Models
- Fleet of Agents: Coordinated Problem Solving with Large Language Models cites Reflexion: language agents with verbal reinforcement learning
- Fleet of Agents: Coordinated Problem Solving with Large Language Models cites Language Models are Few-Shot Learners
- Fleet of Agents: Coordinated Problem Solving with Large Language Models cites Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
- Tree of Thoughts: Deliberate Problem Solving with Large Language Models cites Language Models as Zero-Shot Planners: Extracting Actionable Knowledge for Embodied Agents
- Tree of Thoughts: Deliberate Problem Solving with Large Language Models cites Language Models are Few-Shot Learners
- Tree of Thoughts: Deliberate Problem Solving with Large Language Models cites Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
- Heterogeneous Swarms: Jointly Optimizing Model Roles and Weights for Multi-LLM Systems cites Language Models are Few-Shot Learners
- Heterogeneous Swarms: Jointly Optimizing Model Roles and Weights for Multi-LLM Systems cites Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
- Language Models as Zero-Shot Planners: Extracting Actionable Knowledge for Embodied Agents cites Language Models are Few-Shot Learners
- Align While Search: Belief-Guided Exploratory Inference for World-Grounded Embodied Agents cites Reflexion: language agents with verbal reinforcement learning
- Align While Search: Belief-Guided Exploratory Inference for World-Grounded Embodied Agents cites Language Models are Few-Shot Learners
- Reflexion: language agents with verbal reinforcement learning cites Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
- BacktrackAgent: Enhancing GUI Agent with Error Detection and Backtracking Mechanism cites Reflexion: language agents with verbal reinforcement learning
Cited by top-tier papers7
- Heterogeneous Swarms: Jointly Optimizing Model Roles and Weights for Multi-LLM SystemsShangbin Feng, Zifeng Wang, Palash Goyal, Yike Wang et al.NeurIPS 2025 · 26 citations
- InstructHOI: Context-Aware Instruction for Multi-Modal Reasoning in Human-Object Interaction DetectionJinguo Luo, Weihong Ren, Quanlong Zheng, Yanhao Zhang et al.NeurIPS 2025 · 3 citations
- Align While Search: Belief-Guided Exploratory Inference for World-Grounded Embodied AgentsSeohui Bae, Jeonghye Kim, Youngchul Sung, Woohyung LimCVPR 2026 · 1 citation
- BacktrackAgent: Enhancing GUI Agent with Error Detection and Backtracking MechanismQinzhuo Wu, Pengzhi Gao, Wei Liu, Jian LuanEMNLP 2025 · 1 citation
- Fleet of Agents: Coordinated Problem Solving with Large Language ModelsLars Henning Klein, Nearchos Potamitis, Roland C. Aydin, Robert West et al.ICML 2025
Builds on36
- Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah et al.NeurIPS 2020 · 64,255 citations
- Chain-of-Thought Prompting Elicits Reasoning in Large Language ModelsJason Wei, Xuezhi Wang, Dale Schuurmans, Maarten Bosma et al.NeurIPS 2022 · 22,562 citations
- Reflexion: language agents with verbal reinforcement learningNoah Shinn, Federico Cassano, Ashwin Gopinath, Karthik Narasimhan et al.NeurIPS 2023 · 5,828 citations
- Tree of Thoughts: Deliberate Problem Solving with Large Language ModelsShunyu Yao, Dian Yu, Jeffrey Zhao, Izhak Shafran et al.NeurIPS 2023 · 5,068 citations
- Language Models as Zero-Shot Planners: Extracting Actionable Knowledge for Embodied AgentsWenlong Huang, Pieter Abbeel, Deepak Pathak, Igor MordatchICML 2022 · 1,539 citations
Related papers
- Reasoning with Language Model is Planning with World ModelShibo Hao, Yi Gu, Haodi Ma, Joshua Jiahua Hong et al.EMNLP 2023 · 109 citations
- MARS: Multi-Agent Adaptive Reasoning with Socratic Guidance for Automated Prompt OptimizationJian Zhang, Zhangqi Wang, Haiping Zhu, Kangda Cheng et al.AAAI 2026 · 9 citations
- R-Search: Empowering LLM Reasoning with Search via Multi-Reward Reinforcement LearningQingfei Zhao, Ruobing Wang, Dingling Xu, Daren Zha et al.ACL Findings 2026
- Hypothesis-Driven Reasoning for Large Language ModelsAakash Kumar Agarwal, Moyuru YamadaAAAI 2026
- AdapTime: Enabling Adaptive Temporal Reasoning in Large Language ModelsYimin Deng, Yejing Wang, Zhenxi Lin, Zichuan Fu et al.ACL Findings 2026
