macrostack
Best of · 4 tools ranked

The best AI agent frameworks

Every option ranked — open-source, self-hostable, and commercial — by our transparent Sovereignty Score, with honest trade-offs so you choose what fits you, not us.

The software that lets a model plan, call tools and act over several steps instead of answering once. The fastest-moving category in AI, and almost entirely open source.

L4Models & tooling — layer 4 of the AI stack
  1. 1

    LangGraph

    Top pickOpen source

    Agents as an explicit state graph — the closest thing to what you are leaving.

    Free and open source. LangGraph Platform is an optional paid hosted tier. · in our OpenAI AgentKit comparison →

    92
    sovereignty
    What is LangGraph? →
  2. 2

    OpenClaw

    Open source

    The runaway story of 2026 — 384k stars and MIT-licensed.

    Free and open source. You pay only for whatever model you point it at. · in our OpenAI AgentKit comparison →

    94
    sovereignty
    What is OpenClaw? →
  3. 3

    CrewAI

    Open source

    Agents as a team with roles — the fastest thing here to get working.

    Free and open source. CrewAI Enterprise is a separate commercial platform. · in our OpenAI AgentKit comparison →

    90
    sovereignty
    What is CrewAI? →
  4. 4

    Dify

    Commercial

    The visual builder AgentKit was — but read the licence before you commit.

    Free to self-host within the licence terms. Dify Cloud and a commercial licence are paid. · in our OpenAI AgentKit comparison →

    72
    sovereignty
    What is Dify? →

Is it free?

The free tier, its real limits and where you start paying — read from each vendor's own pricing page and dated.

Run these yourself

What each one actually needs — real RAM, honest running cost, and the setup time nobody quotes.

  • Self-hosting Dify 8 GB. The default compose file starts 16 containers — api, api_websocket, worker, worker_beat, web, plugin_daemon, agent_backend, Weaviate, PostgreSQL, Redis, nginx, two SSRF proxies, two sandboxes and a one-shot init job — and Dify's own macOS instructions ask for a Docker VM with 8 GiB. More if a local model shares the box.

Replacing a specific tool?

Head-to-head comparisons for each popular ai agent frameworks product.

Straight head-to-heads

Two ai agent frameworks tools, side by side — verified facts and a plain verdict.

The Macrostack brief

New swaps, worth your inbox.

A short, occasional email when we add a high-intent alternative or ship a new head-to-head. No spam, no selling your address — unsubscribe in one click.