Skip to content
Agentmart
Submit a tool

Alternatives to LangGraph.js

LangGraph.js is an agent framework by LangChain: Open-source agent harness from LangChain for building agents with code, with LangSmith for testing and monitoring. If it doesn't fit your setup, these 12 agent frameworks cover similar ground. They are ordered by how closely they match LangGraph.js and by our rank, which weighs adoption, freshness and documentation; money never changes the order. Pi Agent Core leads the list (more GitHub stars (117.6K)). Each entry shows data reasons to switch, and you can open a side-by-side comparison with LangGraph.js.

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

You're replacing

LangGraph.js

Open-source agent harness from LangChain for building agents with code, with LangSmith for testing and monitoring.

12 alternatives

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

  1. 1

    Minimal TypeScript agent harness with an agent runtime, multi-provider LLM API, terminal UI and coding agent CLI that users extend themselves.

    • More GitHub stars (117.6K)

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

  2. 2
    CopilotKit

    CopilotKit

    Open-source SDK that connects AI agents to app front ends with chat UI, generative UI, shared state and human approvals; creator of the AG-UI protocol.

    • More GitHub stars (38.2K)

    ★ 38.2K↓ 286.2K/wkLast active Oct 24, 2026Compare →

  3. 3
    Deep Agents

    LangChain

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

    • More GitHub stars (30.6K)
    • Supports Python

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

  4. 4
    Mastra

    Mastra

    TypeScript framework for AI agents and apps with graph-based workflows, memory, suspend-and-resume approvals, MCP servers and model routing.

    • More GitHub stars (29.1K)

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

  5. 5

    TypeScript toolkit for AI apps and agents with a unified provider API, streaming, UI hooks and a wrapper for running established agent harnesses.

    • More GitHub stars (27.5K)

    ★ 27.5KLast active Oct 23, 2026Compare →

  6. 6
    LangChain

    LangChain

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

    • More GitHub stars (148.4K)
    • Supports Python

    ★ 148.4K↓ 37.3M/wkLast active Oct 24, 2026

  7. 7
    Langchain.rb

    Patterns AI

    Ruby library for LLM-powered apps with a unified LLM interface, prompt tools, output parsers, RAG and assistants.

    • Supports Ruby

    ★ 2KLast active Oct 21, 2026

  8. 8

    Open-source toolkit for building, evaluating and deploying agents in Python, TypeScript, Go, Java and Kotlin, tuned for Gemini but model-agnostic.

    • More GitHub stars (22K)
    • Supports Python and Go

    ★ 22K↓ 2.4M/wkLast active Oct 24, 2026

  9. 9
    Genkit

    Google

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

    • Supports JavaScript and Go

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

  10. 10
    LlamaIndex

    LlamaIndex

    Open-source Python toolkit for RAG and agents over your own data, with event-driven workflows and 300+ integration packages.

    • More GitHub stars (52.6K)
    • Supports Python

    ★ 52.6K↓ 1.4M/wkLast active Oct 14, 2026

  11. 11

    Open-source Python and TypeScript SDK for model-driven agents, with tools, MCP, multi-agent patterns and streaming.

    • More GitHub stars (8.9K)
    • Supports Python

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

  12. 12
    Ax

    Ax

    DSPy-style toolkit for typed LLM signatures, agents and flows, TypeScript-first with Python, Java, C++, Go and Rust libraries.

    • Supports Python and Java

    ★ 3K↓ 27.2K/wkLast active Oct 21, 2026