Skip to content

Commit d3a88a9

Browse files
authored
Update AI agent (#3006)
1 parent 4636bee commit d3a88a9

File tree

1 file changed

+4
-24
lines changed
  • docs/integrations/builtin/cluster-nodes/root-nodes/n8n-nodes-langchain.agent

1 file changed

+4
-24
lines changed

docs/integrations/builtin/cluster-nodes/root-nodes/n8n-nodes-langchain.agent/index.md

Lines changed: 4 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -8,36 +8,16 @@ priority: critical
88

99
# AI Agent node
1010

11-
An [AI agent](/glossary.md#ai-agent) is an autonomous system that receives data, makes rational decisions, and acts within its environment to achieve specific goals. The AI agent's environment is everything the agent can access that isn't the agent itself, which might include customer queries, tools, or other context.
12-
13-
The AI Agent node gives you six LangChain agent options.
14-
15-
On this page, you'll find a summary of the available agents with links to more detailed pages on each, templates and examples, and links to more resources.
11+
An [AI agent](/glossary.md#ai-agent) is an autonomous system that receives data, makes rational decisions, and acts within its environment to achieve specific goals. The AI agent's environment is everything the agent can access that isn't the agent itself. This agent uses external [tools](/glossary.md#ai-tool) and APIs to perform actions and retrieve information. It can understand the capabilities of different tools and determine which tool to use depending on the task.
1612

1713
/// note | Connect a tool
1814
You must connect at least one tool [sub-node](/integrations/builtin/cluster-nodes/sub-nodes/index.md) to an AI Agent node.
1915
///
2016

21-
## Available agents
22-
23-
n8n provides these agents:
24-
25-
* [**Tools Agent**](/integrations/builtin/cluster-nodes/root-nodes/n8n-nodes-langchain.agent/tools-agent.md) (default): This agent uses external [tools](/glossary.md#ai-tool) and APIs to perform actions and retrieve information. It can understand the capabilities of different tools and determine which tool to use depending on the task. This agent helps integrate LLMs with various external services and databases.
26-
27-
/// note | Begin here
28-
n8n recommends using this agent for most use cases. It will handle most scenarios and provides the best experience when working with [tools](/advanced-ai/examples/understand-tools.md).
29-
///
30-
31-
* [**Conversational Agent**](/integrations/builtin/cluster-nodes/root-nodes/n8n-nodes-langchain.agent/conversational-agent.md): This agent has human-like conversations. It can maintain context, understand user intent, and provide relevant answers. This agent is typically used for building chatbots, virtual assistants and customer support systems. If your preferred AI model doesn't support tool calling or you're handling simpler interactions, this agent is a good option.
32-
* [**OpenAI Functions Agent**](/integrations/builtin/cluster-nodes/root-nodes/n8n-nodes-langchain.agent/openai-functions-agent.md): Use this agent with an [OpenAI functions model](https://platform.openai.com/docs/guides/gpt/function-calling){:target=_blank .external-link}. You must use the [OpenAI Chat Model](/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.lmchatopenai/index.md) with this agent.
33-
* [**Plan and Execute Agent**](/integrations/builtin/cluster-nodes/root-nodes/n8n-nodes-langchain.agent/plan-execute-agent.md): This agent creates a high-level plan to solve the given task and then executes the plan step by step. It's most useful for tasks that require a structured approach and careful planning.
34-
* [**ReAct Agent**](/integrations/builtin/cluster-nodes/root-nodes/n8n-nodes-langchain.agent/react-agent.md): This agent reasons about a given task, determines the necessary actions, and then executes them. It follows the cycle of reasoning and acting until it completes the task. The ReAct agent can break down complex tasks into smaller sub-tasks, prioritise them, and execute them one after the other.
35-
36-
/// note | No memory
37-
The ReAct agent doesn't support memory sub-nodes. This means it can't recall previous prompts or simulate an ongoing conversation.
38-
///
17+
/// note | Agent type
18+
Prior to version 1.82.0, the AI Agent had a setting for working as different agent types. This has now been removed and all AI Agent nodes work as a `Tools Agent` which was the recommended and most frequently used setting. If you're working with older versions of the AI Agent in workflows or templates, as long as they were set to 'Tools Agent', they should continue to behave as intended with the updated node.
19+
///
3920

40-
* [**SQL Agent**](/integrations/builtin/cluster-nodes/root-nodes/n8n-nodes-langchain.agent/sql-agent.md): This agent uses a SQL database as a data source. It can understand natural language questions, convert them into SQL queries, execute the queries, and present the results in a user-friendly format. This agent is valuable for building natural language interfaces to databases.
4121

4222
## Templates and examples
4323
<!-- see https://www.notion.so/n8n/Pull-in-templates-for-the-integrations-pages-37c716837b804d30a33b47475f6e3780 -->

0 commit comments

Comments
 (0)