Installation¶
Requirements¶
- Python 3.11–3.14 (
>=3.11,<3.15). Azure Functions has GA support for Python 3.11, 3.12, 3.13, and 3.14; see Azure Functions supported languages for the current support window. - Azure Functions Core Tools (for local development)
- An Azure Functions project using the Python v2 programming model
Install from PyPI¶
This installs the package along with its dependencies:
azure-functions— Azure Functions Python SDKlanggraph(>= 1.0, < 2.0) — LangGraph graph runtimepydantic(>= 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:
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).