B Blengi docs

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.

Why this exists
A sales bot answers as your business. Without strict mode, a question like "do you offer moving services?" on a storage-rental site can produce a confident, entirely fabricated "yes β€” we offer packing and trucks too." Strict mode makes that impossible. What it does instead is honest and still helpful: it gives a grounded "no β€” we don't offer moving; we rent self-storage units" and never makes up an offering it can't find in your sources.

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:

  1. Answer β€” the sources contain the answer, so it answers directly.
  2. 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.
  3. 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.

Rehearse the whole loop in the Playground
A strict deferral in the Playground now logs a Content Gap too, so you can test the full self-improvement loop β€” defer β†’ gap β†’ notification β†’ one-click Create knowledge β†’ auto-resolve β€” without touching your live site. Billing and conversation analytics still skip Playground runs; only the gap (a knowledge-coverage signal) is recorded, and it dedupes by question with real visitor gaps.
A sparse knowledge base will defer often
Strict mode is only as good as what you've indexed. If the agent defers on questions it should be able to answer, add the missing pages as knowledge sources or pin a curated answer β€” don't lower the threshold to paper over a gap.

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:

  1. The agent's own strict_fallback_message, if set.
  2. A built-in default in the agent's default language (e.g. Dutch for a nl agent).
  3. 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.