Dify vs n8n vs Flowise: which to use for AI agents in 2026

· 0x.cloud Team

Dify vs n8n vs Flowise: which to use for AI agents in 2026

Dify vs n8n: Dify is a platform for building AI apps (chatbots over your documents, assistants, agents with a ready UI and API), while n8n automates processes where an AI agent is one node next to your CRM, email and webhooks. Both are free to self-host. Flowise, the third common pick, was wound down by its team in 2026, so for new projects Langflow takes its spot. Here's how they compare on features, licenses, server requirements and price, all from official sources as of Nov 20, 2026.

Contents: at a glance · Dify · n8n · Flowise · Langflow · server sizing · verdict · Dify and n8n together

Dify vs n8n vs Flowise at a glance

Dify n8n Flowise Langflow
Built for AI apps, RAG, agents process automation with AI steps visual LLM chains visual chains and agents in Python
License Dify Open Source License (Apache 2.0 with conditions) Sustainable Use License Apache 2.0 MIT
Free self-hosting yes yes, Community Edition code available, project ended yes
Server minimum 2 CPU, 4 GB RAM no official minimum; we suggest 2 GB RAM n/a Python 3.10–3.14
Cloud free Sandbox, Professional $590/yr from €20/mo n/a n/a
Status on Nov 20, 2026 active active end of life Aug 31, 2026 active
Latest GitHub release 1.20.0 (Nov 18, 2026) 2.48.7 (Nov 20, 2026) 3.1.4 (Jul 29, 2026), repo archived 1.13.3 (Nov 17, 2026)

Dify: a platform for AI apps

Dify builds the whole AI app: prompts, model, knowledge base, tools and UI. A finished app is instantly available as a web chat and through an API.

What it does (per Dify on GitHub):

  • Visual workflows for chains with conditions and tools.
  • Knowledge base (RAG): upload PDFs, slides and other documents, chunk and search them.
  • Agents that call tools and run in a sandbox.
  • Hundreds of models from dozens of providers, including local ones.

License. The Dify Open Source License is Apache 2.0 with two conditions: you can't run a multi-tenant service on Dify's code without written permission, and you can't remove the logo or copyright from the console and apps. For internal tools and your own products that's rarely a problem.

Cloud pricing (dify.ai/pricing, checked Nov 20, 2026): Sandbox is free (200 message credits, 5 apps), Professional is $590/yr per workspace (5,000 message credits/mo, 3 members, 50 apps), Team is $1,590/yr (10,000 credits/mo, 50 members). Message credits pay for model calls; once they run out you can plug in your own provider API key. Annual billing saves 17%. The self-hosted Community Edition is free.

Server requirements: at least 2 CPU cores and 4 GB RAM, plus Docker with Docker Compose 2.35.0 or later and OpenSSL (per the repo README). The install is short, but one step is easy to miss:

git clone https://github.com/langgenius/dify.git
cd dify/docker
cp .env.example .env
openssl rand -hex 32   # put this value in DIFY_AGENT_LOCAL_SANDBOX_AUTH_TOKEN in .env
docker compose up -d
docker compose ps --all

Then open /install to create the admin account. The one-time init_permissions service exiting with code 0 is expected. Full walkthrough with a domain and HTTPS: self-host Dify.

n8n: automation where AI is one step

n8n connects services: a webhook arrives, AI parses the request, data goes to the CRM, a manager gets a Telegram message. AI is a tool inside the process, not the product itself.

  • The AI Agent node connects a model, tools (HTTP, databases, other workflows) and memory, and the agent picks which tool to call.
  • Code in JavaScript and Python in the Code node, with npm packages.
  • Integrations: 1,500+ per n8n on GitHub, plus HTTP Request for any API. n8n also speaks MCP: it can act as an MCP server (the MCP Server Trigger node) and call other MCP servers.
  • License: the Sustainable Use License. Free for internal business and personal use; you can't sell n8n as a service where customers build their own workflows. Files with .ee. in the name (enterprise features) fall under a separate Enterprise License.
  • Cloud pricing: from €20/mo for 2,500 executions, billed annually. Self-hosted Community Edition has no execution limit.

n8n is lighter than Dify: personal workflows fit in 2 GB RAM. Install guide: deploy n8n.

Flowise: what happened in 2026

Flowise was a popular visual LLM chain builder on Node.js under Apache 2.0. Workday acquired it in August 2025 (Workday press release), and in 2026 the team announced a wind-down (flowiseai.com/sunset):

  • July 29, 2026: code freeze, no new pull requests.
  • August 10, 2026: repository archived (GitHub shows it as Archived), npm packages and Docker images marked deprecated. The last release, 3.1.4, shipped July 29, 2026.
  • August 31, 2026: end of life for the core team's involvement.

