Best self-hosted and open-source AI automation tools

Updated 24 Oct 2026 · Prices from vendor pages only · How we rank →

The short answer

Each of these AI automation tools can run on your own machine or servers, or is open source. n8n comes first: developer-friendly automation with unlimited steps per execution and a self-host option. The cheapest verified paid plan here is Flowise Starter ($35/month). 9 of the 10 have a free plan we could confirm. Every price below is from the vendor’s own page, checked 16–18 Oct 2026.

Ranked shortlist

  1. n8n: Developer-friendly automation with unlimited steps per execution and a self-host option. Plan: Not yet verified
  2. LangGraph: Developer framework for stateful, controllable agents. Plan: Developer: $0/seat per month
    1 seat, 5k base traces/month
  3. OpenAI Agents SDK: OpenAI's lightweight framework for multi-agent workflows. Plan: Open source (MIT)
  4. Google ADK: Google's open-source Agent Development Kit. Plan: Open source (Apache-2.0)
  5. Microsoft Agent Framework: Microsoft's open-source successor to AutoGen and Semantic Kernel agents. Plan: Open source (MIT)
  6. Pydantic AI: Type-safe Python agent framework from the Pydantic team. Plan: Open source (MIT)
  7. Mastra: Open-source TypeScript agent framework. Plan: Starter: $0/month
    100K observability events
  8. Dify: Open-source platform for building LLM apps and agent workflows visually. Plan: Sandbox: Free
    200 message credits
  9. Flowise: Open-source drag-and-drop builder for LLM agents. Plan: Free: $0/month
    2 flows & assistants
  10. Langflow: Open-source visual builder for agents and RAG. Plan: Free and open source, plus a free cloud account

Order follows ToolRank’s editorial ranking in Automation & Agents, filtered to tools that fit this page. Anything we couldn’t confirm on a vendor page says “Not yet verified”.

Side by side

RankToolRelevant planStarting priceFree planBest forMain limitationLast checked
#1n8nNot yet verified€20/month (Starter, billed annually)✕ None listedTechnical teams building complex workflows and AI agentsCloud plans count workflow executions (2.5K/month on Starter); steeper learning curve.16 Oct 2026
#2LangGraphDeveloper: $0/seat per month
1 seat, 5k base traces/month
$39/seat/month (LangSmith Plus)Open-source framework (MIT licence); LangSmith Developer plan $0 with 1 free seat and 5k base traces/monthDevelopers building stateful, controllable AI agents in codeThe framework is free, but hosted deployment and tracing run on LangSmith with per-seat and usage charges18 Oct 2026
#3OpenAI Agents SDKOpen source (MIT)Not yet verifiedOpen source (MIT)Developers building multi-agent workflows with tools and handoffsYou pay your model provider for usage17 Oct 2026
#4Google ADKOpen source (Apache-2.0)Not yet verifiedOpen source (Apache-2.0)Developers building agents on Gemini and Google CloudYou pay your model provider for usage17 Oct 2026
#5Microsoft Agent FrameworkOpen source (MIT)Not yet verifiedOpen source (MIT).NET and Python teams taking agents to production on Microsoft's stackYou pay your model provider for usage17 Oct 2026
#6Pydantic AIOpen source (MIT)Not yet verifiedOpen source (MIT)Python developers who want type-safe agentsA code library: you supply model API keys and hosting17 Oct 2026
#7MastraStarter: $0/month
100K observability events
$250/month (Teams)Starter: free for everyone; self-hosted open-source frameworkTypeScript developers building agentsCloud Teams plan starts high16 Oct 2026
#8DifySandbox: Free
200 message credits
$590/workspace/year (Professional)Sandbox: free, 200 message credits; open-source Community edition free to self-hostTeams building LLM apps with a visual builderCloud plans are billed per workspace per year16 Oct 2026
#9FlowiseFree: $0/month
2 flows & assistants
$35/month (Starter)Free: $0/month, 2 flows and assistantsVisual LLM flow buildingFree cloud plan is limited to 2 flows16 Oct 2026
#10LangflowFree and open source, plus a free cloud accountNot yet verifiedFree and open source, plus a free cloud accountBuilding and deploying agents and MCP servers visuallyCloud limits are not published on the homepage16 Oct 2026

Prices as listed by each vendor on the last-checked date, USD, before tax. Plans and limits change, so follow the sources below.

Who should pick which

Pick n8n for technical teams building complex workflows and AI agents (€20/month (Starter, billed annually)); think twice if you want the simplest no-code setup. Pick LangGraph for developers building stateful, controllable AI agents in code (Developer: $0/seat per month). Watch out: the framework is free, but hosted deployment and tracing run on LangSmith with per-seat and usage charges. Pick OpenAI Agents SDK for developers building multi-agent workflows with tools and handoffs (free plan: Open source (MIT)). Watch out: you pay your model provider for usage. Pick Google ADK for developers building agents on Gemini and Google Cloud (free plan: Open source (Apache-2.0)). Watch out: you pay your model provider for usage. Pick Microsoft Agent Framework for .NET and Python teams taking agents to production on Microsoft's stack (free plan: Open source (MIT)). Watch out: you pay your model provider for usage. Pick Pydantic AI for python developers who want type-safe agents (free plan: Open source (MIT)). Watch out: a code library: you supply model API keys and hosting. Pick Mastra for TypeScript developers building agents (Starter: $0/month). Watch out: cloud Teams plan starts high.

FAQ

Which of these is cheapest?

Flowise Starter ($35/month) is the lowest paid price we verified on this list (https://flowiseai.com, checked 16 Oct 2026). Check the vendor page for tax, billing period and usage limits.

Which of these have a free plan?

LangGraph: Open-source framework (MIT licence); LangSmith Developer plan $0 with 1 free seat and 5k base traces/month; OpenAI Agents SDK: Open source (MIT); Google ADK: Open source (Apache-2.0); Microsoft Agent Framework: Open source (MIT); Pydantic AI: Open source (MIT); Mastra: Starter: free for everyone; self-hosted open-source framework; Dify: Sandbox: free, 200 message credits; open-source Community edition free to self-host; Flowise: Free: $0/month, 2 flows and assistants; Langflow: Free and open source, plus a free cloud account.

How were these tools chosen?

They are the tools in ToolRank's rankings with self-hosting, local use or an open-source licence stated by the vendor, confirmed on the vendor's own website on 16–18 Oct 2026. Tools we could not verify are left out rather than guessed, and anything unconfirmed is marked Not yet verified.

Sources

Related comparisons

Profiles: n8n · LangGraph · OpenAI Agents SDK · Google ADK · Microsoft Agent Framework · Pydantic AI · Mastra · Dify · Flowise · Langflow

More best-of lists

Some links may be affiliate links. They never affect rank.

Get the weekly ToolRank brief

New AI tools, verified price changes and fresh comparisons. One email a week. Unsubscribe anytime.