
An intelligent, autonomous agent designed to build, verify, and update n8n workflows through natural language.
n8n Agent AI is an intelligent, autonomous agent designed to build, verify, and update n8n workflows through natural language.
Instead of manually dragging and dropping nodes, users can simply describe the automation they need (e.g., "Create a workflow that fetches unread emails from Gmail and posts them to a Slack channel"). The agent intelligently queries a vector database of n8n node documentation, generates the workflow JSON, verifies its syntax, self-corrects using an LLM Critic, and streams the entire process back to the user in real-time.

*The n8n Agent AI streaming its internal thought process and generating workflows.*

*The fully deployed and syntax-verified workflow running inside n8n.*
Powered by the Vercel AI SDK and Gemini models, the agent doesn't just guess n8n JSON structures. It uses a Retrieval-Augmented Generation (RAG) approach to fetch the exact schema and parameter requirements for requested nodes, ensuring high-fidelity outputs.
The agent operates using a robust pipeline to guarantee workflow validity:
pgvector) to pull exact documentation for the requested integration nodes.Gone are the days of staring at a loading spinner. The backend pipeline is fully streamed to the frontend via Server-Sent Events (SSE). Users can watch the agent's internal "thinking" process in real-time—seeing when it retrieves data, when it verifies syntax, and when it deploys.
Deeply integrated with Laminar AI, every step of the agent's pipeline—from intent classification to final generation—is traced and logged. This ensures complete observability into latency, token usage, and LLM decision-making.
gemini-3.5-flash / gemini-2.5-flash)pgvectorPublished on