The Apache 2.0 code stays public and the team encourages forks. Their stated reason: developers increasingly rely on coding agents, and rigid low-code flows hit their limits fast.

If you already run Flowise, it won't stop working overnight, but no more security fixes are coming from the team. Restrict it to your own IPs with a firewall, back it up and plan a move: RAG bots to Dify, Python chains to Langflow, integrations to n8n.

Langflow: the Flowise replacement for Python teams

Langflow is a visual builder for agents and chains in Python, under the MIT license. It's developed by DataStax, now part of IBM: IBM announced the deal in February 2025 (IBM press release) and it closed in May 2025.

  • Install with uv pip install langflow or the langflowai/langflow Docker image; it needs Python 3.10–3.14.
  • Any component can be opened and edited in Python.
  • Flows are exposed through an API and as an MCP server.

Langflow vs n8n: Langflow sits next to Dify and Flowise (build AI logic), n8n sits next to Make and Zapier (connect services). Install guide: Langflow with Docker.

Server sizing for Dify, n8n and Langflow

What you run 0x.cloud plan Resources Price per month
n8n for personal workflows s1-2 1 vCPU, 2 GB RAM, 30 GB NVMe $7.99
Dify at its documented minimum, or n8n with PostgreSQL for a team s2-4 2 vCPU, 4 GB RAM, 60 GB NVMe $15.99
Dify with a knowledge base of thousands of docs, or Dify plus n8n on one box s4-8 4 vCPU, 8 GB RAM, 120 GB NVMe $31.99

The models run at your provider (OpenAI, Anthropic and others) over the API; the server only hosts the platform, database and vector store. For experiments, use hourly billing: s2-4 is about $0.109520 an hour, and when you delete the server the unused amount returns to your balance. More on picking a server for agents: VPS for AI agents; all plans are on the pricing page.

Prompt for an AI agent

Create an s2-4 server with Ubuntu 24.04 on 0x.cloud, showing me the price with dry_run first. Install Docker with the official script, clone the Dify repository, copy .env.example to .env in the docker folder, set DIFY_AGENT_LOCAL_SANDBOX_AUTH_TOKEN to the output of openssl rand -hex 32, run docker compose up -d and set up Nginx with HTTPS for dify.example.com. Don't expose container ports publicly; bind them to 127.0.0.1 only. Don't create anything until I confirm the price.

Verdict: Dify or n8n

Pick Dify if:

  • you need a chatbot or assistant over your own documents (RAG);
  • you want a ready UI for users and an API for your product;
  • you run several AI apps and want prompts and models managed in one place.

Pick n8n if:

  • AI is a step in a process: parse an email, classify a lead, draft a reply, push to the CRM;
  • you have many integrations and webhooks;
  • you need JavaScript or Python code next to AI steps.

Pick Langflow if your team writes Python and would have picked Flowise before.

Dify n8n integration: API, webhooks and MCP

Running both often works best: Dify hosts the knowledge-base bot and exposes an API, and n8n calls that API inside its workflows. Three ways to wire them:

  1. n8n calls Dify. An HTTP Request node hits the Dify app API with that app's key and gets an answer grounded in your knowledge base.
  2. Dify calls n8n. An HTTP request step in a Dify workflow triggers an n8n webhook, and n8n fans the data out to the CRM, email and sheets.
  3. Over MCP. n8n exposes workflows as an MCP server (MCP Server Trigger), and Dify agents can attach MCP servers as tools.

A common mistake: running them on separate servers and sending traffic over the internet without HTTPS. On one machine, have them talk over the Docker network or 127.0.0.1. Both fit on one s4-8 server.

FAQ

Should I use Dify or n8n? Use Dify to build AI apps: chatbots over your documents (RAG), assistants and agents with a ready UI and API. Use n8n to automate processes where AI is one step among CRM, email, sheets and webhooks. Many teams run both.

Is Flowise still maintained? No. The Flowise team announced a wind-down: code freeze on July 29, 2026, repository archived on August 10, 2026, and end of life on August 31, 2026. The Apache 2.0 code stays available for forks, but pick Dify, n8n or Langflow for new projects.

What are the requirements to self host Dify? Dify asks for at least 2 CPU cores and 4 GB RAM, installed with Docker Compose. On 0x.cloud that's the s2-4 plan (2 vCPU, 4 GB, 60 GB NVMe) at $15.99/mo.

Is Dify free? The self-hosted Community Edition is free under the Dify Open Source License (Apache 2.0 with conditions: no multi-tenant service without permission, keep the logo). Dify Cloud has a free Sandbox with 200 message credits.