AI Agent
The AI Agent node lets you build an AI agent in n8n. Connect a chat model and one or more tools, and the agent decides which tools to call to complete a task.
An 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 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.
Templates and examples
Browse n8n-nodes-langchain.agent integration templates or search all templates
Related resources
Refer to LangChain's documentation on agents for more information about the service.
New to AI Agents? Read the n8n blog introduction to AI agents.
To connect a registry MCP server as a tool with one click, see MCP servers.
View n8n's Advanced AI documentation.
Common issues
For common errors or issues and suggested resolution steps, refer to Common Issues.
Last updated
Was this helpful?