Skip to content
Agents tracked: 492 Releases (7d): 545 Agent status: 1 with issuesSince last limit reset: Claude 9d · Codex 7d For AI agents: Markdown Updated Nov 20, 2026

LangChain vs AI SDK

LangChain (LangChain) and AI SDK (Vercel) side by side on public data, as of Nov 20, 2026.

LangChain and AI SDK are close on weekly package downloads (41.1M and 47.2M). LangChain has 5.3x the GitHub stars of AI SDK (150K against 28.1K). Over the last 30 days downloads moved -3% for LangChain and +38% for AI SDK. LangChain shipped 19 stable releases in the past 90 days.

Which should you choose?

Choose LangChain if

  • you prefer the more widely used tool, with more docs and answers around (Gid Score 79 against 68)

Choose AI SDK if

  • you want the one gaining users faster (downloads up 38% in 30 days, +4% in the last 7)

Built from documented features, official prices, status pages and usage data on this page; it does not judge output quality.

Side-by-side numbers

Metric LangChainAI SDK
Gid Score7968
Usage data as ofNov 19Nov 19
Rank by Gid Score#1#3
Downloads, last 7 days41.1M47.2M
Downloads, 7-day changeup 5.7%up 3.9%
Downloads, 30-day changedown 2.7%up 38.4%
VS Code installs——
Marketplace rating——
GitHub stars150K28.1K
Homebrew installs, 30 days——
Hacker News mentions, 30 days664
Latest stable release1.5.2 · 2d ago7.0.177 · 2d ago
Stable releases, 90 days19—
Terminal-Bench (best run)——
PriceFree (OSS)Free (OSS)
LicenseMITApache-2.0
First releasedOctober 2022May 2023
InterfacesPython library, JavaScript libraryTypeScript library
Models——

A dash means there is no public data for that metric as of Nov 20, 2026.

Trends

Downloads per daynpm + PyPI, 7-day average
LangChainAI SDK
GitHub starsrunning total
LangChainAI SDK
Hacker News mentionsrolling 7-day total
LangChainAI SDK

LangChain

A framework for building LLM applications and agents from composable parts: model integrations, tools, retrievers and prebuilt agent abstractions. Available for Python and JavaScript.

Pricing: LangChain is open source and free to use; you pay only for the models and infrastructure it runs on.

Latest release 1.5.2:

  • Changes since langchain==1.5.1
  • release(langchain): 1.5.2 feat(langchain): tag synthetic HITL tool messages with source metadata

Full LangChain profile

AI SDK

Vercel's TypeScript toolkit for building AI applications and agents, with one API across model providers and UI helpers for streaming.

Pricing: AI SDK is open source and free to use; you pay only for the models and infrastructure it runs on.

Latest release 7.0.177:

  • e403988: add an interrupt option to steering so a steer can cancel a model call that has not produced output yet
  • b792b56: feat(ai): ship the AI SDK skill in the package at skills/ai-sdk for pnpm agent skills
  • Updated dependencies [700089c]
  • @ai-sdk/gateway@4.0.150

Full AI SDK profile

LangChain vs AI SDK: common questions

Which is more popular, LangChain or AI SDK?

LangChain has a Gid Score of 79 against 68 for AI SDK. The score combines package downloads, editor installs, GitHub activity and attention, updated daily.