AutoGuide: Automated Generation and Selection of Context-Aware Guidelines for Large Language Model Agents
Yao Fu, Dong-Ki Kim, Jaekyeom Kim, Sungryull Sohn, Lajanugen Logeswaran, Kyunghoon Bae, Honglak Lee
Abstract
Recent advances in large language models (LLMs) have empowered AI agents capable of performing various sequential decision-making tasks. However, effectively guiding LLMs to perform well in unfamiliar domains like web navigation, where they lack sufficient knowledge, has proven to be difficult with the demonstration-based in-context learning paradigm. In this paper, we introduce a novel framework, called AutoGuide, which addresses this limitation by automatically generating context-aware guidelines from offline experiences. Importantly, each context-aware guideline is expressed in concise natural language and follows a conditional structure, clearly describing the context where it is applicable. As a result, our guidelines facilitate the provision of relevant knowledge for the agent's current decision-making process, overcoming the limitations of the conventional demonstration-based learning paradigm. Our evaluation demonstrates that AutoGuide significantly outperforms competitive baselines in complex benchmark domains, including real-world web navigation.
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.
19 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
- ReasoningBank: Scaling Agent Self-Evolving with Reasoning Memory cites Self-Refine: Iterative Refinement with Self-Feedback
- ReasoningBank: Scaling Agent Self-Evolving with Reasoning Memory cites Contextual Experience Replay for Self-Improvement of Language Agents
- Self-Refine: Iterative Refinement with Self-Feedback cites Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
- Self-Generated In-Context Examples Improve LLM Agents for Sequential Decision-Making Tasks cites Reflexion: language agents with verbal reinforcement learning
- Self-Generated In-Context Examples Improve LLM Agents for Sequential Decision-Making Tasks cites Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
- Reflexion: language agents with verbal reinforcement learning cites Self-Refine: Iterative Refinement with Self-Feedback
- Reflexion: language agents with verbal reinforcement learning cites Toolformer: Language Models Can Teach Themselves to Use Tools
- Reflexion: language agents with verbal reinforcement learning cites Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
- Agentic Knowledgeable Self-awareness cites Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
- Contextual Experience Replay for Self-Improvement of Language Agents cites Self-Refine: Iterative Refinement with Self-Feedback
- Contextual Experience Replay for Self-Improvement of Language Agents cites Reflexion: language agents with verbal reinforcement learning
- Contextual Experience Replay for Self-Improvement of Language Agents cites Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
Cited by top-tier papers19
- ReasoningBank: Scaling Agent Self-Evolving with Reasoning MemorySiru Ouyang, Jun Yan, I-Hung Hsu, Yanfei Chen et al.ICLR 2026 · 244 citations
- Self-Generated In-Context Examples Improve LLM Agents for Sequential Decision-Making TasksVishnu Sarukkai, Zhiqiang Xie, Kayvon FatahalianNeurIPS 2025 · 22 citations
- Contextual Experience Replay for Self-Improvement of Language AgentsYitao Liu, Chenglei Si, Karthik R. Narasimhan, Shunyu YaoACL 2025 · 22 citations
- OpenApps: Simulating Environment Variations to Measure UI Agent ReliabilityKaren Ullrich, Jingtong Su, Claudia Shi, Arjun Subramonian et al.ICLR 2026 · 10 citations
- Agentic Knowledgeable Self-awarenessShuofei Qiao, Zhisong Qiu, Baochang Ren, Xiaobin Wang et al.ACL 2025 · 9 citations
Builds on14
- Chain-of-Thought Prompting Elicits Reasoning in Large Language ModelsJason Wei, Xuezhi Wang, Dale Schuurmans, Maarten Bosma et al.NeurIPS 2022 · 22,562 citations
- Toolformer: Language Models Can Teach Themselves to Use ToolsTimo Schick, Jane Dwivedi-Yu, Roberto Dessì, Roberta Raileanu et al.NeurIPS 2023 · 5,989 citations
- Reflexion: language agents with verbal reinforcement learningNoah Shinn, Federico Cassano, Ashwin Gopinath, Karthik Narasimhan et al.NeurIPS 2023 · 5,828 citations
- Self-Refine: Iterative Refinement with Self-FeedbackAman Madaan, Niket Tandon, Prakhar Gupta, Skyler Hallinan et al.NeurIPS 2023 · 4,972 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
- Guideline Learning for In-Context Information ExtractionChaoxu Pang, Yixuan Cao, Qiang Ding, Ping LuoEMNLP 2023 · 12 citations
- TRAD: Enhancing LLM Agents with Step-Wise Thought Retrieval and Aligned DecisionRuiwen Zhou, Yingxuan Yang, Muning Wen, Ying Wen et al.SIGIR 2024 · 5 citations
- Beyond In-Context Learning: Aligning Long-form Generation of Large Language Models via Task-Inherent Attribute GuidelinesDo Xuan Long, Duong Ngoc Yen, Do Xuan Trong, Anh Tuan Luu et al.ACL Findings 2025
- Learning API Functionality from In-Context Demonstrations for Tool-based AgentsBhrij Patel, Ashish Jagmohan, Aditya VempatyEMNLP Findings 2025 · 1 citation
- You Only Look at Screens: Multimodal Chain-of-Action AgentsZhuosheng Zhang, Aston ZhangACL Findings 2024 · 28 citations
