Skip to content
Agentmart
Submit a tool

Alternatives to LangChain

LangChain is an agent framework by LangChain: Python framework of interoperable components and integrations for building agents and LLM apps, with LangGraph and Deep Agents layered above it. If it doesn't fit your setup, these 12 agent frameworks cover similar ground. They are ordered by how closely they match LangChain and by our rank, which weighs adoption, freshness and documentation; money never changes the order. LlamaIndex leads the list (52.6K GitHub stars; active in the last 30 days). Each entry shows data reasons to switch, and you can open a side-by-side comparison with LangChain.

Updated Oct 26, 2026 · Built from catalog data; how we rank and grade

You're replacing

LangChain

Python framework of interoperable components and integrations for building agents and LLM apps, with LangGraph and Deep Agents layered above it.

12 alternatives

Ordered by how closely each matches LangChain (shared product, category or stated alternative) and by rank.

  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

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

    • Supports TypeScript

    ★ 8.9K↓ 8.9M/wkLast active Oct 24, 2026Compare →

  3. 3

    Multi-language SDKs for embedding the GitHub Copilot agent runtime, with planning, tool calls and file edits, in your apps.

    • Supports TypeScript and Go

    ★ 10.6K↓ 1.2M/wkLast active Oct 24, 2026Compare →

  4. 4
    Genkit

    Google

    Open-source Firebase framework for AI features and agent workflows in JavaScript, Go, Python and Dart, with model plugins.

    • Supports TypeScript and JavaScript

    ★ 6.5K↓ 95.8K/wkLast active Oct 23, 2026Compare →

  5. 5
    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
    • Most weekly downloads here (13.1M)

    ★ 43.8K↓ 13.1M/wkLast active Oct 24, 2026

  6. 6
    Deep Agents

    LangChain

    Opinionated agent harness on LangGraph with sub-agents, filesystem access, context management, persistent memory and approval of tool calls.

    • Supports TypeScript

    ★ 30.6K↓ 1.9M/wkLast active Oct 24, 2026

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

    ★ 38.8K↓ 1.3M/wkLast active Oct 22, 2026

  8. 8
    CrewAI

    CrewAI

    Open-source Python framework for multi-agent workflows, with role-based Crews and event-driven Flows.

    • Most GitHub stars here (60,066)
    • Active in the last 30 days

    ★ 60.1K↓ 644.6K/wkLast active Oct 24, 2026

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

    • Supports TypeScript and Go

    ★ 25.8K↓ 996K/wkLast active Oct 23, 2026Compare →

  10. 10

    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

    ★ 8.3K↓ 7.9M/wkLast active Oct 24, 2026Compare →

  11. 11
    Agno

    Agno

    Python framework and runtime for building agents, serving them over a REST API and MCP server, and managing them from a web control plane.

    • 42.9K GitHub stars
    • Active in the last 30 days

    ★ 42.9K↓ 519.4K/wkLast active Oct 24, 2026Compare →

  12. 12

    Framework for Python or Node.js programs that join LiveKit rooms as realtime voice and video agents.

    • Supports JavaScript

    ★ 14.9K↓ 963.9K/wkLast active Oct 24, 2026