Enterprise DNA
Directories / Alternatives / LangChain

Open Source Alternatives

Open source alternatives to LangChain

Open source alternatives to LangChain, ranked by GitHub stars and freshness.

20 open-source alternatives in the index, ranked by GitHub stars and freshness.

O OSS Orchestration medium

Llmware

Community

Unified framework for building enterprise RAG pipelines with small, specialized models

★ 14,848 updated 17d ago
open-source

Best for: Teams building enterprise document search and QA systems who want to optimize costs by using specialized models instead of large LLMs.

O OSS Orchestration medium

TypeChat

Community

TypeChat is a library that makes it easy to build natural language interfaces using types.

★ 8,658 updated 2d ago
open-source

Best for: Developers building type-safe natural language interfaces in TypeScript

O OSS Framework medium

AdalFlow

Community

AdalFlow: The library to build & auto-optimize LLM applications.

★ 4,157 updated 5d ago
open-source

Best for: Python developers who want to streamline LLM application development with built-in optimization.

O OSS Framework medium

Langroid

Community

Harness LLMs with Multi-Agent Programming

★ 4,027 updated 2d ago
open-source

Best for: Developers building multi-agent LLM systems with Python

O OSS Framework medium

LazyLLM

Community

Easiest and laziest way for building multi-agent LLMs applications.

★ 3,839 updated 2d ago
open-source

Best for: Developers seeking a low-friction way to build and test multi-agent LLM applications

O OSS Framework medium

OpenAGI

Community

OpenAGI: When LLM Meets Domain Experts

★ 2,264 updated 1y ago
open-source

Best for: Developers building LLM agents that need to invoke specialized domain tools

O OSS Orchestration medium

llm-chain

Community

llm-chain is a powerful rust crate for building chains in large language models allowing you to summarise text and complete complex tasks

★ 1,600 updated 1y ago
open-source

Best for: Rust developers building high-performance, multi-step LLM workflows for production systems

O OSS Framework medium

ModelFusion

Community

The TypeScript library for building AI applications.

★ 1,320 updated 1y ago
open-source

Best for: TypeScript developers building multi-model AI applications who want a lightweight, unified framework.

O OSS Orchestration medium

MiniChain

Community

A tiny library for coding with large language models.

★ 1,233 updated 1y ago
open-source

Best for: Developers who want a lightweight, educational tool for simple LLM chaining experiments.

O OSS Framework medium

LiteChain

Community

Build robust LLM applications with true composability 🔗

★ 421 updated 2y ago
open-source

Best for: Developers who want a simple composable framework for LLM applications without heavy overhead

O OSS Orchestration medium

Rigging

Community

Lightweight LLM Interaction Framework

★ 411 updated 21d ago
open-source

Best for: Python developers who want a simple, no-frills way to call LLMs in scripts or small applications.

O OSS Orchestration medium

LLFn

Community

A light-weight framework for creating applications using LLMs

★ 96 updated 2y ago
open-source

Best for: Developers who need a simple, no-frills framework for quickly integrating LLMs into Python projects.

O OSS Obs medium

Intelli

Community

Build multi-model chatbots and agents from intent.

★ 55 updated 1mo ago
open-source

Best for: Developers testing multi-model agent patterns on a small scale.

O OSS Framework medium

Command R-35B

Community

We’re on a journey to advance and democratize artificial intelligence through open source and open science.

open-source

Best for: Developers and researchers who want an open source framework for AI experimentation and community contribution

O OSS Framework medium

Epsilla

Community

An all-in-one LLM Agent platform with your private data and knowledge, delivers your production-ready AI Agents on Day 1.

open-source

Best for: Developers who need to quickly create AI agents that leverage private data in a production setting

O OSS Framework medium

Haystack

Community

Create agentic, context engineered AI systems using Haystack’s modular and customizable building blocks, built for real-world, production-ready applications.

open-source

Best for: Developers building custom, production-ready AI pipelines with modular components.

O OSS RAG medium

LlamaIndex

LlamaIndex

The data framework for LLM apps. RAG, ingestion, structured extraction, agents over your data.

open-source

Best for: Teams whose agent value comes from their own data, not just the model

O OSS Framework low

Mastra

Mastra

TypeScript-first agent framework. Workflows, agents, tools, memory, evals, in one consistent shape.

open-source

Best for: TypeScript teams who want a single agent framework, not a stack

O OSS Framework medium

Semantic Kernel

Microsoft

Microsoft's enterprise-flavoured framework for AI agents. .NET-first, with Python and Java siblings.

open-source

Best for: .NET and enterprise teams adopting AI agents

O OSS SDK one click

Vercel AI SDK

Vercel

The de facto TypeScript SDK for AI apps. Streaming, tools, multi-model, and now an agent loop.

open-source

Best for: TypeScript teams shipping AI features in production