Open-source AI agents give a marketing team something no software subscription can: a licence that costs nothing, data that sits on infrastructure you control, and no meter counting your workflows. What they do not give you is free operation. Every self-hosting decision in this guide comes down to the same trade — you swap a predictable subscription line for an unpredictable engineering line, and the second one is much harder to see on a budget.
That trade is worth making more often than it was two years ago. The open-source workflow-automation projects have matured, the social schedulers are genuinely production-viable, and the compliance arguments for keeping customer data on infrastructure you govern have moved from a niche procurement question to a routine one in European buying cycles. It is also worth making far less often than the enthusiasm around these projects suggests, because the cost that kills a self-hosted stack is never the server bill.
This guide maps the projects a marketing team can realistically self-host, lane by lane: workflow automation, social publishing, scraping and listening, and content pipelines. For each one it covers the licence that actually governs your use, what the self-hosted edition limits, and where the vendor’s hosted tier sits for comparison. Then it prices the part nobody advertises — the hours.
- 01Three projects, three genuinely different licences.n8n ships under the Sustainable Use Licence v1.0 (fair-code, not OSI-certified), Activepieces is MIT on its core, and Windmill’s Community Edition is AGPL-3.0. All three carve out enterprise features behind a separate commercial licence.
- 02Self-hosted editions are genuinely uncapped.n8n Community, Activepieces Community and Windmill Community all run without a vendor-imposed ceiling on workflows, runs or executions. The recurring cost is infrastructure — and staff time.
- 03The engineering line dwarfs the hosting line.Independent write-ups converge on roughly 2 to 6 hours of setup and 2 to 5 hours a month of upkeep. Priced at a modest internal rate, that staff time can run tens of times larger than a small server bill.
- 04Social scheduling is the clearest outright win.Postiz (AGPL-3.0) and Mixpost (MIT on its Lite edition) let a team own its publishing data and escape per-seat pricing, with no compliance-sensitive quality bar of the kind that content generation carries.
- 05Open source solves hosting, not platform access.Self-hosting removes the licence and the vendor. It does nothing about paid platform APIs, non-commercial-only data terms or closed search endpoints — the constraint that actually caps a social-listening agent.
01 — The DecisionFour situations where the SaaS tier is the wrong shape.
Marketing automation tools price by usage — tasks executed, seats occupied, mentions tracked. That model is a good fit for the middle of the distribution and a poor one at either end. Very low volume means paying a platform fee to run a handful of jobs a month. Very high volume means a bill that scales with something you cannot easily cap. And in between sits the awkward category the pricing page never anticipated: internal tooling, unusual data joins, and agency-scale setups where one workflow has to run cleanly across many separate client accounts.
The useful way to frame the question is not “is open source cheaper”. It is “does my workload sit in a shape the vendor priced for”. If the answer is yes, a hosted subscription is almost always the rational choice, and we cover that comparison in our Make, Zapier and n8n marketing-automation comparison. If the answer is no, self-hosting becomes worth the operational weight it adds.
Too little or too much
Task-metered pricing punishes both ends. A team running a few dozen jobs a month pays mostly for the platform, not the work; a team running hundreds of thousands watches the bill track a number it cannot cap. Self-hosted editions of n8n, Activepieces and Windmill impose no execution ceiling at all.
Shapes the vendor never priced
Internal tooling, unusual data joins, long-running jobs, and pipelines that need a real programming language rather than a node. These are the workflows where a hosted builder starts to feel like a constraint rather than a convenience.
Many clients, one workflow
Per-seat and per-workspace pricing multiplies awkwardly across a client roster. A self-hosted instance that runs the same workflow against many accounts changes the unit economics of delivery, at the cost of owning the platform yourself.
Where the data lives
European buyers increasingly separate where data physically sits from whose law can reach it. Add the incident-reporting and audit expectations that regulated-adjacent teams now carry, and infrastructure you control directly starts to answer a procurement question a hosted tier cannot.
There is a fifth situation worth naming, because it is the one that most often goes wrong: a team self-hosts because open source feels like the more serious choice. That is not a reason. The projects below are excellent, and running any of them well is a standing commitment of engineering attention that a marketing team has to actually staff. If nobody on the team can name the person who will handle a webhook failure at month-end, the honest answer is a hosted tier.
02 — Residency vs SovereigntyWhere the bits sit is not whose law governs them.
An increasingly common reason to self-host in European buying cycles is not cost — it is a distinction between two words that used to be treated as synonyms. Data residency is a question about geography: which region holds the bytes. Data sovereignty is a question about jurisdiction: which legal system can compel access to them. A vendor can satisfy the first and still leave the second open, because incorporation and hosting are separate facts.
This is where the argument needs care. Industry commentary across 2026 frames the tension as a US-incorporated provider remaining subject to US disclosure law even when the data itself is stored in a European region, and reads that as sitting uneasily alongside European data-protection obligations. That is a compliance argument some teams make in procurement, and a genuinely useful one to understand. It is not a settled court ruling, and nothing in this post should be read as legal advice — if your buyers are raising it, the right next step is counsel, not a blog post.
Alongside it sits a second, more concrete driver: the incident reporting and audit obligations that European network and information security rules place on a widening set of organisations across 2026. Teams that sit adjacent to those obligations — as suppliers, or as processors handling data on their behalf — tend to find that infrastructure they operate directly is simply easier to evidence than a third-party platform. That is a real operational argument, independent of the jurisdictional one, and it is the more defensible of the two to put in front of a procurement team.
Our own reading is that the governance argument will keep getting stronger while the cost argument keeps getting weaker. Hosted tiers are competing hard on price and adding self-hosted deployment options of their own; what they cannot easily hand over is the ability to say “this runs entirely inside our estate, and here is the audit trail”. If you are choosing today, treat data governance as the durable reason to self-host and cost as the volatile one.
03 — Licence MapThree licence models, three different freedoms.
The three leading self-hostable workflow platforms are usually discussed as interchangeable open-source options. They are not. Each one ships under a materially different licence, and the differences matter most in exactly the situation an agency is likeliest to hit — running the platform on behalf of someone else.
n8n — Sustainable Use Licence
Free for your own internal business purposes with no limit on workflows or executions when self-hosted. What the licence restricts is redistributing n8n or offering it to third parties as a paid hosted service without a commercial licence. It is deliberately not OSI-certified — the project calls this model fair-code. Enterprise features such as SSO, SAML, LDAP, audit logs, external secrets and Git-based version control sit behind an Enterprise Edition key even on a self-hosted install.
Activepieces — MIT core
The core is MIT-licensed — genuinely OSI-open, and meaningfully more permissive than a fair-code model. Enterprise-only code lives in a separate packages/ee/ directory under a different, proprietary licence: the same carve-out shape as n8n, applied to a far more permissive base. The self-hosted Community Edition has no cap on runs, users or flows, and the flow builder ships native AI-agent and MCP-server support alongside 700-plus pre-built integrations.
Windmill — AGPL-3.0
The Community Edition ships the full workflow engine, a script editor with language-server support, scheduling, webhooks, approval flows and an app builder for internal tools — under a copyleft licence, the third distinct model in this space. Executions are unlimited when self-hosted; SSO and audit features sit in a separately licensed Enterprise Edition. Scripts are written in TypeScript, Python, Go, Bash or SQL rather than assembled only from nodes.
Read those three descriptions again with an agency hat on. If you intend to operate the platform purely for your own marketing function, all three are free and uncapped and the licence is close to irrelevant. The moment you consider standing an instance up for a client as a paid service, the differences become the whole decision — and the answer is a conversation with the vendor, not an inference from a blog post. For a deeper technical read on what n8n’s node library actually does with language-model calls, see our breakdown of n8n’s AI nodes and LangChain agent workflows.
| Project | Core licence | OSI-approved | Self-hosted position | GitHub stars |
|---|---|---|---|---|
| Workflow automation and internal tools | ||||
| n8n | Sustainable Use Licence v1.0 | No — fair-code, by design | No cap on workflows or executions; enterprise features need an Enterprise Edition key | 199,652 |
| Activepieces | MIT on the core; proprietary ee/ | Yes — MIT core | No cap on runs, users or flows in the Community Edition | 23,614 |
| Windmill | AGPL-3.0 (Community Edition) | Yes — copyleft | Unlimited executions; SSO and audit sit in the Enterprise Edition | 17,464 |
| Social publishing | ||||
| Postiz | AGPL-3.0 | Yes — copyleft | Self-hostable Node.js app; 30-plus networks, AI-assisted features, API and MCP hooks | 34,359 |
| Mixpost | MIT (Lite edition) | Yes — MIT | Lite is free to self-host via Docker; a paid Pro licence adds team and approval workflows | 3,492 |
| Scraping, crawling and pipelines | ||||
| Crawlee | Apache-2.0 | Yes — permissive | JavaScript, TypeScript and Python library maintained by Apify — the building-block layer beneath a managed API | 25,217 |
| Crawl4AI | Apache-2.0 | Yes — permissive | Fully open, language-model-focused crawler; more customisable than a hosted-first product, at the cost of more setup | 77,113 |
| Langflow | MIT | Yes — MIT | Python-flexible flow builder with LangGraph multi-agent support; the pick where in-house Python skill exists | 152,911 |
Star counts above were read from each project’s GitHub repository at the time of writing and move daily — treat them as a rough proxy for community size, never as a quality score. The OSI-approved column is our own reading of each licence: MIT, AGPL-3.0 and Apache-2.0 are all approved open-source licences, while n8n’s Sustainable Use Licence deliberately is not, which is precisely why the project uses the term fair-code rather than open source.
Hosted tiers, for comparison. Every one of these projects also sells a managed cloud, and those prices are the benchmark a self-hosting decision has to beat. On n8n Cloud, published tiers run from Starter at around 20 euros a month for 2,500 executions and 5 concurrent runs, to Pro at around 50 euros a month for 10,000 executions and 20 concurrent runs, to Business at around 667 euros a month for 40,000 executions plus a self-hosted option, SSO, SAML, LDAP and Git-based version control, with Enterprise quoted individually; all tiers advertise unlimited users, workflows and integrations, with monthly execution volume as the pricing axis. On Activepieces Cloud, a free tier covers 1,000 tasks a month and 2 active flows, Plus is around 25 US dollars a month with unlimited tasks and AI agents, Business around 150 US dollars a month for team features, and Ultimate is quoted annually with security and governance controls. On Windmill Cloud, the free tier allows 1,000 executions a day, Team is around 10 US dollars per user a month with unlimited executions, and Enterprise is custom. Pricing pages change frequently — verify current figures on each vendor’s own page before building a business case on them.
04 — Total CostFree to licence, not free to run.
This is the section that should decide most self-hosting arguments, and it is the one most often skipped. The infrastructure cost of a small workflow-automation instance is trivial. The operating cost is not, because it is denominated in hours rather than dollars and therefore never appears as a line item anyone reviews.
The figures below are drawn from independent write-ups that survey self-hosting costs rather than from any vendor’s published rate card. Several such write-ups converge on the same directional shape, which is why the shape is worth trusting even though no individual number should be treated as precise. Read them as industry estimates, and price your own team’s hours rather than borrowing an assumed rate.
Getting it running
Time to stand up a working instance for someone already comfortable with Linux and Docker. Managed one-click hosting platforms compress this considerably; a bare virtual private server does not. Budget more if TLS certificates, a managed database and a reverse proxy are new territory for the team.
Keeping it alive
Version updates, crash monitoring, webhook-timeout troubleshooting, certificate rotation and log review. This is the number that decides whether self-hosting is cheaper, and it is the one nobody puts in the business case because it is paid in attention rather than invoices.
The invisible line item
Our own arithmetic on the estimates above: 2 to 5 hours a month at a modest internal rate of 50 US dollars an hour is roughly 100 to 250 US dollars a month of staff time, set against a bare virtual private server at roughly 4.50 US dollars a month — itself an aggregator-sourced estimate rather than a vendor list price. The people cost lands somewhere between 22 and 55 times the infrastructure cost.
The hosting end of that range is genuinely cheap. Managed one-click hosting platforms sit in the region of 3.70 to 7 US dollars a month for a small instance running somewhere between five and thirty active workflows; a bare entry-level virtual private server sits around the same place. What changes the picture is what “production” means: once you add a properly managed database, security hardening and somebody available to respond when it breaks, the same surveys put a real production instance in the region of 300 to 500 US dollars a month. Those are aggregator-sourced ranges rather than vendor list prices, and they are useful for shape rather than for budgeting to the dollar.
Set that against the hosted alternative honestly. A task-metered automation subscription typically offers a small free allowance, a professional tier priced against a monthly task count, team tiers above it, and overage billing once the allowance is exceeded — with annual commitments priced below month-to-month. If your execution volume is modest, the subscription is very likely cheaper all-in than the same workload self-hosted, once the hours are priced. Our agent-versus-subscription cost calculator works that comparison properly, and our write-up on the real costs of routines versus n8n and Zapier covers the third option — skipping the platform entirely.
The crossover point, in the secondary sources that attempt to estimate one, tends to cluster in the range of ten thousand to a hundred thousand executions a month for a workflow platform. Treat that as a rough industry estimate rather than a threshold you can plan against — it moves with your hourly rate, your incident tolerance and how much of the maintenance genuinely lands on someone who was going to be paid anyway. The reliable version of the rule is simpler: if you already employ people who run infrastructure, the marginal cost of one more service is small; if you do not, self-hosting is a hiring decision wearing a software costume.
05 — PublishingThe clearest outright win: social scheduling.
Of every lane in this guide, social publishing is where open source makes the least complicated case. Scheduling is a well-understood problem with no quality bar that a hosted vendor clears and a self-hosted install does not — a post either goes out at the right time to the right account, or it does not. That is very different from content generation, where model quality is the product.
Two projects are realistic picks. Postiz is AGPL-3.0 and built on Node.js, supports more than thirty networks including X, Bluesky, Mastodon, Discord, Reddit and Twitch, and adds AI-assisted features such as image generation plus API and MCP hooks. Mixpost is MIT-licensed on its Lite edition and built on Laravel, installs via Docker, and is generally positioned as the more polished interface of the two, with team workspaces and a paid Pro licence for approval workflows — across a shorter list of around twelve networks. Postiz carries the larger community by a wide margin; Mixpost is the newer and smaller footprint, which is a statement about adoption rather than about quality.
“The ultimate agentic social media scheduling tool”— Postiz repository tagline (the project’s own self-description)
Take that tagline for what it is — a project describing itself — and judge the software on your own posting calendar. The practical test is unglamorous: connect every account you actually publish to, schedule a fortnight of real posts, and see what happens when a token expires. Owning your scheduling data and escaping per-seat pricing are both real wins, and both evaporate if reconnecting an account becomes a recurring chore nobody owns.
Where this pays off most is agency and multi-brand work, because per-seat pricing on hosted schedulers scales badly across a client roster while a self-hosted instance does not. If you want that evaluated against your actual publishing volume and approval requirements rather than in the abstract, that is the kind of question our social media services engagements start with.
06 — Scraping and ListeningOpen source solves hosting, not platform access.
The scraping layer is the most mature open-source lane in this guide. Firecrawl converts URLs into language-model-ready markdown or JSON and handles JavaScript rendering, proxies and rate limits; it is among the largest repositories in this space and we cover it in depth in our guide to AI web-scraping tools. Crawlee, Apache-2.0 and maintained by Apify, is the lower-level building block for teams that want to assemble the pipeline themselves in JavaScript, TypeScript or Python. Crawl4AI, also Apache-2.0, is a fully open language-model-focused crawler that independent comparisons position as more customisable than a hosted-first product, at the cost of more setup work.
Brand monitoring and social listening are a different story. The open-source layer there is markedly thinner than the crawling layer beneath it. The clearest self-hostable example we found is OpenMagpie, which describes itself as open-source, self-hostable social listening and scores relevance using a language model the operator runs themselves against any OpenAI-compatible backend — Ollama, vLLM, llama.cpp or LM Studio. At the time of writing it carries roughly three dozen GitHub stars, which places it firmly in early-stage territory. Treat it as evidence that the category is forming, not as a production recommendation.
That constraint is the single most important honesty check in this guide, because it inverts the usual reasoning. Teams reach for open-source listening tools to escape the cost of a commercial listening platform, and then discover that a meaningful share of what they were paying for was negotiated data access rather than software. If you are building in this lane, start from the sources you can legitimately reach and work backwards to the tool — the approach we take in our walkthroughs on building a social-listening agent and building a competitor-monitoring agent with MCP.
07 — Content PipelinesThe adjacent lane, and the whole map at a glance.
One lane over from workflow automation sits the agent-builder and content-pipeline layer. Dify is the batteries-included option — a full-stack platform combining a workflow builder, knowledge base, API gateway and conversation logging, with the heaviest resource footprint of the three at somewhere around four gigabytes of RAM minimum according to independent comparisons. Langflow is MIT-licensed, Python-flexible and supports LangGraph multi-agent patterns, which makes it the pick for teams with in-house Python skill. Flowise is a LangChain-node canvas and the fastest path to a working chatbot or retrieval pipeline, lighter-weight than Dify. If you are choosing between the underlying frameworks rather than the builders, our comparison of five open-source agent frameworks goes a level deeper.
Community size across the self-host map · GitHub stars
Source: each project’s GitHub repository, read at the time of writing. Bars are each project’s star count as a share of the largest in this set. Star counts move daily and measure attention, not quality.The chart is worth sitting with, because the spread is the real finding. The workflow and crawling lanes are enormous and well-supported; the social-scheduling lane is healthy but several times smaller; and the listening lane is barely a lane at all. That distribution maps almost exactly onto how much of each problem is pure software. Crawling and workflow orchestration are problems open source is very good at solving, because they need no permission from anyone. Listening depends on data access that no amount of community contribution can grant, so the community never forms.
Projecting that forward: expect the workflow and pipeline lanes to keep consolidating around a handful of well-funded projects with increasingly clear enterprise carve-outs, and expect self-hosted scheduling to become an unremarkable default for agencies. The listening lane is the one to watch for a step change, and the trigger will not be a better open-source project — it will be a shift in what the platforms sell. Until that happens, the honest forecast is that open source keeps winning the parts of the marketing stack that are only software, and keeps losing the parts that are really data licensing.
08 — Decision FrameworkA rule of thumb you can actually defend in a budget meeting.
Pull the guide together and the decision reduces to four cases. In three of them the answer is clear; in the fourth it depends on a number only you can supply, which is what an hour of your team’s time is genuinely worth.
Own your scheduling data
No quality bar that a hosted vendor clears and a self-hosted install does not, and per-seat pricing scales badly across brands or clients. Postiz for network breadth and agentic hooks, Mixpost for a more polished interface and approval workflows on the paid Pro licence.
Depends on volume and on who is on call
Self-hosted n8n, Activepieces and Windmill are uncapped and free to licence, but the operating cost is hours. Secondary sources put the crossover somewhere in the ten thousand to a hundred thousand executions a month band — a rough industry estimate rather than a threshold you can plan against. Below that band a hosted tier usually wins once staff time is priced; above it, and especially with engineers already on the team, self-hosting starts to make sense.
Residency, sovereignty and audit
If buyers or regulators are asking where the data sits and who can reach it, infrastructure you operate is easier to evidence than a third-party platform. This is the durable reason to self-host — but treat the jurisdictional argument as a compliance position to discuss with counsel, not settled law.
The tool is not the constraint
Paid platform APIs, non-commercial-only terms and closed search endpoints cap what any pipeline can see, self-hosted or not. Build from the sources you can legitimately reach — owned accounts, RSS, review sites, video platforms and alerting — and pick the tool afterwards.
Whichever way the decision lands, write down three things before you commit: the licence you are actually operating under, the named person who owns updates and incidents, and the path back to a hosted tier if the maintenance turns out heavier than planned. Teams that document the exit route rarely need it; teams that skip it tend to discover the cost of self-hosting at exactly the moment they have the least capacity to absorb it. If you would rather have that assessment run against your own stack, our AI and digital transformation engagements start with precisely this kind of build-versus-buy evaluation. For the wider view of what else is available in open source right now, see our map of the best open-source AI agent projects on GitHub.
09 — ConclusionThe licence is free. The attention is not.
Self-host for control, not for savings — and staff it before you migrate.
The open-source marketing stack is in better shape than it has ever been. Three serious workflow platforms with three genuinely different licences, two production-viable social schedulers, and a crawling layer with more community behind it than most commercial products will ever have. Every one of them runs uncapped on infrastructure you control, and for a team with the right shape of workload that is a real advantage rather than a philosophical one.
The failure mode is equally consistent. Teams compare a subscription against a server bill, find the server bill smaller, and migrate — then meet the cost that was never on either side of the comparison. Setup hours, monthly upkeep, an incident nobody was rostered for. Priced honestly, staff time on a small self-hosted instance can run an order of magnitude or two above the infrastructure it sits on, which means the cost case for self-hosting is far weaker than it looks and the control case is far stronger.
So make the decision on the durable axis. Self-host when you need to own the data, when your workload is a shape the vendor never priced, or when you already employ people who run infrastructure and the marginal service is cheap. Stay on a hosted tier when none of those is true, and spend the hours you saved on the work that actually moves the numbers. And whichever way it goes, verify the licences, the limits and the prices against each project’s own pages before committing — all three move faster than any guide can.