Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat(agenthub): Add new agent, ProxyAgent to enable collaboration among multiple OpenHands instances #6815

Open
wants to merge 16 commits into
base: main
Choose a base branch
from

Conversation

f-miyake
Copy link

This pull request introduces a new agent named Proxy Agent that extends the current delegation mechanism. In addition to handling local task delegation, the Proxy Agent is designed to delegate tasks to agents hosted on external OpenHands instances. This enhancement is a step toward enabling our system to integrate with external AI agent platforms.

End-user friendly description of the problem this fixes or functionality that this introduces

  • Include this change in the Release Notes. If checked, you must provide an end-user friendly description for your change below

Give a summary of what the PR does, explaining any non-trivial design decisions

  • This PR introduces the Proxy Agent, a new agent that extends the existing task delegation mechanism by enabling delegation to remote agents hosted on separate OpenHands instances.
  • The Proxy Agent works with function calling and can choose from two tools, DelegateLocalTool for the existing local delegation and DelegateRemoteOHTool for the remote delegation to an agent on a different instance of OpenHands.
  • The DelegateRemoteOHTool is responsible for sending messages to agents running on different OpenHands instances. This tool is part of a separate feature introduced in feat(agent_skills): Add OpenhandsClient to agent_skills to enable collaboration among multiple OpenHands instances #6492 (not merged yet), which enhances OpenHands' ability to communicate with external agents.
  • The list of available agents, both local and remote, is defined in openhands/agenthub/proxy_agent/agent_list.json.
  • For more details, please refer to the README.md in openhands/agenthub/proxy_agent directory.

@neubig
Copy link
Contributor

neubig commented Feb 19, 2025

I will take a look at this! Apologies that I have not fully checked the old one yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants