Best agent frameworks for Python
We found 117 agent frameworks for Python in the catalog; these are the 15 that rank highest. The order comes from our rank, which weighs adoption, freshness, documentation and publisher identity. Nobody can pay for a place on this list. LlamaIndex, Strands Agents and Genkit lead it. LangChain has the most GitHub stars here (148,371). 15 of the 15 had activity in the last 30 days. Each entry lists why it made the list and links to its install page.
Updated Oct 26, 2026 · Built from catalog data; how we rank and grade
Top 15 of 117
- 1LlamaIndex
LlamaIndex
Open-source Python toolkit for RAG and agents over your own data, with event-driven workflows and 300+ integration packages.
- 52.6K GitHub stars
- Active in the last 30 days
- Open source (MIT)
★ 52.6K↓ 1.4M/wkLast active Oct 14, 2026
AFreshness: A–Security: not graded yet - 2
Open-source Python and TypeScript SDK for model-driven agents, with tools, MCP, multi-agent patterns and streaming.
- 8.9K GitHub stars
- Active in the last 30 days
- Open source (Apache-2.0)
★ 8.9K↓ 8.9M/wkLast active Oct 24, 2026
AFreshness: A–Security: not graded yet - 3Genkit
Google
Open-source Firebase framework for AI features and agent workflows in JavaScript, Go, Python and Dart, with model plugins.
- 6.5K GitHub stars
- Active in the last 30 days
- Open source (Apache-2.0)
★ 6.5K↓ 95.8K/wkLast active Oct 23, 2026
AFreshness: A–Security: not graded yet - 4Ax
Ax
DSPy-style toolkit for typed LLM signatures, agents and flows, TypeScript-first with Python, Java, C++, Go and Rust libraries.
- 3K GitHub stars
- Active in the last 30 days
- Open source (Apache-2.0)
★ 3K↓ 27.2K/wkLast active Oct 21, 2026
AFreshness: A–Security: not graded yet - 5LangChain
LangChain
Python framework of interoperable components and integrations for building agents and LLM apps, with LangGraph and Deep Agents layered above it.
- Most GitHub stars here (148,371)
- Most weekly downloads here (37.3M)
- Active in the last 30 days
★ 148.4K↓ 37.3M/wkLast active Oct 24, 2026
AFreshness: A–Security: not graded yet - 6PraisonAI
Mervin Praison
Python framework for multi-agent teams and workflows, with a CLI and Docker, MCP and A2A deployment options.
- 9.3K GitHub stars
- Active in the last 30 days
- Open source (MIT)
★ 9.3K↓ 4.6K/wkLast active Oct 24, 2026
AFreshness: A–Security: not graded yet - 7LangGraph
LangChain
Low-level Python orchestration framework for long-running stateful agents, with durable execution, human review points and short- and long-term memory.
- 43.8K GitHub stars
- Active in the last 30 days
- Open source (MIT)
★ 43.8K↓ 13.1M/wkLast active Oct 24, 2026
AFreshness: A–Security: not graded yet - 8BeeAI Framework
IBM / Linux Foundation
Python and TypeScript framework for multi-agent systems, with MCP and A2A interop, YAML orchestration and OpenTelemetry tracing.
- 3.4K GitHub stars
- Active in the last 30 days
- Open source (Apache-2.0)
★ 3.4K↓ 5.4K/wkLast active Oct 23, 2026
AFreshness: A–Security: not graded yet - 9GitHub Copilot SDK
GitHub
Multi-language SDKs for embedding the GitHub Copilot agent runtime, with planning, tool calls and file edits, in your apps.
- 10.6K GitHub stars
- Active in the last 30 days
- Open source (MIT)
★ 10.6K↓ 1.2M/wkLast active Oct 24, 2026
AFreshness: A–Security: not graded yet - 10DSPy
Stanford NLP
Python framework for writing language-model programs as code and optimizing their prompts and weights instead of hand-tuning prompts.
- 38.8K GitHub stars
- Active in the last 30 days
- Open source (MIT)
★ 38.8K↓ 1.3M/wkLast active Oct 22, 2026
AFreshness: A–Security: not graded yet - 11Pydantic AI
Pydantic
Typed Python SDK for building agents with swappable model providers, plus optional capabilities for memory, sub-agents, planning and durable execution.
- 20.8K GitHub stars
- Active in the last 30 days
- Open source (MIT)
★ 20.8K↓ 1.5M/wkLast active Oct 24, 2026
AFreshness: A–Security: not graded yet - 12
Open-source toolkit for building, evaluating and deploying agents in Python, TypeScript, Go, Java and Kotlin, tuned for Gemini but model-agnostic.
- 22K GitHub stars
- Active in the last 30 days
- Open source (Apache-2.0)
★ 22K↓ 2.4M/wkLast active Oct 24, 2026
AFreshness: A–Security: not graded yet - 13CrewAI
CrewAI
Open-source Python framework for multi-agent workflows, with role-based Crews and event-driven Flows.
- 60.1K GitHub stars
- Active in the last 30 days
- Open source (MIT)
★ 60.1K↓ 644.6K/wkLast active Oct 24, 2026
AFreshness: A–Security: not graded yet - 14stagehand
browserbase
SDK for browser agents with act, observe and extract calls, used from TypeScript and Python to automate sites and pull out structured data.
- 25.8K GitHub stars
- Active in the last 30 days
- Open source (MIT)
★ 25.8K↓ 996K/wkLast active Oct 23, 2026
AFreshness: A–Security: not graded yet - 15Claude Agent SDK (Python)
Anthropic
Python SDK that runs the Claude Code agent loop inside your own program, with custom tools and hooks written as Python functions.
- 8.3K GitHub stars
- Active in the last 30 days
- Open source (MIT)
★ 8.3K↓ 7.9M/wkLast active Oct 24, 2026
AFreshness: A–Security: not graded yet
Related
- ComparisonLlamaIndex vs Strands Agents
- ComparisonLangChain vs Strands Agents
- ComparisonGitHub Copilot SDK vs LangChain
- ComparisonGitHub Copilot SDK vs LlamaIndex
- ComparisonGenkit vs LangChain
- AlternativesAlternatives to LlamaIndex
- AlternativesAlternatives to Strands Agents
- AlternativesAlternatives to Genkit
- AlternativesAlternatives to Ax
- AlternativesAlternatives to LangChain
- Best ofBest agent skills for Python