Skip to content
AgentsIndex

Buyer's guide Agent tools and integrations

Free open source AI agents: six ranked picks

Haystack, Flowise, OpenHands, Mastra, Activepieces and Dify, ranked by open code, self-hosting and price label, with the trade-off each one carries.

Team AgentsIndexPublished Checked How we check9 min readEditorial policy
Logos of Weaviate, Haystack, Flowise, OpenHands, Mastra, Activepieces, Dify, Playwright MCP. 10 tools compared, first 8 shown.

The short answer

Free here describes the software. A self-hosted tool still runs on servers you pay for, and an agent still calls a model that someone bills. Two of the six print a paid step on their price label, and Table 1 shows both.

How the six are ranked

Each pick is a tool for building or running agents that starts free and has code marked open source, in full or in part. Four marks on each listing set the order, applied in turn:

  1. Open source: Yes ranks above Partly.
  2. Self-host: Yes ranks above a mark that is not stated.
  3. Price label: a plain Free ranks above a free start followed by a paid step.
  4. MCP server: where a tie remains, Yes ranks above Partly.

Tools marked open source No stay off the list, even when they start free and can be self-hosted. Weaviate is the example, covered below. The price in the table is the label each listing prints, copied as it stands, and a pick with no published figure shows none.

Before you commit to any of them, check three things yourself: the licence file in the repository, what the free version leaves out, and which costs land on you once agents run every day.

Table 1 Free open source AI agent tools by open source, self-host and MCP marks, checked 9 November 2026
RankToolPrice labelOpen sourceSelf-hostMCP serverListing last verified
1
Haystack
Free
Yes
Yes
Yes
15 November 2026
2
Free
Yes
Yes
Partly
8 November 2026
3
OpenHands
Free Open Source plan, paid plans above it
Yes
Yes
Client, no server of its own
18 November 2026
4
Mastra
Free, then $250 a month
Yes
Not stated
Yes
2 November 2026
5
Free
Partly
Yes
Yes
8 November 2026
6
Free, then $59 a month
Partly
Yes
Yes
7 November 2026
Not ranked
Weaviate
Free plan, paid plans above it
No
Yes
Not stated
15 November 2026

agentsindex.aiHow we check

The price labels for Flowise, Mastra, Activepieces and Dify were read on 8 and 9 November 2026. The other rows show the day each listing was last checked.

1. Haystack

Suits Python developers who want agents and RAG as pipelines they own: Haystack is an Apache-2.0 framework from deepset for composing agents and RAG as modular, serializable pipelines. The framework is free with no usage limits from deepset, and it installs with pip, with no sales call, signup or vendor account. It runs in the cloud, self-hosted or on-prem. deepset publishes its own MCP server on GitHub, and Hayhooks serves a pipeline or agent as REST endpoints, including OpenAI-compatible chat endpoints, so the rest of your stack can call it.

What you give up is paid support at a known price. Haystack Enterprise support and the Enterprise Platform are priced on a quote that deepset says depends on company size, and no rate card is published. Its security policy leaves prompt injection through retrieved documents to the application, so a team that feeds it untrusted documents has to build its own defences. Anonymized usage telemetry is on by default, and you can switch it off. You also pay your own model and infrastructure costs. The framework and its paid offers are set out on the Haystack home page.

2. Flowise

It ranks second on the last tiebreak: its MCP server mark reads Partly, where Haystack’s reads Yes. If your agents will reach other tools through MCP, confirm which parts Flowise supports before you design around it. Its listing was last verified on 8 November 2026, so check the current terms on the day you start. A team with people to run its own servers gets open code and a free start here, and gives up a full MCP mark.

3. OpenHands

Suits software teams that want a coding agent they host themselves: OpenHands is an MIT-licensed, model-agnostic coding agent platform you self-host, able to run Claude Code or Codex with its own agent. Its Open Source plan is free, runs on your laptop or a shared VM, and serves a single user or a shared identity. Automations start from GitHub, Slack, Jira, Linear and schedules. Agents open the pull request, and the vendor’s pages leave the merge to a person.

It ranks third because paid plans sit above the free one. The free plan has no RBAC, SSO or budgeting; those come with the paid Teams plan, which offers a trial. Every plan needs your own LLM key, so model spend is a separate bill that the pricing page does not estimate. Teams support is by email, and SLA response times are reserved for Enterprise. A managed cloud is offered without a published price. On MCP, OpenHands works as a client to outside tool servers and documents no MCP server of its own.

