Skip to content

Installation

Requirements

Install from PyPI

pip install azure-functions-langgraph

This installs the package along with its dependencies:

  • azure-functions — Azure Functions Python SDK
  • langgraph (>= 1.0, < 2.0) — LangGraph graph runtime
  • pydantic (>= 2.7.4, < 3.0) — request/response validation

The authoritative constraints live in the package metadata (pyproject.toml / pip show azure-functions-langgraph); the list above is a summary.

Add to your requirements

In your Azure Functions project, add to requirements.txt:

azure-functions
langgraph>=1.0,<2.0
azure-functions-langgraph>=0.10.0,<0.11

Pin to the minor range you tested against. The examples in this repository use the same >=0.10.0,<0.11 form.

Or if using pyproject.toml:

dependencies = [
    "azure-functions",
    "langgraph>=1.0,<2.0",
    "azure-functions-langgraph>=0.10.0,<0.11",
]

Development installation

Clone the repository and install with development dependencies:

git clone https://github.com/yeongseon/azure-functions-langgraph-python.git
cd azure-functions-langgraph-python
make install

This creates a virtual environment, installs Hatch, and sets up the development environment with all tools (ruff, mypy, pytest, pre-commit).

Verify installation

import azure_functions_langgraph

print(azure_functions_langgraph.__version__)
# X.Y.Z — e.g. 0.10.0
from azure_functions_langgraph import LangGraphApp

app = LangGraphApp()
print(app)
# LangGraphApp(auth_level=<AuthLevel.FUNCTION: 'function'>, health_auth_level=<AuthLevel.ANONYMOUS: 'anonymous'>, ...)