Two Kinds of Knowledge Base
Which one fits depends mostly on the apps you’re building and how much of the processing you want to control.- Agent Knowledge Base
- Classic Knowledge Base
An agent knowledge base keeps setup simple: add your content, and it organizes and indexes everything on its own.Choose it when you want:
- Deeper searches for harder questions: pick Fast, Deep, or Research as its retrieval depth.
- Content that stays current: connected websites, online documents, and online drives refresh on the schedule you set.
- Built-in quality checks: re-test key questions after every change, and track what retrieval misses.
- Access for coding agents: they read its content through the Dify CLI.
Most classic knowledge bases can be upgraded to agent ones later, but agent knowledge bases can’t be turned into classic ones.
Compare the Two Kinds
Both kinds share the same permission choices, document quota, request rate limit, and knowledge base API keys. Both also make images searchable with a vision-capable embedding model.