Limit an agent to a knowledge base folder
Hi everyone
I'm creating 2 agents, for 2 clients, and I would like to separate the KB.
However, the second agent seems to search in the first KB.
Do you know if a solution exists for that ?
3 Replies
Yes — you can (and should) fully isolate knowledge per client.
What to do
- Create a separate project for each client. Each project in Voiceflow is its own AI agent and comes with its own Knowledge Base, so content doesn’t leak between agents.
- In each project, add only that client’s docs under CMS > Knowledge and enable the Knowledge Base in the Agent step if you want the agent to use it automatically.
If you must keep both clients in a single project
- Tag each document by client (e.g., client_a, client_b) and query the KB with filters so only the right client’s docs are retrieved. You can do this with the KB Search/Query approach and then summarize the returned chunks (e.g., with a Set AI step). This prevents cross‑pollination of answers.
Helpful docs
- Knowledge Base overview: https://docs.voiceflow.com/docs/knowledge-base
- Agent step (using the KB in an agent): https://docs.voiceflow.com/docs/agents#/
- KB Search step (retrieve only the chunks you want): https://docs.voiceflow.com/docs/kb-search#/
- Advanced Knowledge Base usage (tagging/filters patterns): https://docs.voiceflow.com/docs/advanced-knowledge-base#/
In short: put each client in its own project to keep KBs completely separate, or use tagging + filtered queries if you need to partition within one project.
Voiceflow
Knowledge base tool
The Knowledge Base (KB) in Voiceflow is a vector database that allows you to leverage your own documents and website data to power answers and define variables on your Voiceflow Assistant.
How it works
At a high level, the KB functions in the following way
When you upload a document, it is turned …
Voiceflow
Agent step
Handle user input, search the knowledge base, call tools, and follow exit conditions — all in one step
Voiceflow
KB search step
Overview:
The KB Search step allows you to query data from your Knowledge Base directly within Voiceflow. This step is designed to simplify the process of fetching relevant data chunks, and providing greater control of how chunks and their associated metadata are consumed in your agent designs. It p…
Voiceflow
Advanced Knowledge Base
This article is a logical continuation of the previous Knowledge Base guide and goes over more advanced uses of the knowledge base.
Advanced Use of the Knowledge Base
Document Upload API
Instead of only interacting with the Knowledge Base from inside your agent, you can use the KB Query API to query…
Thanks !
What do you call "CMS" ?
just create 2 agent.
each agent has their own KB.