Combine Search Results Agent

The Combine Search Results agent merges search results from multiple upstream search agents into a single, deduplicated, and weighted result set. Use it when a workflow searches across several knowledge bases or search strategies and needs to present unified results to a downstream response agent.

Use Cases

  • Your workflow runs multiple Knowledge Search agents against different data sources in parallel.
  • You need to deduplicate and rank results from heterogeneous sources.
  • You want to assign different weights to different sources (e.g., internal docs weighted higher than web results).

Inputs

InputTypeDescription
search_results_1SearchResultsResults from the first search agent.
search_results_2SearchResultsResults from the second search agent.
search_results_NSearchResults(Optional) Additional result sets. Accepts any number of named search result inputs.

Outputs

OutputTypeDescription
combined_resultsSearchResultsThe merged, deduplicated, and ranked result set.

Configurations

ParameterDescriptionDefault
weightsPer-source weight multipliers for ranking. Higher weight = higher priority.Equal weights
max_resultsMaximum number of results in the combined output.10

How to Use This Agent

Search both an internal HR knowledge base and a public benefits FAQ, then combine:

chat_trigger -> knowledge_search_hr --------\
 -> knowledge_search_benefits ----> combine_search_results -> respond_using_search_results -> workflow_output

Last updated: Jul 3, 2026