Knowledge Search Agent

The Knowledge Search Agent runs a search over one or more connected data sources and returns a ranked set of passages with source references that downstream agents can cite.

Use Cases

  • Your AI Employee needs to retrieve information from uploaded documents, connected data sources, or indexed content.
  • You are building a FAQ bot, policy lookup, or documentation search.
  • You need grounded answers backed by source documents.

Inputs

InputRequiredDescription
QueryYesThe search text.
Data SourcesNoThe knowledge bases to search. Usually wired at config time, can also be overridden per run.
Filter by FilenameNoComma separated file names to restrict the search to specific documents. Quoted names containing commas are supported.

Outputs

OutputDescription
Search ResultsA ranked list of passages. Each entry carries the text snippet, a reference to the source document, and a relevance score used for ranking downstream.

Advanced Configurations

ParameterDescriptionDefault
Number of Search ResultsHow many results to fetch from each connected data source before ranking.10
Max SourcesMaximum number of source documents included in the final output after ranking.10
Max Chunks per ResultMaximum number of content chunks pulled from each matched document.5
Number of Previous ChunksNeighboring chunks to include before each match, for surrounding context.0
Number of Next ChunksNeighboring chunks to include after each match, for surrounding context.0
Disable ImagesTurns off image retrieval. When off, image results are returned alongside text passages.Off
Max ImagesMaximum number of image results returned per match.5
Enable Filtering by Document Validity DatesOnly returns documents whose validity window covers the current date.Off

How to Use This Agent

The standard search and respond pattern:

chat_trigger -> knowledge_search -> respond_agent -> workflow_output

With conversation context for multi-turn:

chat_trigger -> conversation_summarizer -> knowledge_search -> respond_agent -> workflow_output

Last updated: Jul 3, 2026