Skip to content

The best LangChain alternatives

8 tools that do a similar job to LangChain, 8 of them open source. Each entry says what it does and who it suits, so you can pick the one that fits instead of the most famous.

You're replacing

LangChain

A Python framework for building AI agents and apps powered by language models.

  1. 1

    LlamaIndex

    Open source · MIT · ★ 52.8k

    Python framework for building LLM apps that query your own documents and data.

    Best for: Python developers building retrieval-augmented generation (RAG) apps over private documents; Teams wanting a modular toolkit where they can swap LLM, embedding and vector store providers

  2. 2

    Semantic Kernel

    Open source · MIT · ★ 28.7k

    Open-source SDK for building AI agents and multi-agent apps in Python, .NET and Java.

    Best for: Developers already using Azure OpenAI or OpenAI who want a structured SDK for agents; Teams working in .NET, Python or Java who want one framework across languages

  3. 3

    CrewAI

    Open source · MIT · ★ 60.4k

    Python framework for building teams of role-playing AI agents that work together on tasks.

    Best for: Python developers prototyping multi-agent workflows; Teams that want role-based agents collaborating on a task

  4. 4

    OpenUI

    Open source · MIT · ★ 14.7k

    Open standard and toolkit for AI models to generate and stream live user interfaces.

    Best for: Developers adding AI-generated charts, forms, or tables to a web app; Teams building chat assistants or copilots that answer with interactive UI

  5. 5

    VoltAgent

    Open source · MIT · ★ 10.9k

    TypeScript framework and platform for building AI agents with memory, tools, workflows, and observability.

    Best for: TypeScript or Node.js developers building AI agents; Teams that want multi-agent setups with a supervisor routing tasks to sub-agents

  6. 6

    Quivr

    Open source · MIT · ★ 39.6k

    Open-source engine that ingests content streams and makes them searchable and monitorable, in evaluation stage

    Best for: Developers building a search or monitoring pipeline over a stream of documents; Teams who want to evaluate a self-hosted, plugin-based ingestion and search engine

  7. 7

    Egg

    Open source · MIT · ★ 19k

    A Node.js framework built on Koa for building larger server-side apps, with plugins and process management.

    Best for: Teams building larger Node.js backend applications that need structure; Developers who already know Koa and want a more opinionated layer on top

  8. 8

    Eliza

    Open source · MIT · ★ 19.8k

    An open-source TypeScript framework and app stack for building autonomous AI agents.

    Best for: Developers who want to build AI agents or plugins in TypeScript; People who want a personal AI assistant they can run on their own hardware or with their own provider keys

How we pick: tools in the same category that solve the same problem, projects that name each other as alternatives, and open-source projects that describe themselves as an alternative to LangChain. We don't take payment for placement.