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

Extend Tool/Plugin Support to Include Chatbots, Agents, and Workflows #4468

Closed
3 of 4 tasks
sunxichen opened this issue May 17, 2024 · 4 comments
Closed
3 of 4 tasks
Labels
💪 enhancement New feature or request 🤖 feat:agent Agent related topics 🌊 feat:workflow Workflow related stuff.

Comments

@sunxichen
Copy link

Self Checks

  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
  • Please do not modify this template :) and fill in all the required fields.

1. Is this request related to a challenge you're experiencing?

Yes, currently, Dify allows only functions (built-in or custom) to be used as tools (plugins) for the large language model. However, I face a limitation where I cannot integrate pre-built chatbots, agents, or orchestrated workflows as tools. This missing capability hinders the full potential of creating modular and collaborative Agent solutions, especially in scenarios where multi-agent cooperation is paramount.

2. Describe the feature you'd like to see

I would like to request an enhancement to Dify that extends the existing 'Tools' architecture to accommodate not just functions but also chatbots, agents, and workflows. The vision is to enable users to package their standalone, once developed and refined chatbots, intelligent agents, or complex workflows as plugins, making them seamlessly accessible to a 'master' or orchestrating agent. The 'master' agent can delegate different tasks to the appropriate "expert" based on the user's needs.

3. How will this feature improve your workflow or experience?

With this feature, I would be able to construct a highly modular and scalable system where multiple expert chatbots or agents, each focusing on specific tasks, or complex and complete workflows, can be deployed as needed. Developers could create and maintain task-specific chatbots, agents, or workflows independently, then easily plug them into more extensive systems, fostering a microservices-like approach to AI development. And developers can configure different 'expert' agents to a 'master' agent. This would not only enhance the capability of the master agent to handle a wide range of user requests efficiently but also pave the way for experimenting with multi-agent collaborative scenarios. BTW, I find that this is a bit like how Coze uses workflow some how.

4. Additional context or comments

No response

5. Can you help us with this feature?

  • I am interested in contributing to this feature.
@dosubot dosubot bot added 🌊 feat:workflow Workflow related stuff. 💪 enhancement New feature or request 🤖 feat:agent Agent related topics labels May 17, 2024
@iis-MarkKuang
Copy link

Hi @sunxichen do you have a working branch right now? I'm also interested in making agents/workflows reusable by wrapping them to tools, is it okay to loop me in? Thanks.

@loganclark360
Copy link

loganclark360 commented May 20, 2024 via email

@loganclark360
Copy link

loganclark360 commented May 20, 2024 via email

@sunxichen
Copy link
Author

Hi @sunxichen do you have a working branch right now? I'm also interested in making agents/workflows reusable by wrapping them to tools, is it okay to loop me in? Thanks.

@iis-MarkKuang Sorry, as for now, I don't have a working branch for this idea😢 My post was intended to see if any other developers look forward to these features as well and start a discussion within the community. I may start working on this when I have some spare time. If you decide to explore this concept and initiate a branch, please do let me know. I'd love to follow your progress, provide feedback where I can, and possibly contribute or test as things move forward.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
💪 enhancement New feature or request 🤖 feat:agent Agent related topics 🌊 feat:workflow Workflow related stuff.
Projects
None yet
Development

No branches or pull requests

4 participants