# langchain-ai/langchainjs

The agent engineering platform

Repository: https://github.com/langchain-ai/langchainjs
Canonical: https://ross.abutalabs.com/products/langchainjs
Homepage: https://docs.langchain.com/langchain/
Language: TypeScript
License: MIT
License Family: permissive
Last push: 2026-08-27T00:09:48+00:00

## Health v2 (maintenance only)
Score: 93/100 (v2, computed 2026-09-03T02:39:23.370411+00:00)
- activity 99, release rhythm 86, longevity 93
- inputs: {"age_days": 1304, "days_push": 7, "days_rel": 13, "gap_med": 0.0, "n_releases_24m": 845}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 18135, forks 3338 (observed 2026-08-28T04:11:26.359085+00:00)

## What it is
LangChain.js is a TypeScript framework for building LLM-powered applications, providing standard interfaces for agents, models, embeddings, vector stores, and tools with hundreds of provider integrations. It includes create_agent, a configurable agent harness, and composes with LangGraph.js for advanced agent orchestration.

## Use cases
- build an ai chatbot in javascript
- create llm agents with tool calling in nodejs
- swap between openai and anthropic models without changing code
- build a rag pipeline with vector stores in typescript
- prototype an llm-powered application quickly
- orchestrate multi-step agent workflows
- connect llms to internal data sources and apis

## When to choose
- you want a batteries-included, model-agnostic framework with a large integration ecosystem in JavaScript/TypeScript
- you need to rapidly prototype LLM apps and swap model providers freely
- you want a configurable agent harness with middleware, tools, and optional LangGraph orchestration

## When to avoid
- you need a minimal dependency-free LLM client and prefer calling provider APIs directly
- you want full control over prompts and agent loops without framework abstractions
- your project is Python-based and you don't need the JS/TS ecosystem

## Facets
- artifact type: framework
- maturity: active
- function: agent-framework, llm-inference, rag, chatbot, sdk, middleware, prompt-engineering
- domain: artificial-intelligence, large-language-models, developer-tools, web-development
- platform: cross-platform, serverless
- tags: llm, agents, model-agnostic, integrations, langgraph, langsmith, javascript, npm, ai-agents, retrieval-augmented-generation, nodejs, typescript, web-server

## Member repositories
- langchain-ai/langchainjs (main) score 93

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:11:26.359085+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:02:08.987446+00:00, confidence not recorded.
  - readme: https://github.com/langchain-ai/langchainjs (fetched 2026-08-28T04:11:26.359085+00:00, sha 82983af49e22)
  - homepage: https://docs.langchain.com/langchain/ (fetched 2026-08-29T08:00:37.410105+00:00, sha 1068164804a0)
  - site_page: https://docs.langchain.com/ (fetched 2026-08-29T08:00:37.419575+00:00, sha e6cbe67a291c)
  - site_page: https://docs.langchain.com/oss/python/integrations/providers/overview (fetched 2026-08-29T08:00:37.421611+00:00, sha 8260e6c475ce)
  - site_page: https://docs.langchain.com/oss/python/langchain/install (fetched 2026-08-29T08:00:37.423338+00:00, sha f72550dc8995)
  - site_page: https://docs.langchain.com/oss/python/langchain/quickstart (fetched 2026-08-29T08:00:37.425952+00:00, sha ee8c6d60528c)
  - site_page: https://docs.langchain.com/oss/python/releases/changelog (fetched 2026-08-29T08:00:37.428981+00:00, sha 048dded673bc)
  - site_page: https://docs.langchain.com/langsmith/trace-with-langchain (fetched 2026-08-29T08:00:37.431555+00:00, sha 32a7ec425016)
  - site_page: https://docs.langchain.com/use-these-docs (fetched 2026-08-29T08:00:37.434254+00:00, sha 5ab7220bb555)
  - site_page: https://changelog.langchain.com/ (fetched 2026-08-29T08:00:37.436756+00:00, sha 3c5994039295)
- Data as of 2026-08-30T08:39:29.467469+00:00.
