Files
langgraphjs/examples/assistant-ui-claude
github-actions[bot] 1b66d654dd chore: version packages (#2347)
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-sdk@1.8.10

### Patch Changes

- [#2340](https://github.com/langchain-ai/langgraphjs/pull/2340)
[`6bab458`](https://github.com/langchain-ai/langgraphjs/commit/6bab458d4a03ce2d7b2708488b92226899eb94d4)
Thanks [@cwlbraa](https://github.com/cwlbraa)! - Respect
`fetchStateHistory` when restoring subagent history.

## @langchain/angular@0.4.6

### Patch Changes

- [#2340](https://github.com/langchain-ai/langgraphjs/pull/2340)
[`6bab458`](https://github.com/langchain-ai/langgraphjs/commit/6bab458d4a03ce2d7b2708488b92226899eb94d4)
Thanks [@cwlbraa](https://github.com/cwlbraa)! - Respect
`fetchStateHistory` when restoring subagent history.

- Updated dependencies
\[[`6bab458`](https://github.com/langchain-ai/langgraphjs/commit/6bab458d4a03ce2d7b2708488b92226899eb94d4)]:
    -   @langchain/langgraph-sdk@1.8.10

## @langchain/react@0.3.4

### Patch Changes

- [#2340](https://github.com/langchain-ai/langgraphjs/pull/2340)
[`6bab458`](https://github.com/langchain-ai/langgraphjs/commit/6bab458d4a03ce2d7b2708488b92226899eb94d4)
Thanks [@cwlbraa](https://github.com/cwlbraa)! - Respect
`fetchStateHistory` when restoring subagent history.

- Updated dependencies
\[[`6bab458`](https://github.com/langchain-ai/langgraphjs/commit/6bab458d4a03ce2d7b2708488b92226899eb94d4)]:
    -   @langchain/langgraph-sdk@1.8.10

## @langchain/svelte@0.4.6

### Patch Changes

- [#2340](https://github.com/langchain-ai/langgraphjs/pull/2340)
[`6bab458`](https://github.com/langchain-ai/langgraphjs/commit/6bab458d4a03ce2d7b2708488b92226899eb94d4)
Thanks [@cwlbraa](https://github.com/cwlbraa)! - Respect
`fetchStateHistory` when restoring subagent history.

- Updated dependencies
\[[`6bab458`](https://github.com/langchain-ai/langgraphjs/commit/6bab458d4a03ce2d7b2708488b92226899eb94d4)]:
    -   @langchain/langgraph-sdk@1.8.10

## @langchain/vue@0.4.6

### Patch Changes

- [#2340](https://github.com/langchain-ai/langgraphjs/pull/2340)
[`6bab458`](https://github.com/langchain-ai/langgraphjs/commit/6bab458d4a03ce2d7b2708488b92226899eb94d4)
Thanks [@cwlbraa](https://github.com/cwlbraa)! - Respect
`fetchStateHistory` when restoring subagent history.

- Updated dependencies
\[[`6bab458`](https://github.com/langchain-ai/langgraphjs/commit/6bab458d4a03ce2d7b2708488b92226899eb94d4)]:
    -   @langchain/langgraph-sdk@1.8.10

## @example/ai-elements@0.1.13

### Patch Changes

- Updated dependencies
\[[`6bab458`](https://github.com/langchain-ai/langgraphjs/commit/6bab458d4a03ce2d7b2708488b92226899eb94d4)]:
    -   @langchain/react@0.3.4

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

### Patch Changes

- Updated dependencies
\[[`6bab458`](https://github.com/langchain-ai/langgraphjs/commit/6bab458d4a03ce2d7b2708488b92226899eb94d4)]:
    -   @langchain/react@0.3.4

## @examples/ui-angular@0.0.23

### Patch Changes

- Updated dependencies
\[[`6bab458`](https://github.com/langchain-ai/langgraphjs/commit/6bab458d4a03ce2d7b2708488b92226899eb94d4)]:
    -   @langchain/langgraph-sdk@1.8.10
    -   @langchain/angular@0.4.6

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-04-29 09:34:18 -07:00
..
2026-04-29 09:34:18 -07:00
2026-04-29 09:34:18 -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.