Research

AI Agent Framework GitHub Rankings May 2026

GitHub star rankings for the top 25 AI agent frameworks in May 2026. LangChain, LangGraph, AutoGen, CrewAI, Pydantic AI, Mastra, browser-use, Cline, Aider, and more, with creation dates, language splits, and category breakdowns.

By Ramanath, CTO & Co-Founder at Presenc AI · Last updated: May 2026

Who Is Winning the Agent Framework Race in May 2026

Three years after LangChain's breakout, the agent framework landscape has stratified into four functional categories: general-purpose orchestration, coding agents, browser and voice automation, and visual workflow builders. This page ranks the 25 most-starred AI agent frameworks on GitHub in May 2026, with creation dates, languages, and category context. Star counts are imperfect popularity proxies, but they are the only public signal that consistently moves in real time across competing projects.

Top 25 AI Agent Frameworks by GitHub Stars (May 14, 2026)

RankRepositoryStarsForksCreatedLanguageCategory
1n8n-io/n8n187,79157,6182019-06TypeScriptWorkflow
2Significant-Gravitas/AutoGPT184,29546,2372023-03PythonGeneral
3langchain-ai/langchain136,70722,6062022-10PythonGeneral
4browser-use/browser-use93,85710,6052024-10PythonBrowser
5cline/cline61,7556,4172024-07TypeScriptCoding
6microsoft/autogen58,0258,7552023-08PythonGeneral
7FlowiseAI/Flowise52,81024,3282023-03TypeScriptWorkflow
8crewAIInc/crewAI51,3807,1032023-10PythonGeneral
9run-llama/llama_index49,3997,4072022-11PythonGeneral / RAG
10BerriAI/litellm46,9328,0372023-07PythonRouting / Proxy
11paul-gauthier/aider44,7964,4092023-05PythonCoding
12agno-agi/agno40,1185,3772022-05PythonGeneral
13stanfordnlp/dspy34,4082,8892023-01PythonGeneral
14langchain-ai/langgraph32,0275,4322023-08PythonGeneral
15microsoft/semantic-kernel27,9024,5982023-02C#General
16huggingface/smolagents27,3022,5832024-12PythonGeneral
17openai/openai-agents-python26,2904,0272025-03PythonGeneral
18deepset-ai/haystack25,2232,7842019-11MDXGeneral / RAG
19vercel/ai24,2204,3922023-05TypeScriptGeneral SDK
20mastra-ai/mastra23,8712,0712024-08TypeScriptGeneral
21letta-ai/letta22,7072,4132023-10PythonMemory / Stateful
22pydantic/pydantic-ai17,0552,0762024-06PythonGeneral
23livekit/agents10,4723,1262023-10PythonVoice
24anthropics/claude-agent-sdk-python6,8609872025-06PythonVendor SDK
25anthropics/anthropic-sdk-python3,4416742023-01PythonVendor SDK

By Category, Star Leaders

CategoryLeaderStarsRunner-upStars
General-purpose orchestrationLangChain136,707AutoGen58,025
Coding agentsCline61,755Aider44,796
Browser / web automationbrowser-use93,857(no close peer)-
Voice agentsLiveKit Agents10,472(no close peer)-
Visual / no-code workflown8n187,791Flowise52,810
Memory / statefulLetta22,707(no close peer)-
Routing / proxyLiteLLM46,932(no close peer)-
Vendor SDKsClaude Agent SDK6,860Anthropic SDK3,441

By Language

LanguageFrameworks in Top 25Combined Stars
Python17~792,000
TypeScript6~444,000
C#1 (Semantic Kernel)~28,000
MDX (Haystack docs)1~25,000

Python is still the dominant language, but TypeScript has captured the visual-workflow and IDE-extension corners (n8n, Flowise, Cline, Vercel AI SDK, Mastra). The 17:6 Python:TypeScript split among general-purpose frameworks understates the TypeScript footprint because the TypeScript projects skew toward end-user applications rather than libraries.

