# Integrated Agent

In this section, we will demonstrate how to use the **Supervisor Node** within the **Multi-Agent** framework to flexibly orchestrate the two previously created agents—the **Web Search Agent** and the **Knowledge-Based QA Agent**. This enables a combined capability that leverages both internet-based search and internal knowledge retrieval to deliver more comprehensive answers.

## Overview of Flow Structure

<figure><img src="/files/AUzxEJlJdN0N7p83yflQ" alt=""><figcaption></figcaption></figure>

Under the default Multi-Agent configuration, you can directly utilize both agents by adding them to the **Supervisor Node**’s management scope. For detailed steps on how to add agents, please refer to the *Multi-Agent* section.

## Output Preview

<figure><img src="/files/OXhtY2fBx6feB6Qy3v54" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/Urzowh8KN9ayWtNf91Fx" alt=""><figcaption></figcaption></figure>

Once the configuration is complete, users can input a natural language question, and the system will automatically route it to the appropriate agent:

* If the question is related to **WorkFX**, the **Knowledge QA Agent** will be triggered to generate an answer based on the internal knowledge base.
* If the question requires **general web search**, the **Web Search Agent** will be used to retrieve information from the internet.
* The final output will be presented in a unified format, ensuring users receive accurate and relevant answers.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.workfx.ai/workfx-1.1.x-english/integrated-agent.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
