← Open Source
andyz245

LanguageAgentTreeSearch

[ICML 2024] Official repository for "Language Agent Tree Search Unifies Reasoning Acting and Planning in Language Models".

AI EngineeringPrompt & ScaffoldPython
Open on GitHub
Momentum
+0stars in 24 hours0.0%
865
Stars
92
Forks
+1
This week
6
Contributors
Created 2023-10-05 · Updated 2026-10-10 · #13072 today
Top developers
andyz245afrancoc2000tohrnii

andyz245/LanguageAgentTreeSearch is ranked 13,072 with 865 stars.

Same-category comparison

andyz245/LanguageAgentTreeSearch is ranked 13,072 among these 8 peers; itq5/OpenClaw-Admin is ranked 13,068.

Same-category comparison
NameRankMetrics
xpander-ai/xpander.ai13,052
Language:
Jupyter Notebook
Stars:
868
Forks:
126
Description:
xpander.ai is the runtime and control plane to build, run, and ship reliable AI agents fast and anywhere.
Dong90/oh-my-taiyiforge13,063
Language:
TypeScript
Stars:
866
Forks:
23
Description:
AI workflow automation plugin for intelligent code generation with Claude/Codex.
ahmadfaizalbh/Chatbot13,064
Language:
Python
Stars:
866
Forks:
354
Description:
Python ChatBot 💬.
itq5/OpenClaw-Admin13,068
Language:
Vue
Stars:
866
Forks:
205
riponcm/projectmem13,076
Language:
Python
Stars:
865
Forks:
53
Description:
Open-source coding agents memory. Records issues, attempts, fixes and decisions, then warns your agent before it repeats an approach that already failed. Native MCP server for Claude Code, Cursor, Antigravity and Codex. 100% local, no cloud, no telemetry. MIT.
ryanontheinside/ComfyUI_RyanOnTheInside13,077
Language:
Python
Stars:
865
Forks:
56
Description:
Everything-Reactivity in ComfyUI (audio, MIDI, motion, proximity, and more). Animate and manipulate images, masks, videos, audio, and more. Native ACEStep extensions.
DuanYan007/markitdown13,083
Language:
Java
Stars:
864
Forks:
114
Description:
markitdown:Cli;Lib; Java.
VectorSpaceLab/general-agentic-memory13,086
Language:
Python
Stars:
864
Forks:
88
Description:
A general memory system for agents, powered by deep-research.
Key parameters and specifications
Key parameters and specifications
ParameterValue
LanguagePython
CategoryAI Engineering
SubcategoryPrompt & Scaffold
KeywordsPlanning
Stars865
Forks92
Contributors6
Created date2023-10-05
Updated date2026-10-10
Stars in 1 day0
Stars in 7 days1
Rank13,072
Previous rank12,965
Rank change-107
7-day stars rank10,524
Previous 7-day stars rank10,570
7-day stars rank change46
Total stars rank12,498
Previous total stars rank12,479
Total stars rank change-19
README summary

Official Repo of Language Agent Tree Search (LATS) - ICML 2024 Official implementation for ICML 2024 paper Language Agent Tree Search Unifies Reasoning Acting and Planing in Language Models with code, prompts, model outputs. More can be found at our project website or paper Check out our demo, CodeLATS at our demo For a more general implementation for your AI applications, please look at the LangChain implementation in LangGraph. LATS-LangChain or the LlamaIndex implementation LATS-LlamaIndex Reasoning + Acting (HotPotQA) Setup

To get started: 1. Clone this repo and move to the HotPotQA directory: 2. Install the module dependencies into your environment: 3. Set environment variable to your OpenAI API key: 4. Clone this repo and move to the HotPotQA directory: 2. Install the module dependencies into your environment: 3. Set environment variable to your OpenAI API key: 4. Set the scripts and run paper experiments Code adapted from Decision-making (WebShop) Setup To get started: 1. Clone this repo and

move to the WebShop directory: 2. Install WebShop from source and run environment instance locally. Install the module dependencies into your environment: 4. Set environment variable to your OpenAI API key: 5. py to your local port running WebShop 6. py with the log path to get the actual accuracy. HotPotQA and WebShop logs were too large to upload, feel free to email if interested. Citations Please cite the paper and star this repo if you use LATS and find

