$npx skillfedfor your agent

llama-index-llms-ibm

llama-index llms IBM watsonx.ai integration

With conditionsPyPI Artificial IntelligenceReleased Feb 202687.2K downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — llama_index_llms_ibm-0.7.0.post1-py3-none-any.whl
v0.7.0.post1 · released 2026-02-17 · Python <3.14,>=3.11 · 3 runtime deps: ibm-watsonx-ai, llama-index-core, pyarrow

Yes, if you are already using LlamaIndex and need to integrate IBM watsonx.ai models. The package has low install friction, permissive licensing, and active maintenance. No known vulnerabilities. Install it as a straightforward provider plugin for LlamaIndex.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires IBM Cloud API key set as WATSONX_APIKEY environment variable and a valid watsonx.ai project or space ID.
  • Low install friction with three runtime dependencies.
  • Actively maintained as of the latest release.

License · maintenance · safety

MIT (permissive) — MIT license permits commercial and private use with minimal restrictions.

last release 2026-02-17 (178 days)

0 known vulnerabilities (OSV.dev, 2026-08-14) · 87,198 downloads/mo, #13,810 on PyPI

Verify before relying

pip install llama-index-llms-ibm

from llama_index.llms.ibm import WatsonxLLM

watsonx_llm = WatsonxLLM(
    model_id="ibm/granite-4-h-small",
    url="YOUR_URL",
    project_id="YOUR_PROJECT_ID"
)
response = watsonx_llm.complete("What is generative AI?")
  • Whether all IBM watsonx.ai foundation models are supported or only a subset.
  • Performance characteristics and latency expectations for different model sizes.
  • Rate limiting or quota behavior when calling IBM's API through this integration.
Same gist for agents: .md · .json

What it is and what it does

This package bridges LlamaIndex's LLM abstraction layer with IBM's watsonx.ai foundation models. It wraps the ibm-watsonx-ai SDK to let you call IBM models (like granite variants) using LlamaIndex's standard completion and chat interfaces, supporting both synchronous and streaming modes.

You instantiate a WatsonxLLM class with your IBM Cloud credentials, project ID, and model choice, then call .complete(), .chat(), .stream_complete(), or .stream_chat() just as you would with any other LlamaIndex LLM provider. The package handles authentication, parameter marshalling, and response parsing against the IBM API.

Use it for

  • Build a RAG pipeline using LlamaIndex with IBM's foundation models as the inference backend.
  • Stream responses from IBM watsonx.ai models in a chat application via LlamaIndex.
  • Experiment with different IBM granite models without rewriting your LlamaIndex application code.
  • Use IBM watsonx.ai in a multi-provider LLM setup where LlamaIndex abstracts the provider differences.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you are already using LlamaIndex and need to integrate IBM watsonx.ai models.

The package has low install friction, permissive licensing, and active maintenance. No known vulnerabilities. Install it as a straightforward provider plugin for LlamaIndex.

Install

llama-index-llms-ibm on PyPI

Before you install

Low install friction with three runtime dependencies. Actively maintained as of the latest release.

Requires IBM Cloud API key set as WATSONX_APIKEY environment variable and a valid watsonx.ai project or space ID.

License in practice

MIT license permits commercial and private use with minimal restrictions.

Quickstart

pip install llama-index-llms-ibm

from llama_index.llms.ibm import WatsonxLLM

watsonx_llm = WatsonxLLM(
    model_id="ibm/granite-4-h-small",
    url="YOUR_URL",
    project_id="YOUR_PROJECT_ID"
)
response = watsonx_llm.complete("What is generative AI?")

Verify before relying

  • Whether all IBM watsonx.ai foundation models are supported or only a subset.
  • Performance characteristics and latency expectations for different model sizes.
  • Rate limiting or quota behavior when calling IBM's API through this integration.

Package facts

LicenseMIT permissive
Python supportSupports the current Python release <3.14,>=3.11
Install frictionLow. Pure-Python wheel
Runtime dependencies
3 packages
ibm-watsonx-aillama-index-corepyarrow
MaintenanceActively maintained 178 days since the last release
First released
Downloads87,198 / month, #13,810 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14

Evidence: llama_index_llms_ibm-0.7.0.post1-py3-none-any.whl

Tags

Capabilities
IBM watsonx.ai LLM integrationllama-index IBM modelswatsonx foundation models APIIBM granite model inferencellama-index watsonx connector
Topics
llm-integrationibm-watsonx

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “IBM watsonx.ai LLM integration”

Give your agent the search over MCP, or paste the wish link into any chat.

More Artificial Intelligence packages

litellm With conditions
PyPI · Artificial Intelligence · released Aug 2026

LiteLLM provides a unified Python interface to call 100+ LLM providers (OpenAI, Anthropic, Gemini, Bedrock, Azure, and others) using OpenAI-compatible API format, available as both a Python SDK and a self-hosted AI Gateway proxy server.

Install it if you need to work with multiple LLM providers or want to centralize LLM routing in your organization.

MITcompiled wheel
682.8Mdownloads / mo
huggingface-hub Worth it
PyPI · Artificial Intelligence · released Aug 2026

Client library and CLI tool for downloading, uploading, and managing models, datasets, and repositories on the Hugging Face Hub platform.

Install it if you work with Hugging Face Hub models or datasets.

Apache-2.0pure Python · 3.10.0+
442.4Mdownloads / mo
langchain Worth it
PyPI · Python Modules · released Aug 2026

LangChain provides a framework for building agents and LLM-powered applications by composing language models, tools, and memory through a unified API that abstracts over multiple model providers.

MITpure Python
315.4Mdownloads / mo
hf-xet With conditions
PyPI · Artificial Intelligence · released Aug 2026

hf-xet provides chunk-based deduplication and efficient file transfer for the Hugging Face Hub, enabling faster uploads and downloads of large files with local disk caching.

Apache-2.0compiled wheel · 3.8+
258.4Mdownloads / mo
tokenizers Worth it
PyPI · Artificial Intelligence · released Apr 2026

Tokenizers converts raw text into token sequences for NLP models, with support for training custom vocabularies and using pre-built tokenizers (BPE, WordPiece) optimized for speed via Rust.

Apache-2.0compiled wheel · 3.10+
222.9Mdownloads / mo
transformers Worth it
PyPI · Artificial Intelligence · released Aug 2026

Transformers provides a unified framework for loading, fine-tuning, and running state-of-the-art pretrained models across text, vision, audio, video, and multimodal tasks using PyTorch, JAX, or TensorFlow.

Install it if you need to run or train any transformer-based model for NLP, vision, audio, or multimodal tasks.

permissive licensepure Python · 3.10.0+
186.6Mdownloads / mo

See also ibm-watsonx-ai · llama-index-embeddings-ibm · langchain-ibm · llama-index-llms-vertex · llama-index-llms-openai · llama-index-llms-gemini · ai21 · llama-index-llms-openai-like · llama-index-multi-modal-llms-openai · llama-index-llms-google-genai

Further reading