Agent tools can be activated by RAG result #6122

Closed
opened 2026-02-21 18:14:10 -05:00 by yindo · 2 comments
Owner

Originally created by @cowcomic on GitHub (Oct 16, 2024).

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).
  • [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
  • Please do not modify this template :) and fill in all the required fields.

1. Is this request related to a challenge you're experiencing? Tell me about your story.

I need to use lot of tools in the same business process
different question may require different tools combination
I want select tools by question such as RAG

eg.
question 1 enable tools A,C,D
question 2 enbale tools C,F,D

2. Additional context or comments

No response

3. Can you help us with this feature?

  • I am interested in contributing to this feature.
Originally created by @cowcomic on GitHub (Oct 16, 2024). ### Self Checks - [X] I have searched for existing issues [search for existing issues](https://github.com/langgenius/dify/issues), including closed ones. - [X] I confirm that I am using English to submit this report (我已阅读并同意 [Language Policy](https://github.com/langgenius/dify/issues/1542)). - [X] [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:) - [X] Please do not modify this template :) and fill in all the required fields. ### 1. Is this request related to a challenge you're experiencing? Tell me about your story. I need to use lot of tools in the same business process different question may require different tools combination I want select tools by question such as RAG eg. question 1 enable tools A,C,D question 2 enbale tools C,F,D ### 2. Additional context or comments _No response_ ### 3. Can you help us with this feature? - [ ] I am interested in contributing to this feature.
yindo added the 💪 enhancement👻 feat:rag labels 2026-02-21 18:14:10 -05:00
yindo closed this issue 2026-02-21 18:14:11 -05:00
Author
Owner

@crazywoola commented on GitHub (Oct 16, 2024):

The Agent will choose activated tools based on it's own decision. FYI, RAG is treated as a tool as well.

@crazywoola commented on GitHub (Oct 16, 2024): The Agent will choose activated tools based on it's own decision. FYI, RAG is treated as a tool as well.
Author
Owner

@cowcomic commented on GitHub (Oct 16, 2024):

The Agent will choose activated tools based on it's own decision. FYI, RAG is treated as a tool as well.

On Dify agent can only support a limited number of tools. Cannot give it 100 tools as candidates at once

So I hope there can be a mechanism similar to RAG, which tools are enabled through question matching, and then the agent automatically calls and connects them.

在Dify中智能体在一次请求中只能支持有限个tools。无法一次性给他100个tools作为候选

所以希望能有一个类似RAG的机制,通过问题匹配启用哪几个tools,再由智能体自动的来调用和串联

@cowcomic commented on GitHub (Oct 16, 2024): > The Agent will choose activated tools based on it's own decision. FYI, RAG is treated as a tool as well. On Dify agent can only support a limited number of tools. Cannot give it 100 tools as candidates at once So I hope there can be a mechanism similar to RAG, which tools are enabled through question matching, and then the agent automatically calls and connects them. 在Dify中智能体在一次请求中只能支持有限个tools。无法一次性给他100个tools作为候选 所以希望能有一个类似RAG的机制,通过问题匹配启用哪几个tools,再由智能体自动的来调用和串联
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#6122