it interesting. edu or open an issue if you have any questions.

Frequently asked questions

How many stars and forks are recorded?

andyz245/LanguageAgentTreeSearch has 865 stars and 92 forks.

What is the repository rank?

andyz245/LanguageAgentTreeSearch is ranked 13,072.

What language and category are recorded?

andyz245/LanguageAgentTreeSearch has 865 stars, uses Python and belongs to AI Engineering.

Which repository is closest in rank?

andyz245/LanguageAgentTreeSearch is compared with itq5/OpenClaw-Admin, ranked 13,068 with 866 stars.

README

Official Repo of Language Agent Tree Search (LATS) - ICML 2024

[![Build](https://img.shields.io/badge/Python-3.7+-1f425f.svg?color=purple)](https://www.python.org/)
[![License](https://img.shields.io/badge/License-MIT-blue)](https://copyright.illinois.edu/)

Official implementation for ICML 2024 paper Language Agent Tree Search Unifies Reasoning Acting and Planing in Language Models with code, prompts, model outputs.

More can be found at our project website or paper

Check out our demo, CodeLATS at our demo

For a more general implementation for your AI applications, please look at the LangChain implementation in LangGraph. LATS-LangChain

or the LlamaIndex implementation LATS-LlamaIndex

Reasoning + Acting (HotPotQA)

Setup

To get started:

  1. Clone this repo and move to the HotPotQA directory:
git clone https://github.com/andyz245/LanguageAgentTreeSearch && cd LanguageAgentTreeSearch/hotpot
  1. Install the module dependencies into your environment:
pip install -r requirements.txt
  1. Set OPENAI_API_KEY environment variable to your OpenAI API key:
export OPENAI_API_KEY=
  1. Set the scripts and run paper experiments
sh lats.sh
  • --n_generate_sample: number of times to prompt during expansion/sampling
  • --n_evaluate_sample: number of times to prompt for state evaluation
  • --iterations: maximum number of trajectories to sample

Reasoning (Programming)

Setup

To get started:

  1. Clone this repo and move to the HotPotQA directory:
git clone https://github.com/andyz245/LanguageAgentTreeSearch && cd LanguageAgentTreeSearch/programming
  1. Install the module dependencies into your environment:
pip install -r requirements.txt
  1. Set OPENAI_API_KEY environment variable to your OpenAI API key:
export OPENAI_API_KEY=
  1. Set the scripts and run paper experiments
sh run_lats.sh

Code adapted from https://github.com/noahshinn024/reflexion/tree/main

Decision-making (WebShop)

Setup

To get started:

  1. Clone this repo and move to the WebShop directory:
git clone https://github.com/andyz245/LanguageAgentTreeSearch && cd LanguageAgentTreeSearch/webshop
  1. Install WebShop from source and run environment instance locally. Follow the instructions here (https://github.com/princeton-nlp/WebShop)

  2. Install the module dependencies into your environment:

pip install -r requirements.txt
  1. Set OPENAI_API_KEY environment variable to your OpenAI API key:
export OPENAI_API_KEY=
  1. Change localhost in lats.py to your local port running WebShop

  2. Set the scripts and run paper experiments

sh lats.sh
  • --n_generate_sample: number of times to prompt during expansion/sampling
  • --n_evaluate_sample: number of times to prompt for state evaluation
  • --iterations: maximum number of trajectories to sample

Trajectories

programming/root/ contains all the trajectories from the paper's experiments on programming. Please use get_acc.py with the log path to get the actual accuracy. HotPotQA and WebShop logs were too large to upload, feel free to email if interested.

Citations

Please cite the paper and star this repo if you use LATS and find it interesting. Feel free to contact andyz3@illinois.edu or open an issue if you have any questions.

@misc{zhou2023language,
      title={Language Agent Tree Search Unifies Reasoning Acting and Planning in Language Models}, 
      author={Andy Zhou and Kai Yan and Michal Shlapentokh-Rothman and Haohan Wang and Yu-Xiong Wang},
      year={2023},
      eprint={2310.04406},
      archivePrefix={arXiv},
      primaryClass={cs.AI}
}

Nearby in the ranking
Similar items