> For the complete documentation index, see [llms.txt](https://docs.thub.tech/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.thub.tech/langchain/agents.md).

# 🕵️ Agents

Autonomous AI components that dynamically select and use tools to solve complex tasks based on user inputs.

#### 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="https://1720595571-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxWXmt1Z68dgle5JORrEw%2Fuploads%2FUj8tMO74vy6pujorIFaI%2FScreenshot%202024-07-04%20112329.png?alt=media&amp;token=3c5441ce-8a65-4424-b1b7-332ef654884a" 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="https://1720595571-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxWXmt1Z68dgle5JORrEw%2Fuploads%2FwlqqxCjqeqrABXVsT2aZ%2FScreenshot%202024-07-04%20113610.png?alt=media&amp;token=bc6ed2ed-cd28-4ce7-8e56-7b388730bf0d" 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="https://1720595571-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxWXmt1Z68dgle5JORrEw%2Fuploads%2FFNzrQNGFrwlT6WTVMTbK%2FScreenshot%202024-07-04%20114319.png?alt=media&amp;token=ce1a5bf4-04fa-4e47-bf9f-775d2887c2d1" 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="https://1720595571-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxWXmt1Z68dgle5JORrEw%2Fuploads%2Ftds7Gq10hgd3iI3KeI2I%2FScreenshot%202024-07-04%20114432.png?alt=media&amp;token=2c72916a-3b9c-4015-b003-a235a40187f5" 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="https://1720595571-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxWXmt1Z68dgle5JORrEw%2Fuploads%2FksPxIEg2DovF4YvcRX1g%2FScreenshot%202026-03-12%20174224.png?alt=media&amp;token=0dea7eca-aa3c-4ff1-9b42-4f3897a6a1f0" 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
