Skip to content
TheAgent Ecosystem
Ai Tools

I Built the Same AI Agent in n8n, Make and LangChain: The Honest Difference

One order-status agent. Three platforms. Four axes that actually decide which to use.

Muhammad Qasim HammadAI-assisted10 min read1,936 words

AI-drafted, reviewed by Muhammad Qasim Hammad on June 14, 2026. See our AI disclosure.

Comparison of AI agent builds across n8n, Make.com, and LangChain showing platform, hosting, and cost trade-offs
Table of contents
  1. How I Built the Same AI Agent in n8n, Make, and LangChain
  2. Build 1: The Agent in n8n
  3. Build 2: The Agent in Make.com
  4. Build 3: The Agent in LangChain
  5. The 4-Axis Verdict: Where Each Platform Actually Wins
  6. How Solopreneurs Get This Decision Wrong
  7. Where to Go From Here

You want to build an AI agent, but every platform comparison you find lists features instead of showing you the actual build. This post builds the identical agent three ways, in n8n, Make.com, and LangChain, then tells you exactly what each trade-off costs you.

The symptom: you pick a platform based on a blog post feature table, spend two hours wiring it up, and only then discover the billing model punishes loops, or that you can't export the workflow, or that you needed Python all along. Three wasted hours and a half-built agent.

The agent spec I used is deliberately small: an order-status triage agent. Input: a customer message like "Where's my order #1234?" The agent has one tool, lookup_order(order_id), and must decide whether to call it, then write a short reply. One tool. Genuinely agentic (the model decides to call the tool). This spec is concrete enough to be real and simple enough to be apples-to-apples across all three platforms.

How I Built the Same AI Agent in n8n, Make, and LangChain#

Building the same agent in n8n, Make.com, and LangChain shows that the platforms share the same logic but differ sharply on setup effort, hosting model, and cost structure. n8n takes roughly 4 nodes, Make takes 4-5 modules, and LangChain takes about 10 lines of Python. The agent logic is identical; the platform wrapper is where the differences live.

The comparison below is not a stopwatch race. Build times vary by familiarity. What I can verify and you can replicate: node/module count, lines of code, and the structural decisions each platform forces on you.


Build 1: The Agent in n8n#

n8n's AI Agent node is a cluster node: you attach sub-nodes for the model, memory, and tools, and it runs the agent loop for you internally. For this order-status spec you need exactly four nodes total, plus one tiny tool function that the agent can call when it sees an order ID.

Here is the full wiring:

  1. Add a Webhook or Chat trigger node as the input.
  2. Drop in the AI Agent node. This is the orchestrator.
  3. Attach an OpenAI Chat Model sub-node (or swap to Anthropic, Google Gemini, or Ollama for local models, see connecting Ollama to n8n for the free local path).
  4. Attach a Custom Code Tool sub-node. Name it lookup_order. Inside, write a small JavaScript function that accepts order_id and returns a status string.
javascript
// Custom Code Tool: lookup_order
const orderId = $input.first().json.order_id;
const statuses = { "1234": "Shipped, arriving Tuesday" };
return [{ json: { status: statuses[orderId] || "Order not found" } }];
  1. Set the System Prompt field on the AI Agent node: "You are an order-status support agent. Use the lookup_order tool when an order ID is mentioned."

That is the entire build. The AI Agent node handles the ReAct loop internally: the model reads the system prompt, decides to call lookup_order, gets the result, and writes a reply.

The honest catch with n8n: the system prompt field and sub-node configuration are not version-controlled by default. If you self-host, you are responsible for backups and updates. That is a real ops cost most comparisons skip.

n8n is fair-code under the Sustainable Use License, which means self-hosting for internal use is free. You pay only your server and the LLM API. n8n Cloud starts at 20 euros/month (billed annually) for 2,500 executions on the Starter plan, scaling to 50 euros/month for 10,000 executions on Pro. For a solopreneur running an occasional support agent, the self-hosted path is the financially sensible default. See the full n8n vs Make vs Zapier cost breakdown for the longer math.

