Skip to content
Agentmart
Submit a tool

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

  1. 1
    LlamaIndex

    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

  2. 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

  3. 3
    Genkit

    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

  4. 4
    Ax

    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

  5. 5
    LangChain

    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

  6. 6
    PraisonAI

    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

  7. 7
    LangGraph

    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

  8. 8
    BeeAI 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

  9. 9

    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

  10. 10
    DSPy

    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

  11. 11
    Pydantic 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

  12. 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

  13. 13
    CrewAI

    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

  14. 14
    stagehand

    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

  15. 15

    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