Home / Research / Think a step, take a step

Think a step, take a step

ReAct showed that a language model works far better when it thinks a step, acts, and then thinks again.

What it means for you

Almost every agent you can buy today runs on this loop. When a tool says it reasons and acts, this is the idea behind it.

It also tells you what to look for. A good agent shows its work. You can read the thought steps and catch a wrong move before the agent acts on it.

If an agent hides its steps from you, ask why. You should be able to see what it plans to do next.

The idea in plain words

Before this paper, a language model mostly did one of two things. It thought a problem through in words. Or it took an action. It did not do both in a loop.

ReAct mixes the two. The model thinks a step. Then it takes an action, such as looking a fact up. Then it sees what came back. Then it thinks again.

That loop lets it check facts instead of guessing them. It also lets it change its plan when a step goes wrong.

On question and fact tests, ReAct cut the sure-but-wrong answers that pure thought gave. It could look things up. On web shop and home tasks, it beat older ways by a wide margin. It used only one or two examples.

Where it shows up today

You can read the full paper on arXiv: ReAct: Synergizing Reasoning and Acting in Language Models.

Go deeper

Want to get more from working with AI agents? Co-Intelligence by Ethan Mollick is the plain-English book on working with AI as a thinking partner. See it on Amazon.

As an Amazon Associate, MyLife's Nanny earns from qualifying purchases. The price is the same for you.

Source: ReAct: Synergizing Reasoning and Acting in Language Models. Authors: Shunyu Yao, Jeffrey Zhao, Dian Yu, and Nan Du. Also: Izhak Shafran, Karthik Narasimhan, and Yuan Cao. Princeton University and Google Research, 2023. Read the paper here: arXiv:2210.03629. These numbers are the ones in the paper when it came out. They are not a current table.

Quick check

Did it stick?

Seven quick questions from the piece above. Answer them all, then put in your email to see your score.

0 of 7 answered

The MyLife’s Nanny Newsletter

Be the first to find out about new AI agent tools and pages added to the directory.

Unsubscribe anytime. Read our Privacy Policy.