Who: the agent’s creator and Admins · Where: Workforce › Agents, then the agent’s Guardrails section · Works on: Enterprise and SaaS
When to use it
Without it, an agent combines what it finds in its knowledge bases with the model’s general knowledge. That suits a general assistant. Switch Knowledge only on when answers must rest on your organization’s documents and be traceable to them, or when general knowledge could mislead. Legal, medical and policy questions are typical cases, because your rules may differ from the usual ones. An assistant for your leave policy is an example: people asking it need your company’s rules. Knowledge and citations explains how an agent finds and cites its sources.Turn it on
1
Open the agent
On Agents, click the agent to open it in the studio.
2
Edit the guardrails
In the Guardrails section, click Edit and switch on Knowledge only (“Answer only from the knowledge bases and say so when they do not cover a question”).
3
Save and publish
Click Save changes, then Publish in the header. People keep the old behaviour until you publish.
How it behaves
Guardrails are added to the agent’s instructions every time it runs. With Knowledge only on, the agent is told to answer only from its knowledge bases and to say so when they do not cover the question. The agent words that reply itself; there is no fixed “no answer” message to set. The agent follows this as an instruction. Nothing filters its answers afterwards, so test it with questions your documents do not cover before you publish.Guardrails that go well with it
The check about unanswerable questions
The check about unanswerable questions
When an agent has no Knowledge only, no Scope and no rule in its instructions for questions it cannot answer, the Checks tab warns “No rule for questions it cannot answer”.
Agents edited on the full form
Agents edited on the full form
Knowledge only is set in the studio’s Guardrails section. The full form has no switch for it, and saving the full form keeps whatever the studio set.