Skip to content

feat: frontend docs#2930

Open
Christian Bromann (christian-bromann) wants to merge 16 commits intomainfrom
cb/frontend-docs
Open

feat: frontend docs#2930
Christian Bromann (christian-bromann) wants to merge 16 commits intomainfrom
cb/frontend-docs

Conversation

@christian-bromann
Copy link
Member

@christian-bromann Christian Bromann (christian-bromann) commented Mar 4, 2026

Overview

Split the monolithic streaming/frontend documentation pages into individual pattern-specific pages across LangChain, LangGraph, and DeepAgents. Each page covers a single frontend pattern (tool calling, human-in-the-loop, branching chat, etc.) with an interactive playground embed powered by the @langchain/docs-sandbox npm package.

Also restructures the "Streaming" nav groups into a top-level "Streaming" page and a new "Frontend" nav group for each product.

Type of change

Type: New documentation page / Update existing documentation

Related issues/PRs

  • GitHub issue:
  • Feature PR:
  • Linear issue:
  • Slack thread:

Checklist

  • I have read the contributing guidelines
  • I have tested my changes locally using docs dev
  • All code examples have been tested and work correctly
  • I have used root relative paths for internal links
  • I have updated navigation in src/docs.json if needed

(Internal team members only / optional): Create a preview deployment as necessary using the Create Preview Branch workflow

Additional notes

New frontend pattern pages

LangChain (10 pages):
tool-calling, human-in-the-loop, branching-chat, optimistic-updates, reasoning-tokens, structured-output, async-iterator-tools, message-queues, join-rejoin, time-travel

DeepAgents (2 pages):
subagent-streaming, todo-list

LangGraph (1 page):
graph-execution

Each page includes a <PatternEmbed> component that renders an interactive playground preview from the @langchain/docs-sandbox package.

Playground embed build pipeline

The PatternEmbed component is now sourced from the @langchain/docs-sandbox npm package rather than being manually maintained in the source tree:

  • Added package.json with @langchain/docs-sandbox@0.0.3 dependency
  • Added .npmrc with legacy-peer-deps=true (needed because the package declares a peer dependency using pnpm's workspace:* protocol)
  • Updated pipeline/core/builder.py to copy node_modules/@langchain/docs-sandbox/dist/PatternEmbed.jsxbuild/snippets/pattern-embed.jsx during the build step
  • CI pipelines need to run npm install before building docs

Navigation changes (src/docs.json)

  • Collapsed Streaming sub-group (overview + frontend) into a single top-level streaming page under LangChain and DeepAgents
  • Added new Frontend nav groups for LangChain (10 pages), DeepAgents (3 pages including overview), and LangGraph (2 pages including overview)

@github-actions github-actions bot added internal ci deepagents For docs changes to Deep Agents docs-infra langchain For docs changes to LangChain langgraph For docs changes to LangGraph oss python For content related to the Python version of LangChain projects labels Mar 4, 2026
@github-actions
Copy link
Contributor

github-actions bot commented Mar 4, 2026

Mintlify preview ID generated: preview-cbfron-1772664047-f7ec6dc

@github-actions github-actions bot added the tests label Mar 4, 2026
@github-actions
Copy link
Contributor

github-actions bot commented Mar 4, 2026

Mintlify preview ID generated: preview-cbfron-1772664478-acb2348

@github-actions
Copy link
Contributor

github-actions bot commented Mar 4, 2026

Mintlify preview ID generated: preview-cbfron-1772665469-8e823f2

@github-actions
Copy link
Contributor

github-actions bot commented Mar 5, 2026

Mintlify preview ID generated: preview-cbfron-1772672259-333c51b

@github-actions
Copy link
Contributor

github-actions bot commented Mar 5, 2026

Mintlify preview ID generated: preview-cbfron-1772673103-b6f941f

@github-actions
Copy link
Contributor

github-actions bot commented Mar 5, 2026

Mintlify preview ID generated: preview-cbfron-1772674638-c26fdec

@github-actions
Copy link
Contributor

github-actions bot commented Mar 5, 2026

Mintlify preview ID generated: preview-cbfron-1772744889-d95ebe9

@github-actions
Copy link
Contributor

github-actions bot commented Mar 6, 2026

Mintlify preview ID generated: preview-cbfron-1772765116-8bfc5d0

@github-actions
Copy link
Contributor

github-actions bot commented Mar 6, 2026

Mintlify preview ID generated: preview-cbfron-1772838585-335578c

@github-actions
Copy link
Contributor

github-actions bot commented Mar 6, 2026

Mintlify preview ID generated: preview-cbfron-1772840960-d2a2597

@github-actions
Copy link
Contributor

github-actions bot commented Mar 9, 2026

Mintlify preview ID generated: preview-cbfron-1773078329-aa08bf4

@github-actions
Copy link
Contributor

github-actions bot commented Mar 9, 2026

Mintlify preview ID generated: preview-cbfron-1773078784-263dfa1

@github-actions
Copy link
Contributor

Mintlify preview ID generated: preview-cbfron-1773118353-67f3933

@github-actions
Copy link
Contributor

Mintlify preview ID generated: preview-cbfron-1773118816-247720b

@github-actions
Copy link
Contributor

Mintlify preview ID generated: preview-cbfron-1773120152-7971bf2

@github-actions
Copy link
Contributor

Mintlify preview ID generated: preview-cbfron-1773123875-e87f51e

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci deepagents For docs changes to Deep Agents docs-infra internal langchain For docs changes to LangChain langgraph For docs changes to LangGraph oss python For content related to the Python version of LangChain projects tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant