> ## Documentation Index
> Fetch the complete documentation index at: https://docs.langchain.com/llms.txt
> Use this file to discover all available pages before exploring further.

# IBM integrations

> Integrate with IBM using LangChain Python.

LangChain integrations related to IBM technologies, including the
[IBM watsonx.ai](https://www.ibm.com/products/watsonx-ai) platform and DB2 database.

## Watsonx AI

IBM® watsonx.ai™ AI studio is part of the IBM [watsonx](https://www.ibm.com/watsonx)™ AI and data platform, bringing together new generative
AI capabilities powered by [foundation models](https://www.ibm.com/products/watsonx-ai/foundation-models) and traditional machine learning (ML)
into a powerful studio spanning the AI lifecycle. Tune and guide models with your enterprise data to meet your needs with easy-to-use tools for
building and refining performant prompts. With watsonx.ai, you can build AI applications in a fraction of the time and with a fraction of the data.
Watsonx.ai offers:

* **Multi-model variety and flexibility:** Choose from IBM-developed, open-source and third-party models, or build your own model.
* **Differentiated client protection:** IBM stands behind IBM-developed models and indemnifies the client against third-party IP claims.
* **End-to-end AI governance:** Enterprises can scale and accelerate the impact of AI with trusted data across the business, using data wherever it resides.
* **Hybrid, multi-cloud deployments:** IBM provides the flexibility to integrate and deploy your AI workloads into your hybrid-cloud stack of choice.

### Model interfaces

<Columns cols={2}>
  <Card title="ChatWatsonx" href="/oss/python/integrations/chat/ibm_watsonx" cta="Get started" icon="message" arrow>
    IBM watsonx.ai chat models.
  </Card>

  <Card title="WatsonxLLM" href="/oss/python/integrations/llms/ibm_watsonx" cta="Get started" icon="cursor-text" arrow>
    (Legacy) IBM watsonx.ai text completion models.
  </Card>

  <Card title="WatsonxEmbeddings" href="/oss/python/integrations/embeddings/ibm_watsonx" cta="Get started" icon="stack-2" arrow>
    IBM watsonx.ai embedding models.
  </Card>
</Columns>

### Tools and toolkits

<Columns cols={2}>
  <Card title="WatsonxToolkit" href="/oss/python/integrations/tools/ibm_watsonx" cta="Get started" icon="tools" arrow>
    IBM watsonx.ai toolkit.
  </Card>

  <Card title="WatsonxSQLDatabaseToolkit" href="/oss/python/integrations/tools/ibm_watsonx_sql" cta="Get started" icon="tools" arrow>
    IBM watsonx.ai SQL Database toolkit.
  </Card>
</Columns>

### Retrievers

<Columns cols={2}>
  <Card title="WatsonxRerank" href="/oss/python/integrations/retrievers/ibm_watsonx_ranker" cta="Get started" icon="download" arrow>
    IBM watsonx.ai document retriever.
  </Card>
</Columns>

## DB2

The IBM DB2 relational database v12.1.2 and above offers the abilities of vector store
and vector search. Installation of `langchain-db2` package will give LangChain users
the support of DB2 vector store and vector search.

<Note>
  `langchain-db2` is a separate package for Vector Store feature only, and can be run without the `langchain-ibm` package.
</Note>

### Vector stores

<Columns cols={2}>
  <Card title="DB2VS" href="/oss/python/integrations/vectorstores/db2" cta="Get started" icon="database" arrow>
    IBM DB2 Vector Store and Vector Search
  </Card>
</Columns>

***

<div className="source-links">
  <Callout icon="terminal-2">
    [Connect these docs](/use-these-docs) to Claude, VSCode, and more via MCP for real-time answers.
  </Callout>

  <Callout icon="edit">
    [Edit this page on GitHub](https://github.com/langchain-ai/docs/edit/main/src/oss/python/integrations/providers/ibm.mdx) or [file an issue](https://github.com/langchain-ai/docs/issues/new/choose).
  </Callout>
</div>
