Skip to content
StackPick

Jobs · 04

Agent frameworks

The harness around a model

Use this when you are putting an agent inside your own product. Libraries and SDKs for tools, workflows, and multi-step runs — not a finished coding assistant.

Initial editorial estimate. Not a measured benchmark.

Some links may earn us a commission. It never changes scores or order.

Rankings as of

Last updated

  1. 01

    Vercel AI SDK

    Last reviewed

    Best for Streaming AI features in a TypeScript web app

    TypeScript toolkit for streaming, tool calls, and chat UI.

    Alternatives: Mastra, LangChain, Pydantic AI.

    • + Open source and free
    • + The React hooks match how the rest of the app is built
    • − Long-running multi-agent systems will want a thicker framework
    • − You still pick and pay a model provider

    8.5

    FreeVisit
  2. 02

    Mastra

    Last reviewed

    Best for TypeScript agents you keep in your repo

    TypeScript framework for agents, workflows, and evals.

    Alternatives: Vercel AI SDK, LangGraph, Pydantic AI.

    • + TypeScript-native, which matches most indie web stacks
    • + Open source
    • − Another framework to learn if the AI SDK already covers the feature
    • − Hosted pieces, if you use them: check site

    8.0

    FreeVisit
  3. 03

    CrewAI

    Last reviewed

    Best for Role-based multi-agent prototypes in Python

    Multi-agent crews: roles, tasks, and a Python API.

    Alternatives: LangGraph, Mastra, LangChain.

    • + The role-and-task model is easy to explain
    • + The core library is open source
    • − Multi-agent setups multiply cost and failure modes
    • − Hosted platform pricing: check site

    7.7

    FreeVisit
  4. 04

    Pydantic AI

    Last reviewed

    Best for Typed Python agents

    Python agent framework from the Pydantic team, typed end to end.

    Alternatives: Mastra, LangGraph, LangChain.

    • + Open source
    • + Types are the point, which keeps tool I/O honest
    • − Python-only, so it is the wrong pick for a Next.js UI
    • − You still design the tools and pay for the model

    7.6

    FreeVisit
  5. 05

    LangGraph

    Last reviewed

    Best for Agents that are workflows, not a single loop

    Graph-shaped agents with state, from the LangChain team.

    Alternatives: LangChain, Mastra, Pydantic AI.

    • + Open source
    • + State and control flow are explicit
    • − More machinery than a weekend chat endpoint needs
    • − You still bring a model and an opinion about the graph

    7.3

    FreeVisit
  6. 06

    LlamaIndex

    Last reviewed

    Best for Retrieval over your own documents

    A data framework for connecting documents and models.

    Alternatives: LangChain, Mastra, Vercel AI SDK.

    • + Open source
    • + The data and index layer is the focus, and it shows
    • − Easy to overbuild a vector index for a problem search would solve
    • − Hosted LlamaCloud pricing, if you use it: check site

    7.0

    FreeVisit
  7. 07

    LangChain

    Last reviewed

    Best for A general LLM app framework with a huge ecosystem

    The original LLM application framework, plus a hosted LangSmith side.

    Alternatives: LangGraph, LlamaIndex, Mastra.

    • + The library is open source
    • + Docs, integrations, and examples are everywhere
    • − The abstraction surface is large for a weekend agent
    • − Hosted LangSmith pricing, if you use it: check site

    6.7

    FreeVisit

Newsletter

Get the weekly AI tool shortlist

One email when rankings change or a tool ships something that matters. No spam, unsubscribe anytime.