Towards Autonomous Agents: Adaptive-planning, Reasoning, and Acting in Language Models

Abhishek Dutta, Yen-Che Hsiao
8/12/2024
4 citations
cs.AIcs.CL

Official code: YenCheHsiao/AutonomousLLMAgentwithAdaptingPlanning (3 stars, Python, last commit 2024-08-12).

Abstract

We propose a novel in-context learning algorithm for building autonomous decision-making language agents. The language agent continuously attempts to solve the same task by self-correcting each time the task fails.

Show full abstract

Our selected language agent demonstrates the ability to solve tasks in a text-based game environment. Our results show that the gemma-2-9b-it language model, using our proposed method, can successfully complete two of six tasks that failed in the first attempt. This highlights the effectiveness of our approach in enhancing the problem-solving capabilities of a single language model through self-correction, paving the way for more advanced autonomous agents. The code is publicly available at https://github.com/YenCheHsiao/AutonomousLLMAgentwithAdaptingPlanning.

View on arXivView PDF

Code Implementations(1)

31PythonAug 12, 20242 years ago

Similar Papers

Cite this paper

@article{dutta2024towards,
  title  = {Towards Autonomous Agents: Adaptive-planning, Reasoning, and Acting in Language Models},
  author = {Abhishek Dutta and Yen-Che Hsiao},
  year   = {2024},
  eprint = {2408.06458},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2408.06458v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2408.06458.svg)](https://codeofpaper.com/paper/2408.06458)

Discussion