Files
langgraphjs/examples/assistant-ui-claude
github-actions[bot] 69a7c01313 chore: version packages (#2367)
This PR was opened by the [Changesets
release](https://github.com/changesets/action) GitHub action. When
you're ready to do a release, you can merge this and the packages will
be published to npm automatically. If you're not ready to do a release
yet, that's fine, whenever you add more changesets to main, this PR will
be updated.


# Releases
## @langchain/langgraph-api@1.2.1

### Patch Changes

- [#2366](https://github.com/langchain-ai/langgraphjs/pull/2366)
[`2bb66bf`](https://github.com/langchain-ai/langgraphjs/commit/2bb66bf816a8b18b2968ed885ef2df15f684cb4e)
Thanks [@christian-bromann](https://github.com/christian-bromann)! -
fix(sdk): update endpoints

-   Updated dependencies \[]:
    -   @langchain/langgraph-ui@1.2.1

## @langchain/langgraph-cli@1.2.1

### Patch Changes

- Updated dependencies
\[[`2bb66bf`](https://github.com/langchain-ai/langgraphjs/commit/2bb66bf816a8b18b2968ed885ef2df15f684cb4e)]:
    -   @langchain/langgraph-api@1.2.1

## @langchain/langgraph-sdk@1.9.1

### Patch Changes

- [#2366](https://github.com/langchain-ai/langgraphjs/pull/2366)
[`2bb66bf`](https://github.com/langchain-ai/langgraphjs/commit/2bb66bf816a8b18b2968ed885ef2df15f684cb4e)
Thanks [@christian-bromann](https://github.com/christian-bromann)! -
fix(sdk): update endpoints

## @langchain/angular@1.0.1

### Patch Changes

- Updated dependencies
\[[`2bb66bf`](https://github.com/langchain-ai/langgraphjs/commit/2bb66bf816a8b18b2968ed885ef2df15f684cb4e)]:
    -   @langchain/langgraph-sdk@1.9.1

## @langchain/react@1.0.1

### Patch Changes

- Updated dependencies
\[[`2bb66bf`](https://github.com/langchain-ai/langgraphjs/commit/2bb66bf816a8b18b2968ed885ef2df15f684cb4e)]:
    -   @langchain/langgraph-sdk@1.9.1

## @langchain/svelte@1.0.1

### Patch Changes

- Updated dependencies
\[[`2bb66bf`](https://github.com/langchain-ai/langgraphjs/commit/2bb66bf816a8b18b2968ed885ef2df15f684cb4e)]:
    -   @langchain/langgraph-sdk@1.9.1

## @langchain/vue@1.0.1

### Patch Changes

- Updated dependencies
\[[`2bb66bf`](https://github.com/langchain-ai/langgraphjs/commit/2bb66bf816a8b18b2968ed885ef2df15f684cb4e)]:
    -   @langchain/langgraph-sdk@1.9.1

## @langchain/langgraph-ui@1.2.1



## @example/ai-elements@0.1.16

### Patch Changes

-   Updated dependencies \[]:
    -   @langchain/react@1.0.1

## @examples/assistant-ui-claude@0.1.16

### Patch Changes

-   Updated dependencies \[]:
    -   @langchain/react@1.0.1

## @examples/ui-angular@0.0.26

### Patch Changes

- Updated dependencies
\[[`2bb66bf`](https://github.com/langchain-ai/langgraphjs/commit/2bb66bf816a8b18b2968ed885ef2df15f684cb4e)]:
    -   @langchain/langgraph-sdk@1.9.1
    -   @langchain/angular@1.0.1

## @examples/ui-multimodal@0.0.2

### Patch Changes

-   Updated dependencies \[]:
    -   @langchain/react@1.0.1

## @examples/ui-react@0.0.2

### Patch Changes

- Updated dependencies
\[[`2bb66bf`](https://github.com/langchain-ai/langgraphjs/commit/2bb66bf816a8b18b2968ed885ef2df15f684cb4e)]:
    -   @langchain/langgraph-sdk@1.9.1
    -   @langchain/react@1.0.1

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-05-05 01:58:31 -07:00
..
2026-05-05 01:58:31 -07:00
2026-05-05 01:58:31 -07:00

Assistant-UI Claude Example

This example combines:

  • @assistant-ui/react for the Claude-style chat surface
  • @langchain/react for streaming LangGraph state on the frontend
  • a basic langchain agent on the backend

What it shows

  • A Claude-inspired assistant-ui thread and composer
  • A local single-agent graph powered by langchain
  • How to bridge @langchain/react state into assistant-ui with useExternalStoreRuntime

Setup

Create a local .env file in this folder with:

OPENAI_API_KEY=your_openai_api_key
OPENAI_MODEL=gpt-4.1-mini

Optional overrides:

LANGGRAPH_API_URL=http://localhost:2024
VITE_LANGGRAPH_API_URL=http://localhost:2024
VITE_LANGGRAPH_ASSISTANT_ID=assistant-ui-claude

Run

pnpm --filter @examples/assistant-ui-claude dev

Then open the Vite URL shown in the terminal, usually http://localhost:5173.

The frontend talks directly to the LangGraph dev server at http://localhost:2024, which serves the local assistant-ui-claude graph from langgraph.json.