4. Mastra

Its price label reads Free, then $250 a month. It is listed among app-connectivity, gateway and runtime tools marked MCP server Yes. It ranks fourth, below three tools with the same open source mark, because its self-host mark is not stated. If running on your own servers is the reason you want open source, confirm that the parts you need can be self-hosted before you build on it. Read what the free start covers before you count on staying there.

5. Activepieces

Suits teams that build flows and want to run them on their own servers: Activepieces is marked self-host Yes and MCP server Yes, and its price label reads Free. Its pricing runs on monthly credits, with unlimited flows on every plan, and paid plans sit above the free one. It ranks fifth because its code is marked open source Partly, below the four marked Yes. Before you treat it as open source in full, read which parts its licence covers, and check how the monthly credits match the work you plan to run.

6. Dify

Suits teams that want agents, agentic workflows and RAG pipelines with a choice of cloud or self-hosting: Dify is a platform for building agents, agentic workflows and RAG pipelines, on cloud or self-hosted. Its listing marks self-host Yes, MCP server Yes and an API. Its price label reads Free, then $59 a month. It ranks sixth because its code is marked open source Partly and its label carries a paid step. If you plan to build a product for other companies on top of it, read its licence before you write code.

Free to run is not the same as open source

Weaviate is a useful warning. It is an AI retrieval database with hybrid search and RAG, it has a free plan, and you can host it yourself. Its listing still marks it open source No: the licence file in its GitHub repository puts code under a proprietary licence. Its MCP server mark is not stated. That keeps it off the ranked list.

The point reaches past one database. A tool you can download and run on your own servers may still limit what you can change or resell. If your plan depends on editing the code or shipping it inside your own product, read the licence file first, whichever tool you pick.

Open source tools to plug into an agent

Three free listings marked open source Yes come from the tool side of the index rather than the builder side.

  • Playwright MCP is described on its listing as an official MCP server, marked open source Yes with a starting price of Free. Its MCP server mark still reads Not stated, so read the project’s own docs before you rely on it.
  • Crawl4AI is listed among browser, phone and web-data tools marked MCP server Yes, with code marked open source Yes. Its label reads Free, then $10 a month, and its self-host mark is not stated.
  • Milvus sits among data, search-index and retrieval tools marked MCP server Yes. Its label reads Free and its code is marked open source Yes. Its self-host mark is not stated.

How to choose

  • If you write Python and want RAG and agents in one framework: start with Haystack, and budget for your own model and servers.
  • If you want a coding agent on your own machines: OpenHands, with your own LLM key.
  • If you want open code, self-hosting and a plain Free label: Haystack or Flowise.
  • If you build flows and want unlimited flows on every plan: Activepieces, with a Partly open source mark.
  • If you want the choice of cloud or self-hosted for agents and RAG pipelines: Dify.
  • If the agent needs web data: Crawl4AI.

The agent frameworks category and the coding agents category list more tools beside these six.

Questions buyers ask

Are free open source AI agents really free to run?

The software can be. Haystack is free with no usage limits from deepset, and you pay your own model and infrastructure costs. OpenHands is free on its Open Source plan, but every plan needs your own LLM key, so model spend is a separate bill.

Which free open source AI agents can I self-host?

Haystack, Flowise, OpenHands, Activepieces and Dify are all marked self-host Yes. Mastra’s self-host mark is not stated, so confirm it before you plan around your own servers. Weaviate can also be self-hosted, but it is marked not open source.

Is Dify open source?

In part. Dify’s code is marked open source Partly, and it runs on cloud or self-hosted. Its price label reads Free, then $59 a month.

Is there a free open source AI coding agent?

Yes. OpenHands is an MIT-licensed coding agent platform you self-host, with a free Open Source plan. It is able to run Claude Code or Codex with its own agent, and it needs your own LLM key.

Is Weaviate open source?

Its listing marks it open source No, since the licence file in its GitHub repository puts code under a proprietary licence. It has a free plan and can be self-hosted. Read the licence before you build a product on it.

Sources

On this page
  1. The short answer
  2. How the six are ranked
  3. Free to run is not the same as open source
  4. Open source tools to plug into an agent
  5. How to choose
  6. Questions buyers ask
  7. Sources

Top of agent tools and integrations

The category page
Show the whole category

More of our research