Flow.Documentation

Agent tool: knowledge base

3 steps± 2 minVideoVerified 22 Oct 2026
  1. Step 1 · Open your development environment
  2. Step 2 · Give the agent the knowledge base
  3. Step 3 · Try it with a question

Give an agent a knowledge base and it gets a search tool: it looks up the matching chunks itself when a question calls for it, and cites the source. It may only read the knowledge base. Documents set to Always include are given to it in full with every question.

Watch the whole guide as a video3 steps in one film
Step 1 / 3

Open your development environment

In the portal, under Environments, click Development, and there Open. Flow opens in a new tab and you are signed in straight away.

  1. Click Development
Open your development environment · Click Development
  1. Click Open ↗
Open your development environment · Click Open ↗
Step 2 / 3

Give the agent the knowledge base

Open the agent. Under Brain → Knowledge bases, click the knowledge base; the number is its number of documents. The knowledge base's description tells the agent when to search it. Save: the top then says in plain language that the agent searches it and cites the sources.

  1. Click Agents
Give the agent the knowledge base · Click Agents
  1. Click the agent ‘Rental desk’
Give the agent the knowledge base · Click the agent ‘Rental desk’
  1. Click Rental bikes
Give the agent the knowledge base · Click Rental bikes
  1. Click Save
Give the agent the knowledge base · Click Save
Give the agent the knowledge base · ‘Searches 1 knowledge base and cites the sources.’
Step 3 / 3

Try it with a question

Under Try, ask a question and click ▶ Try. Under What happened you see the search in the knowledge base as a tool, marked Reads; the answer comes from the document.

  1. Click Try
Try it with a question · Click Try
  1. In Input, type {"question": "How much is the deposit?"}
Try it with a question · In Input, type {"question": "How much is the deposit?"}
  1. Click ▶ Try
Try it with a question · Click ▶ Try
Try it with a question · The tool search_… in the timeline.
Try it with a question · The answer, with the 50-euro deposit from the document.

This guide was carried out step by step on 22 Oct 2026 by an automated test on Flow (version 3e563176).