← All posts

Essay · July 2026

AI Agents vs n8n: Where Building Your Own Agent Ends

Yes, you can build an AI agent in n8n — the AI Agent node, tools, memory and evaluations are real, and executions pricing is honest. The gap isn't the node; it's owning the production discipline around it: evals, guardrails, observability, and the DevOps of self-hosting.

Yes, you can build an AI agent in n8n — the AI Agent node, tools, memory and evaluations are real, and executions pricing is honest. The gap isn't the node; it's owning the production discipline around it: evals, guardrails, observability, and the DevOps of self-hosting.

We'll say this up front so you know where we stand: we're a two-engineer studio, we run n8n, and we like it. This isn't a takedown. n8n is one of the most honest tools in automation — fair-code, self-hostable, and priced in a way that doesn't punish you for building complex workflows. If you're a CTO or a solo automator who's comfortable with code and wants your data on your own servers, n8n deserves a serious look.

This article is about one question technical buyers keep asking us: "n8n has AI Agent nodes now — why pay a studio to build an agent when I can wire one up myself?" The honest answer is: often you shouldn't. But "wiring up an agent" and "running an agent in production" are two different engineering problems, and the distance between them is where most DIY AI projects quietly stall. Let's map that distance without marketing.

Quick Comparison: Tool vs. Responsibility for the Outcome

The real axis isn't feature-versus-feature. It's who owns the result.

n8n (self-hosted / Cloud)

Grow2.ai agent

What you get

A powerful tool + AI Agent node you assemble and operate

A built, owned agent + the discipline around it

Control

Full — self-hosted, your data, your servers

Managed; the code and logic are yours, we operate them

Pricing model

Per execution (steps not counted) or free Community

Fixed pilot + monthly, tied to a KPI

Who holds evals & regressions

You

Us, contractually

Who's on call at 2 a.m.

You

Us

Time to first value

However long your build takes

14 days against a KPI, or you don't pay

Neither column is "better." They're different trades. n8n trades money for control and your time. A studio trades some control for a contractual outcome and someone else's pager. The rest of this article is about knowing which trade you're actually making.

What n8n Gets Right (and We Won't Pretend Otherwise)

Four things n8n does genuinely well, verified against its docs:

The executions pricing model is honest. n8n bills per workflow execution — the whole run — not per step or action. A 3-node workflow and a 40-node workflow cost the same one execution. Next to per-task (Zapier) or per-credit (Make) models, complexity doesn't quietly inflate your bill. On Cloud that's 2,500 executions on Starter (€20/mo) and 10,000 on Pro (€50/mo), with unlimited users on every plan. That's a real advantage and we'll say so plainly.

Fair-code and self-hosting mean real data control. n8n's Community edition is free to self-host with unlimited executions. Its Sustainable Use License lets you use it for internal business purposes and build workflows for clients as a consultant, with no separate agreement. (It's fair-code, not OSI open source — you can't white-label it or resell it as a hosted service. For internal use and client work, you're clear.) If your data must stay on-prem for regulatory or trust reasons, self-hosted n8n gives you actual control, not a checkbox.

The AI Agent node is real, not a demo. In current versions the AI Agent node runs as a Tools Agent implementing LangChain's tool-calling interface. You connect a chat model (OpenAI, Anthropic, Groq, Mistral, Azure OpenAI), attach from 150+ tools (HTTP, Code, Postgres, Slack, Google Sheets, your own sub-workflows), and it decides which to call. It supports structured output parsers, streaming, human-in-the-loop approval gates for sensitive actions, and a configurable iteration limit. This is a legitimate agent runtime.

n8n even ships evaluations. This matters, so let's be precise: n8n added an Evaluations feature. You can run a test dataset through your workflow and score outputs with built-in metrics — Correctness and Helpfulness (judged by an LLM on a 1–5 scale) and Tools Used (a deterministic check of the tool sequence). That's more than most no-code platforms offer. So no, we won't tell you "n8n can't do evals." It can.

So if n8n does all that — where's the gap?

Building an Agent in n8n: How Far It Actually Goes

Here's the honest technical picture. In an afternoon, a competent engineer can stand up an n8n workflow with an AI Agent node, a chat model, a few tools, and a Chat Trigger. It'll answer questions, call your APIs, and look sharp in a demo. For a stable internal task — "summarize these tickets and file them," "answer FAQ from this doc" — that might genuinely be all you need. Ship it.

