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

third-party agents #390

Open
HaifengWkkk opened this issue Aug 7, 2024 · 8 comments
Open

third-party agents #390

HaifengWkkk opened this issue Aug 7, 2024 · 8 comments

Comments

@HaifengWkkk
Copy link

AgentScope is an open-source project. To involve a broader community, we recommend asking your questions in English.
Well job! I was wondering if third-party intelligences can access this framework, and if not why?

@bg4xsd
Copy link

bg4xsd commented Aug 7, 2024

Having several intelligent agents from AgentScope and other third-party agents communicating with each other is an exciting idea. Before continuing the discussion, we need to clarify a few things. What language do these agents speak (information and coding formats)? What communication method do they use (API? UDP network service? RPC)? MessageQueue?) This is a more interesting question, does AgentScope require electing a role as a liaison person?

@pan-x-c
Copy link
Collaborator

pan-x-c commented Aug 7, 2024

As a multi-agent platform, AgentScope can use third-party agents by implementing a sub-class of AgentBase and using the third-party agent in the reply method.
Additionally, AgentScope already has an RPC-based distributed mode, agents can be deployed on multiple machines, please refer to tutorial.

@bg4xsd
Copy link

bg4xsd commented Aug 7, 2024

Roger that, Thanks.

@DavdGao
Copy link
Collaborator

DavdGao commented Aug 7, 2024

AgentScope is an open-source project. To involve a broader community, we recommend asking your questions in English. Well job! I was wondering if third-party intelligences can access this framework, and if not why?

Thansk for your attention. I think it's technically feasible. If your target is only to enable the communication between different agents, just unify the messages passed among different agents, just like an unified interface (e.g. the Msg class in AgentScope).

If you want to use the other features within AgentScope, e.g. distribution, you can wrap the third-party agent within a new agent class that inherits agentscope.agents.AgentBase

@DavdGao
Copy link
Collaborator

DavdGao commented Aug 7, 2024

Refer to this example for the second case, which integrates langchain within agentscope agent
https://github.com/modelscope/agentscope/tree/main/examples/conversation_with_langchain

@HaifengWkkk
Copy link
Author

AgentScope is an open-source project. To involve a broader community, we recommend asking your questions in English. Well job! I was wondering if third-party intelligences can access this framework, and if not why?

Thansk for your attention. I think it's technically feasible. If your target is only to enable the communication between different agents, just unify the messages passed among different agents, just like an unified interface (e.g. the Msg class in AgentScope).

If you want to use the other features within AgentScope, e.g. distribution, you can wrap the third-party agent within a new agent class that inherits agentscope.agents.AgentBase

I understand that communication is easy to implement, but to allow third-party intelligences to use the functionality within the framework would require a rewrite?

@HaifengWkkk
Copy link
Author

Having several intelligent agents from AgentScope and other third-party agents communicating with each other is an exciting idea. Before continuing the discussion, we need to clarify a few things. What language do these agents speak (information and coding formats)? What communication method do they use (API? UDP network service? RPC)? MessageQueue?) This is a more interesting question, does AgentScope require electing a role as a liaison person?

How to understand message queues?Is Langgraph's Message Pooling a good choice?

@DavdGao
Copy link
Collaborator

DavdGao commented Aug 9, 2024

I understand that communication is easy to implement, but to allow third-party intelligences to use the functionality within the framework would require a rewrite?

I think it is.

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

No branches or pull requests

4 participants