Agent in Dify access Knowledge Base directly

@nam
Hi, the simplest way I know is:

  1. Create a workflow that performs only knowledge retrieval and returns the result.
  2. Publish it as a “Workflow as Tool”.
  3. Add the published tool to the agent node.

This way, agents can use the knowledge retrieval feature as a tool.

Hope this helps :slight_smile:

2 Likes