Build your agent
Strict Knowledge Mode
Strict Knowledge Mode is a per-agent guarantee of grounded honesty: the agent never invents services, products, prices, or policies β every claim has to come from your own knowledge. It does not mean the agent refuses everything it can't quote. It stays conversational, and only falls back to a fixed "I can't confirm that" message when a question is genuinely in your domain but your knowledge base doesn't cover it.
How to enable
Open the agent's settings page (/app/agents/{id}/settings),
find the Strict Knowledge Mode section, and toggle
Only answer from my knowledge. The change takes effect
immediately β there's no separate publish step.
Strict mode is on by default: every agent that existed when this shipped was switched on, and the "create agent" form defaults the toggle on for new agents. You can turn it off per agent at any time.
The three ways it responds
On every question the agent picks exactly one of three behaviours:
- Answer β the sources contain the answer, so it answers directly.
- Decline & redirect β the question is clearly outside what your business does ("do you sell steaks?" / "do you rent boats?" on a self-storage site). The agent leads with a plain "no" about the specific thing asked, then briefly points the visitor to what you do offer, using only your sources: "No, we don't rent boats β Alles Opslaan Meppel specializes in storage units and boxesβ¦" It deliberately does not deflect into a generic "book now" / "contact us" message in place of answering (even when the question shares a verb like "rent" with what you offer). This keeps the conversation moving and is not a knowledge gap β there's nothing missing to add β and it never invents the thing it pivots to.
- Defer β the question is plausibly about your business but your sources don't cover it (a missing price, policy, location, or detail). Rather than guess, the agent replies with the fixed fallback message verbatim, and that question is logged as a content gap β the backlog of knowledge worth adding. When it's unsure whether a question is out-of-scope or a real gap, it errs toward deferring. A deferral is deliberately quiet: it shows no booking/CTA button β "I can't confirm that, contact the company" shouldn't be paired with a "book now" nudge. (The lead-capture prompt still appears, since an unanswered question is a good moment to take the visitor's email.)
So only case 3 creates a content gap. Out-of-scope questions (case 2) stay out of the gaps queue on purpose β you're never going to add "we sell steaks" to your knowledge base, so it would just be noise.
A safety net sits underneath: if retrieval returns nothing at all (an empty or very sparse knowledge base, no live page snapshot), the agent defers without calling the model and logs the gap. A live page snapshot counts as grounding, so the agent answers from it normally. Curated answers, workflows, and the "talk to a human" shortcut all run before strict mode, so none are blocked by it.
The fallback message
You can set a custom fallback per agent in the settings field. When it's left blank, the agent resolves a default in this order:
- The agent's own
strict_fallback_message, if set. - A built-in default in the agent's default language (e.g. Dutch for a
nlagent). - The global English default: "I can't confirm that based on the available information. Please contact the company for more information."
Keep it warm and forward-looking β point the visitor at a contact route (email, phone, or the "talk to a human" button) so a deferral still moves the conversation forward.
Deferrals feed the self-improvement loop
Every strict-mode deferral is recorded as a content gap β the visitor's exact question, clustered and counted. The most frequently deferred questions rise to the top of the gaps list, so strict mode doubles as a backlog of the knowledge your agent is missing. Answer a gap once and that question stops deferring.