Five Things the Rankings Tell You

  1. n8n is the single largest agent platform on GitHub by stars. Originally a no-code workflow tool predating the LLM era, n8n now leads agent-relevant repositories at 187K stars. The implication: many "agent" workloads in 2026 are actually workflow automation with LLM nodes, not custom orchestration code.
  2. AutoGPT's 184K stars are mostly historical. The repository was created in March 2023 and accumulated most of its stars in the first six months. Star count is a stock not a flow; high totals reflect past velocity and are not a reliable indicator of current activity. Compare commit frequency or contributor count for active-development signal.
  3. browser-use is the fastest-rising new framework. Created October 2024, the repository reached 94K stars in roughly 18 months, a velocity that puts it ahead of every framework launched in 2023 except LangChain itself. The browser-automation category is winner-take-most so far.
  4. Coding agents are an OSS-led category. Cline (62K) and Aider (45K) together exceed the combined star count of every closed proprietary coding agent, and Cline's 18-month rise from launch to 62K mirrors browser-use's trajectory. Open-source momentum is real in coding tooling.
  5. Vendor SDKs lag. Anthropic SDK (3.4K) and Claude Agent SDK (6.9K) have small star counts relative to community frameworks but high relevance-per-star (every Anthropic SDK install is an Anthropic-API user). Vendor-SDK stars are a poor metric for adoption; npm or PyPI download counts capture vendor SDK adoption far better.

What This Means for AI Visibility

Agent frameworks are the substrate of brand-recommendation workflows. When an agent decides which CRM, payment processor, or SaaS tool to surface to its user, that decision happens inside a LangChain chain, a CrewAI crew, a Cline session, or an n8n workflow. Brands optimising for AI visibility should track which frameworks dominate their target use case because each framework has different default retrieval patterns, different prompt templates, and different memory strategies. A brand that ranks well inside a LangChain tool-calling loop may rank differently inside an n8n workflow or a Cline IDE session. Visibility programmes that ignore the framework layer are optimising for the platform but missing the orchestration layer that decides the actual recommendation.

Methodology

Star, fork, creation date, and language data pulled from the public GitHub REST API on May 14, 2026 via the official gh CLI. Repositories selected from the union of (a) the top results for "AI agents" and "LLM agents" in GitHub topic search, (b) the agent frameworks tracked in the State of AI Agents 2026 reports, and (c) the SDKs published by major LLM vendors. The list is not exhaustive; closed-source frameworks (Cursor agents, Replit Agent, Devin, Lindy) are excluded by definition. Star count is a stock-not-flow popularity proxy; for active-development signal use the GitHub Pulse view or commit-frequency tooling. Refreshed quarterly.

How Presenc AI Helps

Presenc AI tracks brand-recommendation outcomes across the major AI platforms whose agents are built on these frameworks. When a brand's recommendation rate inside an agent loop diverges from its rate inside a direct chat prompt, that gap is usually traceable to a framework-level retrieval or tool-selection pattern. For brands building agent-aware visibility strategy, the framework rankings above are the input; the brand-outcome data is what closes the loop.

Frequently Asked Questions

n8n leads at 187,791 stars, though it is a general workflow platform with native AI capabilities rather than a pure agent framework. Among frameworks explicitly built for agents, AutoGPT (184K, though largely historical), LangChain (137K), and browser-use (94K) lead. The category leader varies sharply by definition; the table above ranks by category.
Partially. Stars correlate with awareness but not with active deployment or commercial use. Stars are a stock metric (they accumulate over time and rarely decrease), so high totals reflect historical popularity, not current velocity. For active adoption signal, pair stars with weekly commit count, contributor count, and PyPI or npm download trends.
browser-use launched in October 2024 and addresses a clear gap (general-purpose web automation by AI agents) at a moment when the major vendors (Anthropic Computer Use, OpenAI Operator) made browser-based agents tractable. Network effects compound: more contributors fix more sites, which makes the framework more valuable, which attracts more contributors. Reaching 94K stars in 18 months puts it ahead of every framework launched in 2023 except LangChain itself.
Yes, though competitive intensity has risen sharply. LangChain holds 137K stars (highest among pure agent frameworks) and the parent organisation has shipped LangGraph (32K stars) for stateful orchestration. The 2024 narrative that "LangChain is dying" has not held up against the data; the project continues to ship and the star curve is still positive. Smaller frameworks (Pydantic AI, Mastra, smolagents) attack specific niches but do not yet rival the breadth.
It depends on the workload: LangChain or LlamaIndex for general orchestration, CrewAI for multi-agent role-play, Pydantic AI for typed Python pipelines, Mastra or Vercel AI SDK for TypeScript apps, Cline or Aider for coding agents, browser-use for web automation, LiveKit Agents for voice, n8n or Flowise for no-code workflows, LiteLLM for vendor abstraction. Star count alone is not a selection criterion; match the framework to the problem shape.

Track Your AI Visibility

See how your brand appears across ChatGPT, Claude, Perplexity, and other AI platforms. Start monitoring today.