Skip to content

Installation

Requirements

  • Python 3.10 or later
  • Azure Functions Core Tools (for local development)
  • An Azure Functions project using the Python v2 programming model

Install from PyPI

pip install azure-functions-langgraph

This installs the package along with its dependencies:

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

Add to your requirements

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

azure-functions
langgraph
azure-functions-langgraph

Or if using pyproject.toml:

dependencies = [
    "azure-functions",
    "langgraph",
    "azure-functions-langgraph",
]

Development installation

Clone the repository and install with development dependencies:

git clone https://github.com/yeongseon/azure-functions-langgraph.git
cd azure-functions-langgraph
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__)
# 0.1.0a0
from azure_functions_langgraph import LangGraphApp

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