Top open-source AI agent frameworks in 2026
Ranked by GitHub stars, with 7-day growth and maintainer health beside each, so you can see which big projects are still moving and which have stalled.
The 8 AI agent frameworks we track gained +1,238 stars in the last 7 days. CrewAI leads with 61.5k.
- LangGraph +320
- CrewAI +186
- Google ADK +162
- Mastra +149
- OpenAI Agents SDK +142
- Pydantic AI +113
- smolagents +96
- Agno +70
- Licences
- Apache-2.0, MIT
- Languages
- Python, TypeScript
AI agent frameworks
| # | Self-host (editorial: checked against each project’s own docs) | |||||
|---|---|---|---|---|---|---|
| 01 | CrewAIOrchestrate role-playing AI agent crews | 61.5k ★MIT | Healthy94 of 100 | +186 | ▲up 0.3% over 7 days | Libraryruns in your app no server of its own: a library runs inside your own application, so there is no separate server to price |
| 02 | LangGraphLow-level orchestration framework for stateful agents | 45.8k ★MIT | Healthy92 of 100 | +320 | ▲up 0.7% over 7 days | Libraryruns in your app no server of its own: a library runs inside your own application, so there is no separate server to price |
| 03 | AgnoPython framework and runtime for agent platforms | 43.4k ★Apache-2.0 | Healthy94 of 100 | +70 | ▲up 0.2% over 7 days | Libraryruns in your app no server of its own: a library runs inside your own application, so there is no separate server to price |
| 04 | OpenAI Agents SDKLightweight Python framework for multi-agent workflows | 31k ★MIT | Healthy94 of 100 | +142 | ▲up 0.5% over 7 days | Libraryruns in your app no server of its own: a library runs inside your own application, so there is no separate server to price |
| 05 | smolagentsPython library for agents that write their actions as code | 30.7k ★Apache-2.0 | Active83 of 100 | +96 | ▲up 0.3% over 7 days | Libraryruns in your app no server of its own: a library runs inside your own application, so there is no separate server to price |
| 06 | MastraTypeScript framework for AI agents and workflows | 30k ★Apache-2.0 | Healthy94 of 100 | +149 | ▲up 0.5% over 7 days | Libraryruns in your app no server of its own: a library runs inside your own application, so there is no separate server to price |
| 07 | Google ADKCode-first Python toolkit for building and evaluating AI agents | 22.5k ★Apache-2.0 | Healthy94 of 100 | +162 | ▲up 0.7% over 7 days | Libraryruns in your app no server of its own: a library runs inside your own application, so there is no separate server to price |
| 08 | Pydantic AIPython agent framework with a typed, model-agnostic loop | 21.5k ★MIT | Healthy94 of 100 | +113 | ▲up 0.5% over 7 days | Libraryruns in your app no server of its own: a library runs inside your own application, so there is no separate server to price |
What’s in the AI agents category?
We track 8 AI agent frameworks that clear the bar: a public repository, an open-source, fair-code or source-available licence, and active maintenance. CrewAI leads on adoption with 61.5k stars, while LangGraph gained the most this week (+320). Median growth across the category is +0.5% a week, 5th of 25 categories we track.
CrewAI, LangGraph, Agno, OpenAI Agents SDK, smolagents, Mastra, Google ADK and Pydantic AI are libraries, with no server of their own. Licences in the category: Apache-2.0, MIT. Written in Python, TypeScript.
How this ranking works
- rank
- GitHub stars; re-sort by 7-day growth or health
- health
- Commit recency, release cadence, contributor breadth, issue response
- self-host
- Checked against each project’s own docs
- listing
- Public repo, open-source, fair-code or source-available licence
- as of
- 2026-12-05 00:37 UTC
Rankings are never paid for. A project appears here only if its repository is public and actively licensed. Report a data error · Methodology
Frequently asked about open-source AI agent frameworks
What is the best open-source AI agent framework?
By adoption, CrewAI: 61.5k GitHub stars, MIT-licensed, written in Python, with a maintainer-health score of 94/100 (as of 2026-12-05). LangGraph is the one gaining fastest, at +320 stars in the 7 days to 2026-12-05. "Best" depends on what you are replacing; the table above ranks all 8 by stars and re-sorts by growth or health.
How many open-source AI agent frameworks are there?
We track 8 that meet the bar: a public repository, an open-source, fair-code or source-available licence, and active maintenance. That is a curated index rather than every project in existence. Missing one? Submitting it takes a minute.
Are open-source AI agent frameworks hard to self-host?
CrewAI, LangGraph, Agno, OpenAI Agents SDK, smolagents, Mastra, Google ADK and Pydantic AI are libraries, with no server of their own. Difficulty is checked against each project’s own deployment docs, not inferred from its language or its star count.
How is this ranking decided?
By GitHub stars, read from the GitHub API and rebuilt twice a day. Stars gained in the last 7 days, star velocity and maintainer health sit beside each project, and the table re-sorts by any of them. No vendor can pay to appear or to move up.