# 🕵️ Agents

#### 1)Conversational Agent

Agent used to handle conversations using chat models.

**Setup**&#x20;

* Agents > drag **Conversational Agent** node
* Configure the required parameters in the agent node
* Select the **Chat Model**
* Connect **Allowed Tools** if tool usage is required
* Connect **Memory** if conversation history needs to be stored
* Connect **Input Moderation** for filtering user inputs

You can now use the **Conversational Agent node in THub**.

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

• Allowed Tools can be connected with any node under **Tools category**\
• Chat Model can be connected with any node under **Chat model category**\
• Memory can be connected with any node under **Memory category**\
• Input Moderation can be connected with any node under **Moderation category**

The Conversational Agent enables natural language interaction between users and AI systems. It processes user queries, maintains conversation context, and generates meaningful responses using connected chat models.

#### Features

• Natural language conversation handling\
• Context-aware responses\
• Integration with external tools\
• Support for conversational workflows

#### 2)OpenAI Assistant

Agent used to interact with OpenAI assistants for automated task execution.

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

• Allowed Tools can be connected with any node under **Tools category**\
• Input Moderation can be connected with any node under **Moderation category**

The OpenAI Assistant enables users to integrate OpenAI-powered assistants into workflows. It helps automate tasks, generate responses, and perform intelligent operations using advanced language models.

#### **Features**

• AI-powered task automation\
• Natural language understanding\
• Seamless assistant integration\
• Efficient response generation

#### 3)React Agent for Chat Models

Agent that uses the React logic to decide what action to take, optimized to be used with Chat Models.

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

• Allowed Tools can be connected with any node under **Tools category**\
• Chat Model can be connected with any node under **Chat model category**\
• Memory can be connected with any node under **Memory category**\
• Input Moderation can be connected with any node under **Moderation category**

React Agent Chat focuses on interactive and reactive conversations, providing dynamic responses based on user inputs.

#### Features

• Reasoning and action-based execution\
• Tool integration for complex tasks\
• Context handling with memory\
• Improved problem-solving capability

#### 4)React Agent LLM

Agent that uses the React logic to decide what action to take, optimized to be used with LLMs.

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

• Allowed Tools can be connected with any node under **Tools category**\
• Language Model can be connected with any node under **Language model category**\
• Input Moderation can be connected with any node under **Moderation category**

React Agent LLM leverages large language models for complex and context-aware interactions.

#### Features

• Reasoning and action-based task execution\
• Integration with language models\
• Tool-enabled problem solving\
• Improved workflow automation

#### 5)Tool Agent

Agent that uses Function Calling to pick the tools and args to call.

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

&#x20;

• Tools can be connected with any node under **Tools category**\
• Memory can be connected with any node under **Memory category**\
• Tool Calling Chat Model can be connected with any node under **Chat model category**\
• Input Moderation can be connected with any node under **Moderation category**

The Tool Agent integrates and automates various tools and services to streamline workflows and enhance productivity.

#### Features

• Tool calling capability\
• Integration with external systems\
• Customizable prompt templates\
• Enhanced task automation


---

# 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.thub.tech/langchain/agents.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.
