Agent frameworks and SDKs
Libraries for building your own agents: model calls, tools, memory, orchestration and multi-agent patterns.
By weekly package downloads, the leaders are AI SDK (47.2M), LangChain (41.1M), Claude Agent SDK (29.3M). By GitHub stars, the leaders are LangChain (150K), MetaGPT (71.4K), CrewAI (61.1K). Among agents with at least 20,000 downloads in the last 30 days, the fastest grower is AgentScope, with downloads up 246%. As of Nov 20, 2026.
-
1
79 41.1M down 2.7% 150K 2d ago 41.1M downloads a week down 2.7% 30dGid 79 Free (OSS)LangChain · Frameworks · LLM application framework
A framework for building LLM applications and agents from composable parts: model integrations, tools, retrievers and prebuilt agent abstractions. Available for Python and JavaScript.
-
2
75 20.1M up 29.2% 45.1K yesterday 20.1M downloads a week up 29.2% 30dGid 75 Free (OSS)LangChain · Frameworks · orchestration framework
A low-level orchestration framework for building stateful agents as graphs, with durable execution, persistence and human-in-the-loop steps. Available for Python and JavaScript.
-
3
68 47.2M up 38.4% 28.1K 2d ago 47.2M downloads a week up 38.4% 30dGid 68 Free (OSS)Vercel · Frameworks · TypeScript AI toolkit
Vercel's TypeScript toolkit for building AI applications and agents, with one API across model providers and UI helpers for streaming.
-
4
64 29.3M up 37.6% 8,588 yesterday 29.3M downloads a week up 37.6% 30dGid 64 Free (OSS)Anthropic · Frameworks · vendor agent SDK
Anthropic's SDK that exposes the agent loop, tools and context management behind Claude Code, for building custom agents in Python and TypeScript.
-
5
63 3.7M up 49.9% 29.6K 2d ago 3.7M downloads a week up 49.9% 30dGid 63 Free (OSS)Mastra · Frameworks · TypeScript agent framework
A TypeScript framework for building agents and AI workflows, with memory, evals, retrieval and observability built in.
-
6
62 7.2M up 38.9% 30.8K 2d ago 7.2M downloads a week up 38.9% 30dGid 62 Free (OSS)OpenAI · Frameworks · vendor agent SDK
OpenAI's lightweight framework for multi-agent workflows, with handoffs, guardrails, sessions and tracing. Available for Python and TypeScript. Per its PyPI page it is provider-agnostic, supporting the OpenAI Responses and Chat Completions APIs as well as 100+ other LLMs.
-
7
59 3.1M up 51.3% 31.4K 2d ago 3.1M downloads a week up 51.3% 30dGid 59 Free (OSS)LangChain · Frameworks · agent harness
A batteries-included agent harness built on LangGraph, with planning, a virtual file system and sub-agents for long-running tasks.
-
8
57 168K up 245.6% 36.3K 4d ago 168K downloads a week up 245.6% 30dGid 57 Free (OSS)Alibaba · Frameworks · open-source multi-agent framework
A Python framework for building multi-agent applications with ReAct agents, tool and MCP management, model abstractions, pipelines and human-in-the-loop controls.
-
9
56 3.1M up 12.9% 22.3K 8d ago 3.1M downloads a week up 12.9% 30dGid 56 Free (OSS)Google · Frameworks · vendor agent SDK
Google's open-source, code-first toolkit for building, evaluating and deploying AI agents, with SDKs for Python, TypeScript, Go, Java and Kotlin.
-
10
56 9M up 3.8% 9,252 7d ago 9M downloads a week up 3.8% 30dGid 56 Free (OSS)AWS · Frameworks · vendor agent SDK
AWS's open-source SDK for building and running AI agents in Python and TypeScript: a model-driven agent loop that runs in your own process with no hosted control plane; the same repository holds a harness, a CLI, MCP support and evals.
-
11
54 193K up 64.0% 30.4K 5mo ago 193K downloads a week up 64.0% 30dGid 54 Free (OSS)Hugging Face · Frameworks · code-agent library
A minimal Hugging Face library for agents that write and run Python code as their actions.
-
12
54 1.5M up 6.9% 39.1K 10d ago 1.5M downloads a week up 6.9% 30dGid 54 Free (OSS)Stanford NLP · Frameworks · prompt programming framework
A framework for programming language models with declarative modules and optimizers instead of hand-written prompts.
-
13
54 3.5M up 51.9% 6,004 17d ago 3.5M downloads a week up 51.9% 30dGid 54 Free (OSS)Cloudflare · Frameworks · edge agent SDK
Cloudflare's SDK for building stateful agents that run on Workers and Durable Objects. Its optional Pi harness support (Pi Durable) is experimental, and each agents release supports one Pi minor version.
-
14
53 918K up 34.2% 38.8K 3d ago 918K downloads a week up 34.2% 30dGid 53 Free + $49/moCopilotKit · Frameworks · open-source agent frontend framework
A full-stack SDK for agent-native application frontends with chat UI, generative UI, shared state and human-in-the-loop for React, Angular, Vue, React Native and chat channels; the team maintains the AG-UI protocol.
-
15
53 1.6M up 21.0% 21.3K yesterday 1.6M downloads a week up 21.0% 30dGid 53 Free (OSS)Pydantic · Frameworks · typed agent framework
A Python agent framework from the Pydantic team, built around type-safe structured outputs, dependency injection and model-agnostic tool calling.
-
16
53 2.3M up 64.9% 6,003 2d ago 2.3M downloads a week up 64.9% 30dGid 53 Free (OSS)Vercel · Frameworks · open-source backend agent framework
A filesystem-first framework for durable backend AI agents in which instructions, tools, skills, channels and schedules live as files in conventional locations; created by Vercel and in beta.
-
17
50 621K up 17.4% 43.2K 3d ago 621K downloads a week up 17.4% 30dGid 50 Free (OSS)Agno · Frameworks · multi-agent framework
A Python framework and runtime for building multi-agent systems with memory, knowledge and tools. Formerly known as Phidata.
-
18
50 608K 0.0% 61.1K yesterday 608K downloads a week 0.0% 30dGid 50 FreeCrewAI · Frameworks · multi-agent framework
A Python framework for orchestrating teams of role-playing agents (crews) and event-driven workflows (flows).
-
19
49 177K up 18.8% 27.1K 10d ago 177K downloads a week up 18.8% 30dGid 49 Free (OSS)deepset · Frameworks · LLM pipeline framework
deepset's open-source framework for building production LLM pipelines and agents, with a focus on retrieval.
-
20
46 613K down 25.5% 52.9K 7d ago 613K downloads a week down 25.5% 30dGid 46 Free + $500/moLlamaIndex · Frameworks · data and agent framework
A framework for building LLM applications and agents over your own data, covering document processing, retrieval and agent workflows.
-
21
42 387K up 45.7% 361 — 387K downloads a week up 45.7% 30dGid 42 Free (OSS)
-
22
40 85K up 11.7% 28.8K 13d ago 85K downloads a week up 11.7% 30dGid 40 Free (OSS)Microsoft · Frameworks · LLM application SDK
Microsoft's model-agnostic SDK for building and orchestrating AI agents and multi-agent systems in Python, .NET and Java, with plugins from native code, prompt templates, OpenAPI specs or MCP, vector-store integrations and local models. Microsoft now presents Microsoft Agent Framework as its successor.
-
23
40 144K up 5.3% 4,114 — 144K downloads a week up 5.3% 30dGid 40 FreeGoogle · Frameworks · vendor agent SDK
Google's Python SDK for building AI agents on the Antigravity agent loop and Gemini models; it handles the agentic loop, tools and state so the developer writes what the agent does. Released alongside Antigravity 2.0.
-
24
39 51.4K up 16.9% 11K 16d ago 51.4K downloads a week up 16.9% 30dGid 39 Free (OSS)VoltAgent · Frameworks · TypeScript agent framework
Open-source TypeScript framework for AI agents with memory, tools, MCP, RAG, guardrails, voice and multi-step workflows, plus supervisor and sub-agent teams; the separate VoltOps console (cloud or self-hosted) adds observability, evals and deployment.
-
25
39 76.3K up 117.1% 753 2d ago 76.3K downloads a week up 117.1% 30dGid 39 Free (OSS)rUv · Frameworks
🛠️ The meta-harness for AI agents — scaffold your own focused, branded agent harness with its own npx CLI, MCP server, memory, learning loop, and witness-signed releases. Works with Claude Code, Codex, pi.dev, Hermes, OpenClaw, and RVM (hardware-isolated sandbox).
-
26
38 56.2K up 38.0% 5,076 5d ago 56.2K downloads a week up 38.0% 30dGid 38 Free (OSS)AG2 · Frameworks · multi-agent framework
A community-driven continuation of the original AutoGen codebase, maintained as an open-source multi-agent framework.
-
27
382/4 — — 12K 9mo ago 12K GitHub starsGid 38 · 2/4 signals —
-
28
362/4 — — 16.2K 6mo ago 16.2K GitHub starsGid 36 · 2/4 signals Free (OSS)HKUDS · Frameworks · agent harness
OpenHarness is an open-source agent harness providing tool use, skills, memory and multi-agent coordination through the oh CLI; it includes ohmo, a personal agent reachable from Feishu, Slack, Telegram and Discord.
-
29
36 17.9K up 8.1% 18K 8mo ago 17.9K downloads a week up 8.1% 30dGid 36 Free (OSS)CAMEL-AI · Frameworks · multi-agent framework
An open-source multi-agent framework and research community focused on agent societies and large-scale simulation.
-
30
34 — — 10.3K 8d ago 10.3K GitHub starsGid 34 Free (OSS)
-
31
33 42.2K down 3.0% 14.7K 7d ago 42.2K downloads a week down 3.0% 30dGid 33 Free (OSS)Microsoft · Frameworks · multi-agent framework
Microsoft's open-source SDK for building, orchestrating and deploying agents and multi-agent workflows in Python and .NET. It is the successor to both AutoGen and Semantic Kernel.
-
32
332/4 — — 11.2K 3d ago 11.2K GitHub starsGid 33 · 2/4 signals Free (OSS)Aden · Frameworks · multi-agent runtime
Open-source runtime for teams of AI agents: a long-lived lead agent with its own memory does the first piece of a job, then hands the rest to parallel worker agents whose results land in a shared tracker you can query, audit and resume.
-
33
312/4 — — 8,458 36d ago 8,458 GitHub starsGid 31 · 2/4 signals Free (OSS)Unicity · Frameworks · agent operating system
Open-source operating system for AI agents that provides the aos CLI, an HTTP API and WebAssembly capsules running on the Astrid runtime, with capability tokens and an audit log recording agent actions.
-
34
302/4 — — 6,510 7d ago 6,510 GitHub starsGid 30 · 2/4 signals Free (OSS)TrueFoundry · Frameworks
The open-source agent harness - the runtime layer that turns an LLM into a working agent.
-
35
25 7,990 up 11.8% 3,461 18d ago 7,990 downloads a week up 11.8% 30dGid 25 Free (OSS)BeeAI · Frameworks · agent framework
An open-source framework for building production agents in Python and TypeScript, started at IBM Research.
-
36
25 1,291 up 11.3% 71.4K 20mo ago 1,291 downloads a week up 11.3% 30dGid 25 Free (OSS)FoundationAgents · Frameworks · multi-agent framework
A multi-agent framework that assigns software-company roles such as product manager, architect and engineer to agents that collaborate on a task.
-
37
24 8,556 down 27.8% 10.3K 16d ago 8,556 downloads a week down 27.8% 30dGid 24 Free (OSS)Alvin · Frameworks
Lean, fine tuned Opencode multi agent suite · Mix any models · Auto delegate tasks
-
38
24 — — 10.7K 2d ago 10.7K GitHub starsGid 24 Free + $10/moGitHub · Frameworks · agent SDK
The GitHub Copilot SDK embeds the Copilot CLI agent runtime in applications, with SDKs for Node.js/TypeScript, Python, Go, .NET, Java and Rust that talk to the Copilot CLI over JSON-RPC. It needs a Copilot subscription or your own model API keys (BYOK).
-
39
22 — — 19.9K 3d ago 19.9K GitHub starsGid 22 Free (OSS)Agent Zero s.r.o. · Frameworks · open-source autonomous agent framework
Open-source agentic framework that runs in Docker with its own Linux environment, using and creating tools, a browser with DOM annotation, a desktop canvas, document editing, MCP and a plugin hub. Controlled through a web UI with your chosen LLM provider; a CLI connector bridges it to the host machine.
-
40
22 11.7K up 9.6% 691 2d ago 11.7K downloads a week up 9.6% 30dGid 22 Free (OSS)Frame.dev · Frameworks · TypeScript agent framework
Open-source TypeScript framework for autonomous AI agents with graph orchestration, memory and personas, published on npm as @framers/agentos.
-
41
21 18.8K down 27.2% 2,060 — 18.8K downloads a week down 27.2% 30dGid 21 Free (OSS)Nous Research · Frameworks
Paperclip adapter for Hermes Agent — run Hermes as a managed employee in a Paperclip company
-
42
21 — — 42.8K 42d ago 42.8K GitHub starsGid 21 Free (OSS)Tiny Humans · Frameworks · agent harness, desktop app and Rust library
Open-source agent harness from Tiny Humans, shipped as a desktop app for macOS, Windows and Linux and as a Rust library for developers. It is built to run large fleets of agents cheaply: the project says more than 500 agents fit on a $10 VPS. The project describes itself as an early beta.
-
43
20 — — 18.3K 6mo ago 18.3K GitHub starsGid 20 Free (OSS)RightNow AI · Frameworks · agent operating system
OpenFang is an open-source agent operating system written in Rust and shipped as a single binary; it runs scheduled autonomous agents ("Hands") with tools, messaging-channel adapters and a local web dashboard.
-
44
19 23.2K down 32.3% 964 12mo ago 23.2K downloads a week down 32.3% 30dGid 19 Free (OSS)Inngest · Frameworks · TypeScript agent framework
A TypeScript library for multi-agent networks with deterministic routing, built on Inngest's durable execution engine.
-
45
19 — — 11.2K 8mo ago 11.2K GitHub starsGid 19 Free (OSS)Alibaba Cloud · Frameworks · open-source agent framework for Java
A Java and Spring framework for agentic, workflow and multi-agent applications, built on Spring AI with graph-based orchestration, context engineering, A2A and MCP support.
-
46
18 5,706 up 5.9% 472 20d ago 5,706 downloads a week up 5.9% 30dSite rank from Nov 4Gid 18 Free (OSS)openJiuwen community · Frameworks · open-source agent platform and SDK
Open-source platform for building production-grade AI agents, made up of Agent Core (Python SDK and runtime for agents, workflows, tool calls and prompt optimization), Agent Studio (low-code visual builder), Agent Runtime, DeepSearch, the JiuwenSwarm multi-agent workspace and a skills hub.
-
47
16 2,909 down 70.0% 25.5K 6mo ago 2,909 downloads a week down 70.0% 30dGid 16 Free + $20/moLetta · Frameworks · stateful agent platform
A platform for stateful agents with long-term memory that persists across sessions. Formerly known as MemGPT.
-
48
16 — — 5,446 — 5,446 GitHub starsGid 16 Free (OSS)Apodex · Frameworks
Open-source agent runtime, terminal app and evaluation suite from Apodex for long-horizon research and file-based work. Its TUI has a single-agent ReAct mode and an Agent Team mode that delegates to parallel sub-agents.
-
49
152/4 78.9K — 18 8d ago 78.9K downloads a weekGid 15 · 2/4 signals Free (OSS)NoeticNewMatt Apperson · Frameworks
Step primitives, interpreter, runtime, and context layer contract for Noetic agents.
-
50
7 — — 5,936 — 5,936 GitHub starsGid 7 Free (OSS)UINewVercel Labs · Frameworks
A library of behaviors for agents to build the next generation of user interfaces.
-
—
— — — 23.9K — 23.9K GitHub stars Free (OSS)
No agents match these filters.
“#” is the position among products of the same kind (agents, frameworks, tooling) by Gid Score, our 0–100 composite of adoption, community, attention and momentum. Use the filters and sorting above, or switch to the table view. Methodology · All AI agents.
What a framework gives you
At its core an agent is a loop: call a model, run the tools it asks for, feed the results back, repeat. A framework supplies the parts around that loop: tool definitions, state and memory, retries, streaming, tracing, human approval steps and ways to coordinate several agents.
The main families
- Vendor SDKs from model providers are thin, track new model features first and work best with that vendor's models.
- Orchestration frameworks model the agent as a graph or workflow with explicit state, which helps with long-running and resumable work.
- Multi-agent frameworks organise work as roles that hand tasks to each other.
- Typed, minimal libraries stay close to plain code and suit teams that want few abstractions.
Reading the numbers
Downloads are a strong signal for libraries, but they count installs in CI and as dependencies of other packages, so a library that many others depend on is downloaded far more often than it is chosen. Use the 30-day change and release cadence to see which projects are gaining ground.
Head-to-head comparisons
Related guides
Anthropic's 90-Minute Claude Managed Agents Course: The Four Official Videos
A viral post calls it a new 90-minute Anthropic course on building agents from scratch. It is a four-part Claude Managed Agents workshop from AI Engineer World's Fair 2026. What each part covers, where the post's timestamps land, and the docs to read for each step.
LangGraph, Mem0, Browser Use and Langfuse: The 4-Layer Agent Stack
A viral post says four repos turn a chatbot into a real agent. We checked LangGraph, Mem0, Browser Use and Langfuse on AgentGid's live data: how much each is used, what the hosted versions cost, the license detail and a better prompt.
Learn AI, LLMs and Agents: 10 GitHub Repos From a Viral List
A viral post lists 10 GitHub repos for learning Python, ML, LLMs and AI agents. We checked each: course facts, licenses, last activity, a link that now leads to a renamed product, two research repos superseded or frozen, and a learning order.
Best AI Agent Frameworks in 2026: LangGraph, CrewAI, OpenAI Agents SDK and More
The AI agent frameworks developers actually use, ranked on live downloads and GitHub data, with a plain guide to which one fits Python, TypeScript, multi-agent or Microsoft-stack work.
LangGraph vs CrewAI vs OpenAI Agents SDK: Which Agent Framework to Use (2026)
Three of the most used agent frameworks compared on design, control, multi-agent support, language support, adoption and release activity, with live data and a decision guide.
What Is MCP (Model Context Protocol)? A Plain Guide and the Most Popular MCP Servers
What the Model Context Protocol is, how MCP servers and clients work, which AI agents support it, how to install a server safely, and the most-starred MCP servers by category.
Questions about agent frameworks and SDKs
What is the most downloaded AI agent framework?
AI SDK, with 47.2M downloads in the last 7 days, then LangChain (41.1M) and Claude Agent SDK (29.3M). Counts include installs as a dependency of other packages.
Do I need a framework to build an AI agent?
No. A basic agent is a short loop around a model API with tool calling. Frameworks pay off when you need persistence, human approval steps, tracing, or coordination between several agents. A step-by-step guide is in [how to build an AI agent](/guides/how-to-build-an-ai-agent/).