Vercel AI SDK
Free open source TypeScript toolkit from Vercel for building AI apps and agents across many model providers.
6 tools you can use instead of LangGraph, ranked by live GitHub stars and npm downloads. Vercel AI SDK, Mastra and CrewAI are the most used. Stats updated 14 hours ago.
It is a weaker choice for:
Most used first.
Free open source TypeScript toolkit from Vercel for building AI apps and agents across many model providers.
TypeScript framework for AI agents and workflows, Apache 2.0 licensed, with a managed platform.
MIT-licensed Python framework for multi-agent workflows, with a paid platform for deployment.
Open source data framework for connecting language models to your own data, plus a paid parsing platform.
Python framework from Stanford NLP for programming language model systems instead of writing prompts.
Open source Python framework from deepset for building LLM applications, RAG pipelines and agents.
| Tool | Pricing | Free plan | Paid from | Open source | GitHub stars |
|---|---|---|---|---|---|
| LangGraph | Open source | The framework is free and open source. LangSmith has a Developer plan at $0 per seat a month, with up to 5k base traces a month. | $39 per seat a month for LangSmith Plus | Yes, MIT | 45.3k |
| Vercel AI SDK | Open source | The library is free and open source. You pay the model providers you call. | Not listed | Yes, Apache-2.0 | 28.1k |
| Mastra | Open source | The self-hosted framework is free. The managed Free plan is $0 a month with 100K observability events and 40 vCPU-hours included. | $25 a month for Starter | Yes, Apache-2.0 (core), Mastra Enterprise License (ee directories) | 29.7k |
| CrewAI | Open source | The framework is free and open source. The hosted Basic plan is $0 a month with 50 executions a month. | Enterprise: custom quote | Yes, MIT | 61.2k |
| LlamaIndex | Freemium | Yes: the LlamaIndex framework is free and open source; LlamaParse has a free tier with 10,000 credits | $50 a month for the LlamaParse Starter plan | Yes, MIT | 53k |
| DSPy | Open source | Yes: free and open source | Not listed | Yes, MIT | 39.2k |
| Haystack | Open source | Yes: the framework is free and open source | Not listed | Yes, Apache-2.0 | 27.1k |
Pricing facts come from each tool's official pricing page, with the checked date on the tool's own page.
By GitHub stars, Vercel AI SDK is the most used alternative to LangGraph listed on ScratchDB, with 28.1k stars.
Vercel AI SDK, Mastra, CrewAI, LlamaIndex, DSPy and Haystack are open source.
LlamaIndex, DSPy and Haystack have a free plan. The table on this page shows what each one includes.