Skip to content

Installation

langchain-dev-utils supports installation via multiple package managers, including pip, poetry, and uv.

To install the base version of langchain-dev-utils:

pip install -U langchain-dev-utils
poetry add langchain-dev-utils
uv add langchain-dev-utils

To install the full-featured version of langchain-dev-utils:

pip install -U "langchain-dev-utils[standard]"
poetry add "langchain-dev-utils[standard]"
uv add langchain-dev-utils[standard]

Verifying the Installation

After installation, verify that the package is correctly installed:

import langchain_dev_utils
print(langchain_dev_utils.__version__)

Dependencies

The package automatically installs the following dependencies:

  • langchain
  • langgraph (installed alongside langchain)

If you install the standard version, the following additional dependencies will also be installed:

  • langchain-openai (for implementing OpenAI-compatible API integration model classes)
  • json-repair (for implementing tool-call error repair middleware)
  • jinja2 (for implementing system prompt template formatting middleware)