Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion apps/website/content/AGENTS.md.template
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Production-ready chat, durable threads, interrupts, subagents, planning, memory, and generative UI for Angular agent apps.

## Install
npm install @threadplane/chat @threadplane/langgraph
npm install @threadplane/chat @threadplane/langgraph @langchain/core @langchain/langgraph-sdk marked

## Key requirement
`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".
Expand Down
2 changes: 1 addition & 1 deletion apps/website/content/CLAUDE.md.template
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Production-ready chat, durable threads, interrupts, subagents, planning, memory, and generative UI for Angular agent apps.

## Install
npm install @threadplane/chat @threadplane/langgraph
npm install @threadplane/chat @threadplane/langgraph @langchain/core @langchain/langgraph-sdk marked

## Key requirement
`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".
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ Install `@threadplane/chat`, your chosen runtime adapter, and the `marked` markd

```bash
# LangGraph backends
npm install @threadplane/chat @threadplane/langgraph marked
npm install @threadplane/chat @threadplane/langgraph @langchain/core @langchain/langgraph-sdk marked

# AG-UI compatible backends
npm install @threadplane/chat @threadplane/ag-ui @ag-ui/client @ag-ui/core marked
Expand Down
4 changes: 2 additions & 2 deletions apps/website/content/docs/chat/getting-started/quickstart.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ Evaluating? No license needed — the chat runs without a token (with a one-time
<Step title="Install the package">

```bash
npm install @threadplane/chat @threadplane/langgraph marked
npm install @threadplane/chat @threadplane/langgraph @langchain/core @langchain/langgraph-sdk marked
```

`@threadplane/langgraph` provides the adapter used by the provider snippet below. `marked` is the markdown renderer used for assistant messages.
`@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.

</Step>
<Step title="Configure providers">
Expand Down
2 changes: 1 addition & 1 deletion apps/website/content/docs/langgraph/api/api-docs.json
Original file line number Diff line number Diff line change
Expand Up @@ -2524,7 +2524,7 @@
"description": ""
},
"examples": [
"```ts\nTestBed.configureTestingModule({\n providers: [provideFakeAgent({ responses: ['Hi from the fake LangGraph agent'] })],\n});\n```"
"```ts\nTestBed.configureTestingModule({\n providers: [provideFakeAgent({ tokens: ['Hi from the fake LangGraph agent'] })],\n});\n```"
]
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ A running LangGraph agent reachable over HTTP. Local (`langgraph dev`) or deploy
## Install the package

```bash
npm install @threadplane/langgraph @threadplane/chat
npm install @threadplane/langgraph @threadplane/chat @langchain/core @langchain/langgraph-sdk
```

`@threadplane/langgraph` provides `injectAgent()` and `provideAgent()`. `@threadplane/chat` provides the runtime-neutral chat UI consumed by the LangGraph adapter.
`@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.

## Peer Dependencies

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ Now connect your Angular app to the running agent using `injectAgent()`.
<Step title="Install the package">

```bash
npm install @threadplane/langgraph
npm install @threadplane/langgraph @threadplane/chat @langchain/core @langchain/langgraph-sdk
```

</Step>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ Angular 20+ project with Node.js 18+. If you need setup help, see the [Installat
<Step title="Install the package">

```bash
npm install @threadplane/langgraph @threadplane/chat
npm install @threadplane/langgraph @threadplane/chat @langchain/core @langchain/langgraph-sdk
```

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.
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.

</Step>
<Step title="Configure the provider">
Expand Down
2 changes: 1 addition & 1 deletion apps/website/content/prompts/getting-started.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Add angular to my Angular 20+ application.

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

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

Expand Down
2 changes: 1 addition & 1 deletion apps/website/public/AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Production-ready chat, durable threads, interrupts, subagents, planning, memory, and generative UI for Angular agent apps.

## Install
npm install @threadplane/chat @threadplane/langgraph
npm install @threadplane/chat @threadplane/langgraph @langchain/core @langchain/langgraph-sdk marked

## Key requirement
`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".
Expand Down
2 changes: 1 addition & 1 deletion apps/website/public/CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Production-ready chat, durable threads, interrupts, subagents, planning, memory, and generative UI for Angular agent apps.

## Install
npm install @threadplane/chat @threadplane/langgraph
npm install @threadplane/chat @threadplane/langgraph @langchain/core @langchain/langgraph-sdk marked

## Key requirement
`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".
Expand Down
2 changes: 1 addition & 1 deletion apps/website/src/app/docs/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const BACKENDS: Backend[] = [
{
title: 'LangGraph',
blurb: 'For LangChain & LangGraph backends.',
install: 'npm i @threadplane/chat @threadplane/langgraph',
install: 'npm i @threadplane/chat @threadplane/langgraph @langchain/core @langchain/langgraph-sdk marked',
href: '/docs/langgraph/getting-started/quickstart',
logoSrc: '/logos/langgraph.svg',
attribution: 'LangChain',
Expand Down
4 changes: 2 additions & 2 deletions apps/website/src/app/llms.txt/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ function buildLlmsTxt(): string {
'',
'## Install',
'# LangGraph backend:',
'npm install @threadplane/chat @threadplane/langgraph',
'npm install @threadplane/chat @threadplane/langgraph @langchain/core @langchain/langgraph-sdk marked',
'# LangGraph backend with browser client tools:',
'npm install @threadplane/chat @threadplane/langgraph @threadplane/middleware',
'npm install @threadplane/chat @threadplane/langgraph @langchain/core @langchain/langgraph-sdk @threadplane/middleware marked',
'# AG-UI backend:',
'npm install @threadplane/chat @threadplane/ag-ui @ag-ui/client @ag-ui/core',
'',
Expand Down
2 changes: 1 addition & 1 deletion libs/chat/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Part of [Threadplane](https://github.com/cacheplane/angular-agent-framework).
## Install

```bash
npm install @threadplane/chat @threadplane/langgraph marked
npm install @threadplane/chat @threadplane/langgraph @langchain/core @langchain/langgraph-sdk marked
```

**Peer dependencies:**
Expand Down
4 changes: 2 additions & 2 deletions libs/langgraph/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Adapter that wraps a LangGraph agent into the runtime-neutral `Agent` contract f
## Install

```bash
npm install @threadplane/langgraph @threadplane/chat
npm install @threadplane/langgraph @threadplane/chat @langchain/core @langchain/langgraph-sdk
```

**Peer dependencies:**
Expand Down Expand Up @@ -159,7 +159,7 @@ Pair it with the lifecycle helpers to keep your thread list fresh:
```ts
import { refreshOnRunEnd, refreshOnTransition } from '@threadplane/langgraph';

refreshOnRunEnd(chat, () => threadsAdapter.loadThreads());
refreshOnRunEnd(chat, () => threadsAdapter.refresh());
```

### Citations
Expand Down
2 changes: 1 addition & 1 deletion libs/langgraph/src/lib/testing/provide-fake-agent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import { FakeStreamTransport } from './fake-stream.transport';
* @example
* ```ts
* TestBed.configureTestingModule({
* providers: [provideFakeAgent({ responses: ['Hi from the fake LangGraph agent'] })],
* providers: [provideFakeAgent({ tokens: ['Hi from the fake LangGraph agent'] })],
* });
* ```
*/
Expand Down
Loading