Skip to content

Commit 443fe8a

Browse files
committed
docs: refresh langgraph install guidance
1 parent 77fdd8a commit 443fe8a

16 files changed

Lines changed: 21 additions & 21 deletions

File tree

apps/website/content/AGENTS.md.template

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Production-ready chat, durable threads, interrupts, subagents, planning, memory, and generative UI for Angular agent apps.
44

55
## Install
6-
npm install @threadplane/chat @threadplane/langgraph
6+
npm install @threadplane/chat @threadplane/langgraph @langchain/core @langchain/langgraph-sdk marked
77

88
## Key requirement
99
`injectAgent()` MUST be called within an Angular injection context (component constructor or field initializer). Calling it in ngOnInit or any async context throws "NG0203: inject() must be called from an injection context".

apps/website/content/CLAUDE.md.template

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Production-ready chat, durable threads, interrupts, subagents, planning, memory, and generative UI for Angular agent apps.
44

55
## Install
6-
npm install @threadplane/chat @threadplane/langgraph
6+
npm install @threadplane/chat @threadplane/langgraph @langchain/core @langchain/langgraph-sdk marked
77

88
## Key requirement
99
`injectAgent()` MUST be called within an Angular injection context (component constructor or field initializer). Calling it in ngOnInit or any async context throws "NG0203: inject() must be called from an injection context".

apps/website/content/docs/chat/getting-started/installation.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Install `@threadplane/chat`, your chosen runtime adapter, and the `marked` markd
3333

3434
```bash
3535
# LangGraph backends
36-
npm install @threadplane/chat @threadplane/langgraph marked
36+
npm install @threadplane/chat @threadplane/langgraph @langchain/core @langchain/langgraph-sdk marked
3737

3838
# AG-UI compatible backends
3939
npm install @threadplane/chat @threadplane/ag-ui @ag-ui/client @ag-ui/core marked

apps/website/content/docs/chat/getting-started/quickstart.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ Evaluating? No license needed — the chat runs without a token (with a one-time
1818
<Step title="Install the package">
1919

2020
```bash
21-
npm install @threadplane/chat @threadplane/langgraph marked
21+
npm install @threadplane/chat @threadplane/langgraph @langchain/core @langchain/langgraph-sdk marked
2222
```
2323

24-
`@threadplane/langgraph` provides the adapter used by the provider snippet below. `marked` is the markdown renderer used for assistant messages.
24+
`@threadplane/langgraph` provides the adapter used by the provider snippet below. The LangChain packages are required peers for that adapter, and `marked` is the markdown renderer used for assistant messages.
2525

2626
</Step>
2727
<Step title="Configure providers">

apps/website/content/docs/langgraph/api/api-docs.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2524,7 +2524,7 @@
25242524
"description": ""
25252525
},
25262526
"examples": [
2527-
"```ts\nTestBed.configureTestingModule({\n providers: [provideFakeAgent({ responses: ['Hi from the fake LangGraph agent'] })],\n});\n```"
2527+
"```ts\nTestBed.configureTestingModule({\n providers: [provideFakeAgent({ tokens: ['Hi from the fake LangGraph agent'] })],\n});\n```"
25282528
]
25292529
},
25302530
{

apps/website/content/docs/langgraph/getting-started/installation.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ A running LangGraph agent reachable over HTTP. Local (`langgraph dev`) or deploy
1919
## Install the package
2020

2121
```bash
22-
npm install @threadplane/langgraph @threadplane/chat
22+
npm install @threadplane/langgraph @threadplane/chat @langchain/core @langchain/langgraph-sdk
2323
```
2424

25-
`@threadplane/langgraph` provides `injectAgent()` and `provideAgent()`. `@threadplane/chat` provides the runtime-neutral chat UI consumed by the LangGraph adapter.
25+
`@threadplane/langgraph` provides `injectAgent()` and `provideAgent()`. `@threadplane/chat` provides the runtime-neutral chat UI consumed by the LangGraph adapter. The LangChain packages are required peers used by the adapter's message types and LangGraph SDK client.
2626

2727
## Peer Dependencies
2828

apps/website/content/docs/langgraph/getting-started/introduction.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ Now connect your Angular app to the running agent using `injectAgent()`.
129129
<Step title="Install the package">
130130

131131
```bash
132-
npm install @threadplane/langgraph
132+
npm install @threadplane/langgraph @threadplane/chat @langchain/core @langchain/langgraph-sdk
133133
```
134134

135135
</Step>

apps/website/content/docs/langgraph/getting-started/quickstart.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ Angular 20+ project with Node.js 18+. If you need setup help, see the [Installat
1010
<Step title="Install the package">
1111

1212
```bash
13-
npm install @threadplane/langgraph @threadplane/chat
13+
npm install @threadplane/langgraph @threadplane/chat @langchain/core @langchain/langgraph-sdk
1414
```
1515

16-
Most npm clients install peer dependencies automatically. Strict package managers may also ask you to install the Angular, LangChain, and LangGraph SDK peers listed in the [Installation](/docs/langgraph/getting-started/installation) guide.
16+
Most npm clients install peer dependencies automatically. Listing the LangChain peers explicitly keeps strict package managers quiet. They may still ask you to install the Angular and RxJS peers listed in the [Installation](/docs/langgraph/getting-started/installation) guide if your app does not already provide them.
1717

1818
</Step>
1919
<Step title="Configure the provider">

apps/website/content/prompts/getting-started.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Add angular to my Angular 20+ application.
22

3-
Install: npm install @threadplane/chat @threadplane/langgraph
3+
Install: npm install @threadplane/chat @threadplane/langgraph @langchain/core @langchain/langgraph-sdk marked
44

55
1. In app.config.ts, add provideAgent({ apiUrl: 'http://localhost:2024', assistantId: 'chat' }) to the providers array. Import it from '@threadplane/langgraph'.
66

apps/website/public/AGENTS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Production-ready chat, durable threads, interrupts, subagents, planning, memory, and generative UI for Angular agent apps.
44

55
## Install
6-
npm install @threadplane/chat @threadplane/langgraph
6+
npm install @threadplane/chat @threadplane/langgraph @langchain/core @langchain/langgraph-sdk marked
77

88
## Key requirement
99
`injectAgent()` MUST be called within an Angular injection context (component constructor or field initializer). Calling it in ngOnInit or any async context throws "NG0203: inject() must be called from an injection context".

0 commit comments

Comments
 (0)