# @langchain/pinecone

> LangChain integration for Pinecone's vector database

Latest version **1.0.3** (published 2026-05-18) · MIT license · 0 weekly downloads

## Install

```sh
npm install @langchain/pinecone
pnpm add @langchain/pinecone
yarn add @langchain/pinecone
bun add @langchain/pinecone
```

## Health

**Score 75/100 (B)** — status: active.

Positive: has types; esm support; no vulnerabilities; has provenance; high maintenance score; high quality score; popular repo.

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 1.0.3 |
| Published | 2026-05-18 |
| First published | 2024-01-18 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | >=20 |
| Dependencies | 1 |
| Unpacked size | 131.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 18223 |
| Author | Pinecone, Inc |
| Maintainers | hwchase17, jacoblee93, basproul, eric_langchain, andrewnguonly, davidduong, maddyadams, sam_noyes, langchain-security, andy-langchain, rcasup, hntrl, christian-bromann |

## Links

- npm: https://www.npmjs.com/package/@langchain/pinecone
- Repository: https://github.com/langchain-ai/langchainjs
- Homepage: https://github.com/langchain-ai/langchainjs/tree/main/libs/community/langchain-pinecone/
- Issues: https://github.com/langchain-ai/langchainjs/issues
- npm.io page: https://npm.io/package/@langchain/pinecone

## Dependencies (1)

- [flat](https://npm.io/package/flat.md) ^5.0.2

## Recent versions

- 1.0.3 (latest) — 2026-05-18
- 1.0.2 — 2026-04-27
- 1.0.1 — 2025-11-24
- 1.0.0 — 2025-10-18
- 0.2.0 — 2025-02-27
- 0.1.3 — 2024-11-17
- 0.1.2 — 2024-11-09
- 0.1.1 — 2024-10-03
- 0.1.0 — 2024-09-14
- 0.0.9 — 2024-08-16
- 0.0.8 — 2024-07-22
- 0.0.7 — 2024-05-26
- 0.0.6 — 2024-05-17
- 0.0.5 — 2024-05-15
- 0.0.4 — 2024-03-29
- … 4 more at https://npm.io/package/@langchain/pinecone/versions

## README

# @langchain/pinecone

This package contains the LangChain.js integrations for Pinecone through their SDK.

## Installation

```bash npm2yarn
npm install @langchain/pinecone @langchain/core @pinecone-database/pinecone
```

## Development

To develop the Pinecone package, you'll need to follow these instructions:

### Install dependencies

```bash
pnpm install
```

### Build the package

```bash
pnpm build
```

Or from the repo root:

```bash
pnpm build --filter @langchain/pinecone
```

### Run tests

Test files should live within a `tests/` file in the `src/` folder. Unit tests should end in `.test.ts` and integration tests should
end in `.int.test.ts`:

```bash
$ pnpm test
$ pnpm test:int
```

### Lint & Format

Run the linter & formatter to ensure your code is up to standard:

```bash
pnpm lint && pnpm format
```

### Adding new entrypoints

If you add a new file to be exported, either import & re-export from `src/index.ts`, or add it to the `exports` field in the `package.json` file and run `pnpm build` to generate the new entrypoint.

---
_Source: https://npm.io/package/@langchain/pinecone · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