The limits show up when the agent has to remember, behave, and survive contact with real users.

Memory is buffered, not persistent — by default. The Simple Memory node keeps conversation context in-process, and n8n's own docs are explicit: "memory doesn't persist between sessions." Worse for production, Simple Memory doesn't work in queue mode — n8n can't guarantee the same worker handles each call once you scale to multiple workers. Persistent memory is available, but it means wiring up a Postgres, Redis, or MongoDB chat-memory node and running that datastore yourself. Which is fine — it's just the first place "I'll build it myself" turns into "I now operate a database."

Tools get called, but edge cases don't handle themselves. The agent will happily call a tool with malformed input, loop until it hits the iteration cap, or answer confidently from stale context. Handling the messy middle — retries, fallbacks, "I don't know," escalation to a human — is workflow logic you design, test, and maintain. The node gives you the engine; the guardrails are yours to build.

None of this is a knock on n8n. It's the difference between an agent runtime and a production agent.

The Production Gap: What Doesn't Fit in a Workflow

This is the part that never shows up in a demo and always shows up in production. We know because we run it: an e-commerce agent we built has handled 6,400+ real customer dialogues, and a finance platform we shipped is 326 commits and ~52,800 lines of TypeScript with 838 tests, serverless on Cloudflare Workers. Production has a texture that "wire up the node" doesn't prepare you for.

Evaluations are a practice, not a node. n8n gives you the evaluation instrument, and it's a good one. But an eval node isn't an eval discipline. Who curates the dataset of real failures? Who runs the regression suite every time someone tweaks the prompt? Who notices when the model provider ships a new version and your correctness score quietly drops three points? The gap was never "n8n lacks evals." It's that evals are an ongoing job someone owns — on every prompt change, forever.

Guardrails have to be structural. In our production e-commerce agent, every outgoing message passes a compliance reviewer — a second model that can only delete off-brand or non-compliant fragments. It physically cannot add a claim, a discount, or a promise. A reviewer that can only delete cannot hallucinate a new one. That's an architectural decision, tested and monitored — not a system-prompt line that says "please stay on brand."

Observability is the difference between "it broke" and "here's why." Every dialogue in that agent runs through self-hosted observability (Langfuse): we see what the customer asked, what the agent retrieved, what the reviewer cut, how long each step took, and what it cost — roughly €0.10 per dialogue, median reply 13 seconds. When something goes wrong at dialogue 4,000, that trace is the difference between a five-minute fix and a lost weekend. n8n shows you execution logs; production-grade agent observability — per-step traces, cost, latency, retrieval inspection — is another system you stand up and maintain.

Every one of these is buildable in or alongside n8n. The question is never "can it be done?" It's "who is going to build, test, watch, and fix it — for as long as the agent runs?"

The Real Cost of Self-Hosting, in EUR

Let's do the math the way an engineer actually should. The license fee is the smallest line.

n8n Community, self-hosted: €0 license. Add infrastructure — a VPS plus the Postgres or Redis you now run for persistent memory — realistically somewhere in the €20–80/month range for a small-to-mid setup. Then the line that dominates: your engineer's time. The initial build of a real agent — with memory, guardrails, an eval harness, and observability — is a multi-week effort, not an afternoon. Then it's ongoing: n8n ships breaking changes (v2.0 disabled several node types by default and dropped MySQL/MariaDB, forcing a Postgres migration; expression syntax has changed between minor versions), self-hosted instances get security patches only for a limited window after a major release, and every model-provider update is a potential regression. Put your own blended rate against a handful of maintenance hours a month plus that build, and the "free" tool carries a very real four-figure setup cost and a recurring one. We're not quoting a survey — plug in your rate and your hours. The only point is that the invoice from n8n is not the cost of the agent.

n8n Cloud removes the patching and hosting toil: Starter €20/mo (2,500 executions), Pro €50/mo (10,000), Business €667/mo (40,000, with SSO, Git, environments). You still build and own the agent logic, evals, and guardrails yourself.

A Grow2.ai pilot is €1,800 against a KPI you agree up front, delivered in 14 days — miss the KPI and you don't pay — then €49–149/month. That number buys the built agent and the discipline around it: the eval suite, the delete-only guardrail, the observability, the on-call. The honest framing isn't "€20/mo vs €1,800." It's "your engineering time and risk vs. a fixed price against a contractual outcome." If you're weighing this against hiring devs to build from scratch, our AI agents vs custom development breakdown runs the same math.

