Skip to main content
Back to How-to Guides The Agent Node uses Search AI as a retrieval engine. When a user asks a question, the Agent Node queries Search AI across indexed websites and PDFs, retrieves relevant snippets, and generates an answer. The answer is stored in session memory. For follow-up questions, the Agent Node combines the stored answer with new Search AI results, producing consistent, multi-turn responses grounded in your verified content.

Prerequisites

Setup

Step 1: Configure Search AI

Index your content in Search AI:

Step 2: Create a Dialog and Configure the Agent Node

  1. Create a new dialog.
  2. Add an Agent Node to the dialog. Select your model and tool calling prompt.
  3. Add a System Context that instructs the model to use Search AI results. For example:
    Use Search AI results as the primary source of truth. Generate accurate answers using the website and PDF content. Consider the previous answer when generating responses to follow-up questions.
  4. In the Tools section, enable Search AI and specify the response path. For example:
    context.SearchAINode.{{SearchAInodename}}.response.answer
    
  5. Test the flow in the Playground to verify accurate, context-aware responses.