OpenHands icon indicating copy to clipboard operation
OpenHands copied to clipboard

Document difference between different agents

Open shaggy2626 opened this issue 1 year ago • 3 comments
trafficstars

Its my first time using the project, can you tell me which agent I should be using as default and when would I use the other agents? I'm not sure how it works, are there any docs?

image

shaggy2626 avatar May 23 '24 01:05 shaggy2626

CodeActAgent is the default agent and it's the best for any coding tasks.

We are just deprecating SWEAgent since CodeAct now basically includes the commands it had. Monologue and Planner might be useful for testing particular stuff (Monologue has long term memory, Planner is an experiment in, well, planning). A large number of the rest are microagents, suitable for a very particular task (e.g. CommitWriterAgent for writing the commit message of a single commit).

In general, it's unlikely you need the specialized ones. The default should just work for particular tasks too.

enyst avatar May 23 '24 11:05 enyst

@enyst what is the main benefit of using the CodeAct agent? Does it have any unique features that make it better than the SWE-agent?

ramsey-coding avatar May 23 '24 15:05 ramsey-coding

You may want to take a look here: https://xwang.dev/blog/2024/opendevin-codeact-1.0-swebench/

Also, this paper about CodeAct: https://arxiv.org/abs/2402.01030

enyst avatar May 23 '24 15:05 enyst

Going to close this as a duplicate of this newer one which will be used as a catch all for this particular issue going forward https://github.com/OpenDevin/OpenDevin/issues/2251.

mamoodi avatar Jun 08 '24 18:06 mamoodi