Four-step n8n AI agent build showing Webhook trigger, AI Agent node, Chat Model sub-node, and Custom Code Tool sub-node wiring.Four nodes wire the full order-status agent in n8n.

Build 2: The Agent in Make.com#

Make.com is a fully-hosted visual automation SaaS, so there is no self-hosting option and no code to write. You build the agent as a Scenario: a left-to-right sequence of modules the platform runs whenever your trigger fires. The same order-status spec takes four to five modules instead of four nodes.

Here is the wiring for the same order-status spec:

  1. Add a Webhooks module as the trigger (or a manual trigger for testing).
  2. Add an OpenAI: Create a Chat Completion module (or Anthropic Claude: Create a Prompt Completion). Paste the system prompt into the System field.
  3. Add a Router module. Route on whether the model's output text contains an order ID pattern.
  4. On the "yes" branch, add an HTTP: Make a Request module (or a custom app module) that calls your lookup_order logic. This is your tool.
  5. Feed the tool result back into a second OpenAI module to generate the final reply.

The build is 4-5 modules. Make added a native AI agents layer in 2026 with centralized agent management, but under the hood it still runs as a Scenario where each module execution is billed.

The honest catch with Make: Make's pricing is operations-based. The Free plan gives you 1,000 operations/month. Core is $9/month for 10,000 ops, Pro is $16/month, Teams is $29/month. Each module run counts as one operation. A single agent invocation that routes through 5 modules burns 5 operations. A looping agent burns even faster. For a high-volume support workflow, this adds up in a way that flat-rate pricing does not.


Build 3: The Agent in LangChain#

LangChain's current agent API, as of mid-2026, centers on create_agent from langchain.agents, backed by LangGraph as the runtime. You define a tool, name a model, and pass a system prompt; LangChain handles the reasoning loop. The full working build for the order-status spec is roughly 10 lines of Python.

python
from langchain.agents import create_agent
from langchain.tools import tool

@tool
def lookup_order(order_id: str) -> str:
    """Return the status of an order by its ID."""
    return {"1234": "Shipped, arriving Tuesday"}.get(order_id, "Order not found")

agent = create_agent(
    model="anthropic:claude-sonnet-4-6",   # swap to "openai:gpt-5.4" or "google_genai:gemini-2.5-flash-lite"
    tools=[lookup_order],
    system_prompt="You are an order-status support agent. Use the tool when an order ID is given.",
)

result = agent.invoke(
    {"messages": [{"role": "user", "content": "Where's my order #1234?"}]}
)
print(result["messages"][-1].content_blocks)

Switching the model is a single string change. Adding memory means attaching a LangGraph InMemorySaver checkpointer and passing a thread_id in the invoke config. LangSmith (observability) and LangGraph Platform (hosted deployment) are optional paid add-ons; neither is required to run the agent above.

The honest catch with LangChain: you own the code and the runtime. That means you also own the deployment, the retries, the logging, and the debugging. For a developer this is a feature. For a non-technical solopreneur, it is a genuine barrier. The platform cost is $0, but the ops overhead is real.

For choosing the right model to slot in here, the best LLM for n8n AI agents guide applies directly to LangChain too: the model selection logic is the same.

Comparison table of n8n, Make.com, and LangChain AI agent builds across cost, hosting, portability, and best-fit audience axes.Four axes decide which platform fits your situation.

The 4-Axis Verdict: Where Each Platform Actually Wins#

The table below is the comparison I wish existed before I started: the same agent and the same spec, scored on the four axes that actually decide which platform fits your situation. Build style, hosting, cost model, and portability matter far more than the feature checklists most comparisons lead with.

Axisn8nMake.comLangChain
Build styleNo-code, drag sub-nodes (4 nodes)No-code, visual Scenario (4-5 modules)~10 lines of Python
HostingSelf-host free OR Cloud from 20 euros/moFully hosted SaaS onlyYou host the code
Cost modelSelf-host: infra only. Cloud: per-executionPer-operation (loops cost more)$0 platform; pay model API + infra
Portability / lock-inJSON workflow, self-hostable (fair-code)Proprietary SaaS (highest lock-in)Plain Python (most portable)
Best forTechnical solopreneurs who want no-code and own their infraNon-technical users who want fully-hosted no-codeDevelopers who need full control or production logic

