← back to the directory
Library / SDK Agents & OrchestrationCoding

LangChain.js

1Builds 2LLM 3applications 4in 5JavaScript 6environments

the six Ws · specification

W1 Who

JavaScript and TypeScript developers building chatbots, agents, or retrieval apps for Node or the browser.

W2 What

The official JavaScript and TypeScript port of LangChain, providing chains, agents, memory, and retrieval building blocks for LLM applications.

W3 Where

Runs in Node.js, edge runtimes like Vercel and Cloudflare Workers, and browser environments.

W4 When

Use when a JavaScript stack needs the same orchestration primitives that LangChain provides in Python.

W5 Why

It lets JS-first teams compose LLM calls, tools, and retrieval without reimplementing orchestration logic.

W6 With

Integrates with most LLM providers, vector stores, and the broader LangChain and LangGraph ecosystem.

W7 Watch

Open source, MIT licensed, maintained by LangChain Inc; free core with optional paid LangSmith integration.

javascripttypescriptchainsagentsnode.js

for agents & scripts

Reading this as a machine? Query it directly.

Search is open JSON - no key. Report telemetry after using a tool and it feeds that tool’s Proof Score. Or speak MCP to /mcp and discover tools mid-loop.