When to Choose Which — Plainly

No hedging. Three profiles:

Choose n8n + your own agent when you have an engineer (or you are one) who can own the LLM layer, your process is stable and well-understood, and your data must live on your own servers. If that's you, n8n is genuinely the right call — self-host it, wire up Postgres memory, build your eval and guardrail logic, keep full control. We mean this.

Choose a studio (like us) when you don't have someone in-house to own evals, guardrails, and on-call; you need a contractual KPI and value in weeks, not a research project; you're serving customers across multiple channels (our e-commerce agent runs on Instagram, Viber, and Telegram, with two-thirds of dialogues on Instagram alone); and you'd rather someone else hold the pager when a node update breaks the agent.

Choose neither yet when your task is deterministic and has no unstructured input — a scheduled sync, a form-to-CRM flow. You may not need an agent at all; a no-code tool is enough. See AI agents vs Zapier and AI agents vs Make.

Decision Tree

  • Need to handle unstructured input? (messages, photos, voice)
  • No → A no-code tool is enough (Zapier / Make)
  • Yes → Have an engineer to own the LLM layer long-term? (evals, guardrails, memory, observability, on-call)
    • Yes → Process stable AND data must stay on your servers?
    • Yes → Self-hosted n8n + your own agent — the honest pick
    • No / unsure → n8n Cloud + your agent, or a studio pilot
    • No → Need a contractual KPI and value in weeks?
    • Yes → Studio pilot against a KPI (14 days, no-pay if missed)
    • No → Start with an AI audit

Recommendation

If you're technical, love your stack, and want control — build it in n8n. Genuinely. Start with the AI Agent node, wire persistent memory, and treat evals, guardrails, and observability as first-class from day one, not afterthoughts. That last clause is the whole article: the platform was never the hard part. Still deciding the platform itself? Our guide to choosing an AI agent platform for SMB and the AI agents for business hub go deeper.

If you'd rather own the outcome than the operation — that's what we do. We build a custom front-office agent against a KPI you set, in 14 days, and if it misses you don't pay.

Not sure which side you're on? Take the 2-minute AI audit or talk to us — we'll tell you honestly whether to build it in n8n or let us own it against a KPI.

Frequently asked questions

Can I build an AI agent in n8n?

Yes. n8n's AI Agent node runs as a Tools Agent using LangChain's tool-calling interface — connect a chat model (OpenAI, Anthropic, Groq, Mistral, Azure OpenAI), attach tools, add memory, and it works. For stable internal tasks it may be all you need. The harder part is everything around the node: persistent memory, guardrails, evaluations, and observability in production.

Is n8n good for production AI agents?

It can be, with engineering investment. n8n gives you a real agent runtime and even ships an Evaluations feature. But production-grade means owning an eval discipline, structural guardrails, persistent memory (via a Postgres or Redis node you run), and per-step observability — none of which are automatic. If you have an engineer to own that, yes. If not, the runtime alone won't get you there.

What does n8n's fair-code license allow?

n8n uses the Sustainable Use License — fair-code, not OSI open source. You can self-host and use it for internal business purposes for free, and build workflows for clients as a consultant with no separate agreement. What you can't do is white-label it or resell it as a hosted service to third parties. For internal use and client work, you're clear.

How much does self-hosted n8n really cost?

The license is €0 (Community edition). The real cost is infrastructure — a VPS plus the Postgres or Redis you run for persistence, often €20–80/month — plus engineer time: the multi-week initial build and ongoing maintenance through n8n's breaking changes and model updates. The subscription is cheap; the engineering around the agent is the actual cost.

Does n8n's AI Agent remember conversations?

Not by default. The Simple Memory node keeps context in-process and, per n8n's docs, "doesn't persist between sessions" — and it doesn't work in queue mode once you scale to multiple workers. For memory that survives restarts and scaling, you connect a Postgres, Redis, or MongoDB chat-memory node and run that datastore yourself.

When is a studio better than building in n8n myself?

When you don't have an engineer to own the LLM layer long-term, when you need a contractual KPI and value in weeks, or when you're serving customers across live channels and can't afford the agent going quiet. A studio delivers the built agent plus the evals, guardrails, observability, and on-call — as a fixed price against an outcome. --- *Published by Andrew Maryasov, founder of Grow2.ai — custom AI agents for SMB front office.*