DEV Community

Agent Series (3): Plan-and-Solve (opens in new tab)

Where Does ReAct Hit a Wall? The previous article established ReAct's greedy strategy — each step looks at only the current state and decides the next action. This works well most of the time, but there's one class of task where it stumbles. Imagine you ask an Agent to do this: Search for the release years of Python, Java, and Go. Sort them chronologically. Calculate how many years apart Python and Go are. A typical ReAct execution might look like: Action: web_search("Python release year") Ac...

Read the original article
Sign in to keep reading the full article.

Keyboard Shortcuts

Navigation

Next / previous post
j/k
Open post
oorEnter
Preview post
v

Post Actions

Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Save / unsave
s

Recommendations

Add interest / feed
Enter
Not interested
x

Go to

Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Discover
gb
Search
/

General

Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help