langchain-xai 1.2.2


pip install langchain-xai

  Latest version

Released: Jan 26, 2026


Meta
Requires Python: <4.0.0,>=3.10.0

Classifiers

langchain-xai

PyPI - Version PyPI - License PyPI - Downloads Twitter

Looking for the JS/TS version? Check out LangChain.js.

Quick Install

pip install langchain-xai

๐Ÿค” What is this?

This package contains the LangChain integrations for xAI through their APIs.

๐Ÿ“– Documentation

For full documentation, see the API reference. For conceptual guides, tutorials, and examples on using these classes, see the LangChain Docs.

๐Ÿ“• Releases & Versioning

See our Releases and Versioning policies.

๐Ÿ’ Contributing

As an open-source project in a rapidly developing field, we are extremely open to contributions, whether it be in the form of a new feature, improved infrastructure, or better documentation.

For detailed information on how to contribute, see the Contributing Guide.

Wheel compatibility matrix

Platform Python 3
any

Files in release

Extras: None
Dependencies:
aiohttp (<4.0.0,>=3.9.1)
langchain-core (<2.0.0,>=1.2.7)
langchain-openai (<2.0.0,>=1.1.7)
requests (<3.0.0,>=2.0.0)