AI Agent & LangChain in n8n

From the n8n cheat sheet ยท AI Features ยท verified Jul 2026

AI Agent & LangChain

Build AI-powered workflows with LLMs

yaml
# AI Agent Node
- Root node for autonomous AI decisions
- Powered by LLMs (OpenAI, Claude, Gemini, etc.)
- Can select tools, maintain conversation context
- Native LangChain integration

# Supported LLMs
- OpenAI (GPT-4, GPT-3.5)
- Anthropic (Claude 3)
- Google (Gemini, Vertex AI)
- Groq (Llama, Mixtral)
- Ollama (local LLMs)
๐Ÿค– Native LangChain integration built-in
๐Ÿ’ก Use Ollama for free local LLM execution
๐Ÿ“Œ Workflow Tool lets AI agent trigger n8n workflows
โšก Use memory sub-nodes for multi-turn conversations
Back to the full n8n cheat sheet