OpenHands
OpenHands copied to clipboard
Document difference between different agents
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?
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 what is the main benefit of using the CodeAct agent? Does it have any unique features that make it better than the SWE-agent?
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
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.