Website review
This review may include AI-generated content and is not individually verified. Domain, certificate and other facts come from the observed data on this page.
What is LangChain Reference Docs?
LangChain Reference Docs is the unified API reference for the LangChain ecosystem, hosted at LangChain Reference Docs. Instead of teaching concepts or walking through tutorials, it documents the building blocks: classes, functions, types, and packages across LangChain, LangGraph, DeepAgents, LangSmith, and a range of integrations, with browsing available for Python and TypeScript packages (the site also notes Java and Go packages in its description).
What you'll find there
- API-level entries for classes, functions, and types, organized by package and language.
- Coverage that spans the core framework plus adjacent tools: LangGraph for agent and graph workflows, DeepAgents, LangSmith for observability and evaluation, and integration packages.
- A pointer to the main documentation site for guides, tutorials, and conceptual explanations — a useful signal that this site is deliberately the lookup layer, not the learning layer.
Who it's for, and when to use it
Reach for this site when you already know roughly what you want to do and need the exact signature, argument name, return type, or import path. Typical moments:
- You're mid-implementation and need to confirm a parameter name or default.
- You're migrating between Python and TypeScript and want the equivalent class or method.
- You're checking what a specific integration package exposes before adding it.
If you're instead trying to understand why to use a chain, agent, or graph pattern, start with the conceptual docs the reference site links to, then come back here for specifics.
A practical next step
Pick one class you're about to use — say, an agent or graph constructor — and read its reference entry alongside the corresponding guide. The reference tells you what the arguments are; the guide tells you which combination fits your use case. Treating them as a pair is faster than trying to infer intent from signatures alone.
How do I find the API reference for a specific LangChain package or class?
Use the site's search or sidebar navigation to jump straight to a package, then drill into the class or function you need. The reference is organized by library first, so knowing which package owns the class is the fastest path.
LangChain Reference Docs covers the unified API reference for LangChain, LangGraph, Deep Agents, LangSmith, and integrations, with Python, TypeScript, Java, and Go packages. Its own guidance points to the main documentation site for guides, tutorials, and conceptual material, which tells you the split: this reference is for signatures, classes, functions, and types, not for learning the framework end to end.
A practical lookup flow
- Decide the package. Core chains and agents live in LangChain; graph/stateful orchestration in LangGraph; tracing and evaluation in LangSmith; provider and tool connectors under integrations.
- Pick your language, since the same concept often has separate Python and TypeScript (and in places Java and Go) pages.
- Search the class or function name rather than browsing, then read the signature, parameters, return types, and inherited members.
- If the entry is thin on intent, switch to the main docs for the conceptual page and come back for exact arguments.
Choosing where to look
| You want | Go to |
|---|---|
| Exact arguments, return types, class hierarchy | The reference docs |
| A worked example or explanation of when to use something | The main documentation site |
| A specific provider or tool wrapper | The integrations section of the reference |
Concrete scenario
Suppose you are wiring a retrieval step and need to confirm what a retriever class accepts. Search the class name in the reference, check the constructor parameters and return type, then verify your usage pattern against the corresponding how-to in the main docs. That two-step habit avoids the common trap of copying a tutorial snippet whose signature has since changed.
As a next step, bookmark the reference root and search by class name; if you cannot find a class, try the integration or provider name instead, since many wrappers are documented under the connector rather than the core package.
Which programming languages are supported across the LangChain ecosystem documentation?
The reference documentation covers four languages: Python, TypeScript, Java, and Go. These span the LangChain ecosystem — LangChain, LangGraph, DeepAgents, LangSmith, and integrations — so you can look up classes, functions, and types in whichever language matches your stack.
What that means in practice
- Python and TypeScript are the deepest areas: the docs let you browse Python and TypeScript packages directly, which suits teams building agents or LLM apps in those languages.
- Java and Go are also listed as browsable packages, useful if your backend is JVM- or Go-based and you want to consume the same ecosystem from a different runtime.
Choosing where to start
If you're prototyping, start with the language your team already writes daily — the API surface is similar enough that switching later is mostly mechanical. If you need conceptual background rather than method signatures, the reference pages point to the main documentation site for guides and tutorials.
For related official references, see LangChain Python Docs and LangChain JS/TS Docs.
How does LangGraph differ from LangChain in the API reference docs?
The reference site treats LangGraph and LangChain as separate packages within one ecosystem, so the practical difference shows up in what each package's API surface is built to do rather than in one being a newer version of the other.
LangChain covers the building blocks of LLM applications: model wrappers, prompt templates, output parsers, retrievers, tools, and the chains or agents that wire them together. Its reference pages are mostly about composing a single call or a short pipeline.
LangGraph covers orchestration of stateful, multi-step workflows. Its API centers on graphs, nodes, edges, and shared state, with constructs for cycles, branching, persistence, and human-in-the-loop pauses. Where LangChain answers "how do I call a model and parse its output?", LangGraph answers "how do I model a long-running process with loops and checkpoints?"
| Concern | LangChain | LangGraph |
|---|---|---|
| Core abstraction | Chains, runnables, tools | Graphs, nodes, edges, state |
| Typical shape | Linear or short pipeline | Cyclic, branching workflow |
| State handling | Passed along the chain | Explicit, persisted state object |
| Best fit | Prompting, retrieval, single agent turn | Multi-step agents, approvals, resumable runs |
They are designed to be used together: a LangGraph node can call LangChain components inside it. The reference docs also cover LangSmith for tracing and evaluation and a separate integrations section, so you can look up a specific provider's classes without leaving the site. Conceptual guides and tutorials live on the main documentation site rather than in the reference.
A concrete way to decide: if you are sketching a single prompt-to-answer path, start in the LangChain package reference; if you need the run to survive a restart, loop until a condition is met, or pause for a human decision, start in the LangGraph reference and drop LangChain calls into its nodes.
Next step: open LangChain Reference Docs, pick your language (Python or TypeScript), and compare the top-level module list for each package side by side. The class and function names alone will usually tell you which one matches your problem.
Where can I find setup or usage guides instead of API reference material?
The API reference material on LangChain Reference Docs is deliberately scoped to classes, functions, types and package browsing across Python, TypeScript, Java and Go. Its own page points elsewhere for guides, tutorials and conceptual explanations: the main documentation site. So if you want setup instructions or a walkthrough rather than a signature list, that is the intended destination.
How to decide which to open
| You want to… | Use |
|---|---|
| Check an argument name, return type or class hierarchy | The reference docs |
| Install a package, wire up credentials, follow a first project | The main documentation site |
| Understand a concept before coding | The main documentation site, then the reference for exact APIs |
| Compare packages across languages | The reference docs, which cover Python, TypeScript, Java and Go |
A practical pattern: read the conceptual page first so you know which component you need, then jump to the reference to confirm the exact call. Going the other direction — browsing reference pages hoping to infer a setup flow — usually costs more time than it saves.
Concrete next step
Open the main documentation site linked from the reference homepage and look for its quickstart or tutorial section. If you are working in a specific part of the ecosystem, note that the reference site also spans LangGraph, Deep Agents, LangSmith and integrations, so the corresponding guide for each of those lives on the same main docs site rather than here.
For a broader view of the ecosystem, LangChain Python docs and LangChain JavaScript docs host language-specific guides and tutorials, while LangChain covers the project overall.
How can I browse LangSmith and integration APIs within the reference docs?
Browse the left-hand navigation of the reference docs and switch between the ecosystem entries — LangChain, LangGraph, DeepAgents, LangSmith, and Integrations. LangSmith has its own section in that navigation, so selecting it exposes its classes, functions and types; the Integrations section lists third-party packages in the same reference format, and each package page can be filtered by language (Python, TypeScript, Java, Go) where a port exists.
A practical workflow for a developer wiring up tracing and an external provider:
- Open the LangSmith section to confirm the client class name and the method signatures for tracing runs and evaluating datasets.
- Open the Integrations section and find the provider you use, then read its documented wrapper classes rather than guessing parameter names.
- Keep the language selector consistent — a Python example will not map one-to-one onto the TypeScript or Java package.
- Use the search box for a symbol name when you already know the class; use the tree when you are exploring what exists.
Note the trade-off: reference pages tell you what a class accepts and returns, not why you would choose one approach over another. For conceptual explanations, tutorials and end-to-end patterns, the main documentation site is the better starting point, with the reference pages as the lookup layer once you know the shape of the API. If you are new to the ecosystem, read a quickstart first, then return here to check exact signatures.
User reviews (0)