n8n Agent Node
n8n's native LangChain-powered Agent node, which lets visual workflow builders embed an LLM agent loop inside any n8n automation.
Last updated: April 26, 2026
What Is n8n Agent Node?
n8n is one of the leading open-source workflow automation platforms (think Zapier, but self-hostable and code-friendly). The Agent node is n8n's native AI agent execution layer, powered under the hood by LangChain. It accepts a model, tools (any n8n action becomes a tool), memory, and a system prompt, then runs the agentic loop inside the workflow. The node lets non-engineers build agents that are tightly integrated with the rest of their automation: an n8n agent can read from a webhook, query a database, call an LLM, transform the result, and push to Slack, all in one workflow.
When Should You Use n8n Agent Node?
Use the n8n Agent node when AI is one step in a larger automation workflow. Skip when the agent itself is the product (use a code-first framework like LangGraph or Pydantic AI for that).
Sources
Related Terms
Building with n8n Agent Node?
I've shipped this pattern in real production systems. If you want a second pair of eyes on your architecture, that's what I do.