There is no universal winner. The right choice follows directly from which axis matters most to you right now.

Decision flowchart for choosing between LangChain, n8n, and Make.com based on whether you write Python and whether you need to own your infrastructure.Follow this flowchart to pick the right platform for your agent.

How Solopreneurs Get This Decision Wrong#

The most common mistake is picking by feature count rather than by the one axis that actually constrains you. A longer feature list does not help if the platform bills every loop, locks your workflow on its servers, or demands Python you do not want to write. Start from your real constraint, then match the platform to it.

If you are non-technical and just need the agent running by this afternoon, Make.com's hosted setup removes every infrastructure decision. But if your agent loops (and most useful agents do), price the operations cost against your expected message volume before you sign up.

If you care about owning your data and your workflow files, Make is the wrong call. Your Scenarios live on Make's servers. Exporting is limited. If Make changes its pricing or goes offline, your agent goes with it.

If you start in n8n self-hosted and later want to move to n8n Cloud, your JSON workflow exports cleanly. That portability is real. If you later want to move off n8n entirely, you are rewriting the agent, but at least you have the logic documented in a readable visual graph. For the full self-hosting setup walkthrough, the n8n VPS setup guide covers the exact steps.

The LangChain trap is the opposite: developers reach for it first because it feels like "real" work, then spend a day on deployment plumbing for a workflow that n8n would have wired in 20 minutes. Use code when you need code control. Use the visual tools when you do not.

For extending either n8n or LangChain with external tools via the Model Context Protocol, the MCP servers for solopreneurs guide and the n8n MCP AI agent post are the logical next reads.


Where to Go From Here#

Pick the platform by the single axis that is non-negotiable for you: code control (LangChain), no-code plus infra ownership (n8n), or fully-hosted no-code (Make). Build the order-status agent above in your chosen platform first. It is small enough to finish in one session and real enough to show you exactly where the edges are.

Once it is running, the n8n MCP AI agent guide shows how to give your agent access to a much richer tool ecosystem without adding complexity to the core workflow.

Frequently asked questions

Is n8n or LangChain better for AI agents?
It depends on whether you write code. n8n is better when you want a no-code visual build you can self-host for free. LangChain is better when you need production logic, custom control flow, or want plain Python you can run anywhere. Both give you full infrastructure ownership.
Is Make.com good for AI agents?
Make works for simple AI agents, but its per-operation billing model makes looping agents expensive fast. Every module run costs one operation, so a model-calls-tool-calls-model loop burns three operations per cycle. It is best for non-technical users who want a fully-hosted setup and keep agent loops short.
Which platform is cheapest for running an AI agent?
LangChain costs $0 in platform fees: you pay only the model API and your own server. n8n self-hosted is also $0 in platform fees. Make.com starts at $9/mo (Core plan) for 10,000 operations. n8n Cloud starts at 20 euros/mo for 2,500 executions. LLM token costs are separate on all three.
Can I self-host n8n for free?
Yes. n8n is fair-code under the Sustainable Use License, which allows free self-hosting for internal and business use. You pay only your server costs and LLM API fees. The restriction is on reselling n8n as a hosted service to others.
Do I need to know Python to build an AI agent?
No. Both n8n and Make.com let you build a fully functional AI agent with no code at all. LangChain requires Python, but the minimal agent shown here is about 10 lines. If Python is a barrier, start with n8n for the best mix of control and no-code ease.

Sources

Primary references and vendor documentation used while drafting and reviewing this article.

  1. n8n AI Agent node documentation (cluster node, sub-nodes)
  2. n8n Cloud pricing: Starter 20 eu/mo, Pro 50 eu/mo
  3. n8n Sustainable Use License: free self-hosting terms
  4. Make.com pricing: Free 1,000 ops, Core $9, Pro $16, Teams $29
  5. Make.com native AI agents product page
  6. LangChain create_agent quickstart (2026 API, LangGraph runtime)

Related reading