All-Hands-AI / OpenHands

🙌 OpenHands: Code Less, Make More
https://all-hands.dev
MIT License
36.99k stars 4.2k forks source link

[Agent]: Add functionality from the "Agentless" tool #2820

Open neubig opened 4 months ago

neubig commented 4 months ago

What problem or use case are you trying to solve?

Recently, agentless tools has reported good accuracy and efficient cost on SWE-bench lite: https://github.com/OpenAutoCoder/Agentless

It would be good to incorporate this in to OpenDevin.

Do you have thoughts on the technical implementation?

I think we could have a two-level technical implementation:

This could be done by creating a new AgentlessAgent that basically just runs their tool as-is. Agentless relies on code search and patching, so the overall framework for the code would look like this.

class AgentlessAgent:
    def step(...):
        localizations = localize(user_message)
        patch = repair(localizations)
        apply_patch()

This would pull out individual components (such as Agentless's code search or patching functionality) and incorporate them into our "main" agents like CodeAct.

Additional context

github-actions[bot] commented 2 months ago

This issue is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.

neubig commented 2 months ago

We're still working on this AFAIK

neubig commented 2 months ago

@RajWorking will be taking a look.

RajWorking commented 2 months ago

Hey! I will working on this. Thanks

github-actions[bot] commented 1 month ago

This issue is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.

github-actions[bot] commented 1 day ago

This issue is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.