Best for: TypeScript developers building agents into web apps
Open-source TypeScript framework for AI agents and workflows with memory, tools, evals and a local Studio.
StandoutNative TypeScript with Next.js, React, Express and Hono integrations
Watch out forTypeScript/JavaScript only; needs Node.js 22.18 or later
Starting price
Free (open source); Cloud Teams $250/mo
Free trial
Free Mastra Cloud Starter
Languages
TypeScript, JavaScript
How AI agent framework pricing works
Every AI agent framework on this page is free to download. LangGraph, CrewAI, OpenAI Agents SDK, Microsoft Agent Framework and LlamaIndex use the MIT license. Google ADK uses Apache 2.0 and so does Mastra's core. The Claude Agent SDK is free to install but runs under Anthropic's Commercial Terms.
Your main running cost is the model. You pay your model provider for the API calls your agents make. With the Claude Agent SDK that means per-token Claude API rates billed to your API key. Microsoft Agent Framework and Google ADK only add usage-based cloud pricing if you host on Microsoft Foundry or Google Cloud.
Some frameworks sell optional hosting or tooling. LangSmith Developer is $0 per seat/month with no deployment access and LangSmith Plus is $39 per seat/month with 1 free small serverless deployment. CrewAI AMP Basic is free with 50 workflow executions a month, then Enterprise is custom pricing. Mastra Cloud has a free Starter tier and Teams at $250/month. LlamaParse is free with 10,000 credits and Starter is $50/month. The OpenAI Agents SDK has no official hosting, so you deploy it yourself.
What we check
Languages
We list every supported language and flag versions in preview or deprecated, like Go on Microsoft Agent Framework and TypeScript on LlamaIndex.
License
We check whether the code is under MIT, Apache 2.0 or commercial terms, since that affects how you can use it.
Model choice
We note whether a framework works with many model providers or is tied to one, as the Claude Agent SDK is to Claude models.
True monthly cost
We separate the free framework from paid hosting and model API bills so you can see what you will actually pay.
Production features
We look for memory, tracing, guardrails, human-in-the-loop steps and recovery from failures.
Every fact comes from the vendor’s official site. How we review
How to choose
If you need long-running agents with fine control over state:LangGraph. Durable execution, built-in memory and human-in-the-loop steps suit teams building production agents.
If you want a team of role-based agents up and running fast:CrewAI. Its simple role and task model sets up multi-agent crews quickly, with Flows when you need more control.
If you build web apps in TypeScript:Mastra. It is native TypeScript with Next.js, React, Express and Hono integrations plus built-in memory, workflows and evals.
If your agents must read and search large sets of documents:LlamaIndex. It has deep tooling for document ingestion, retrieval and RAG plus 300+ integration packages.
FAQ: AI agent frameworks
What is an AI agent framework?
An AI agent framework is a code library developers use to build their own AI agents. It gives you building blocks such as the agent loop, tools, memory and handoffs between agents. LangGraph models agents as graphs with durable execution, while the OpenAI Agents SDK keeps to a small set of building blocks with tracing and guardrails built in.
Which AI agent frameworks are open source?
Most frameworks on this page are open source. LangGraph, CrewAI, OpenAI Agents SDK, Microsoft Agent Framework and LlamaIndex are MIT licensed. Google ADK is Apache 2.0 and so is Mastra's core, though its enterprise features sit under a separate license. The Claude Agent SDK is the exception: its Python repo is MIT but use is governed by Anthropic's Commercial Terms.
How do I choose an AI agent framework?
Start with your language and your model. TypeScript teams lean toward Mastra, .NET teams toward Microsoft Agent Framework and Google ADK covers the most languages with Python, TypeScript, Go, Java and Kotlin. If you need fine control over long-running agents, LangGraph fits best. If you want multi-agent teams with less setup, CrewAI is easier to start with. LangChain vs LangGraph →
Are AI agent frameworks free?
The frameworks are free, but you pay for the model API calls your agents make. Paid plans cover optional hosting and tooling: LangSmith Plus is $39 per seat/month, Mastra Cloud Teams is $250/month, LlamaParse Starter is $50/month and CrewAI AMP Enterprise is custom pricing. Free hosted tiers exist too, such as CrewAI AMP Basic with 50 workflow executions a month and Mastra Cloud Starter.
Head-to-head comparisons
Side-by-side guides from the Klyvoo team on the tools in this list.
Every price on Klyvoo comes from the vendor’s official pricing page. How we review
Manage Consent
To provide the best experiences, we use technologies like cookies to store and/or access device information. Consenting to these technologies will allow us to process data such as browsing behavior or unique IDs on this site. Not consenting or withdrawing consent, may adversely affect certain features and functions.
Functional
Always active
The technical storage or access is strictly necessary for the legitimate purpose of enabling the use of a specific service explicitly requested by the subscriber or user, or for the sole purpose of carrying out the transmission of a communication over an electronic communications network.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
The technical storage or access that is used exclusively for statistical purposes.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
The technical storage or access is required to create user profiles to send advertising, or to track the user on a website or across several websites for similar marketing purposes.