Skip to main content
Change of provenance

The repository or configuration that created this release differ from a previous release. View details.

Azure Functions LangGraph

Deploy existing LangGraph graphs as Azure Functions Python v2 HTTP endpoints without writing request wrappers. This is a deployment adapter, not an agent builder or a replacement for LangGraph.

PyPI CI Security Docs

한국어 · 日本語 · 简体中文

Installation

Python 3.11–3.14 is supported. Azure Functions hosting support depends on the selected plan/runtime; see deployment.

pip install azure-functions-langgraph

A git tag or a GitHub Release alone does not mean that a version is on PyPI; the tagged versions that have no files there are listed in release status.

Quick Start

Save as function_app.py in a Functions app with host.json:

from typing import TypedDict
from langgraph.graph import START, END, StateGraph
from azure_functions_langgraph import LangGraphApp


class State(TypedDict):
    message: str


builder = StateGraph(State)
builder.add_node("echo", lambda state: {"message": state["message"]})
builder.add_edge(START, "echo")
builder.add_edge("echo", END)
app = LangGraphApp()
app.register(builder.compile(), "echo")
func_app = app.function_app

Run func start, then POST {"input":{"message":"hello"}} to http://localhost:7071/api/graphs/echo/invoke; the result is {"output":{"message":"hello"}}. Deployed routes require a function key by default (see native endpoint auth levels). Follow the 5-minute tutorial for complete project files, local setup and deployment. To start from a new Functions project of your own, the Quickstart's section Start from a new Functions project shows the scaffolding.

For upstream provenance and separately recorded Azure deployment evidence, see the official LangGraph example.

Already have a Python v2 Functions app? Register native graph routes with app.register_functions(langgraph_app.to_blueprint()) instead of exporting a second FunctionApp. This additive API is Experimental; see existing-app composition and the HTTP + timer example.

Deploy to Azure (default path)

One path, start to finish: the 5-minute tutorial: local invoke, minimal Azure resources, publish, authenticated cloud invoke, cleanup. Stateless graphs need only the Storage Account Azure Functions itself requires. Premium, Blob/Table persistence, Platform compatibility, Managed Identity and distributed locks are optional next steps in the advanced deployment guide. Cloud steps are not claimed as certified beyond the stability table below.

Stability — rolling 0.x, per surface

The package-level classifier is Beta, not a promise that every surface is production-ready. Compatibility decisions follow CONTRIBUTING.md; breaking changes remain on the 0.x line under the existing release policy.

Surface Tier Contract
LangGraphApp construction, native invoke/stream/state HTTP endpoints, auth levels Stable Preserve supported calls; incompatible changes require explicit classification and migration
Checkpoint backends, thread locks, async runtime, version="v2", RunObserver Beta Shape settled; refinements remain possible before v1.0
Platform compatibility, true HTTP streaming, Service Bus and Durable lifecycle, LangGraphApp.to_blueprint() Experimental Opt-in; may change between minor releases

Classic stream routes return buffered SSE, not incremental tokens. StreamingLangGraphApp is a separate experimental transport. Function keys are not user/thread ownership; applications must enforce authorization. Default locks and Platform thread records are process-local. Shared writers need explicit distributed storage/locking; see the production guide and security boundaries. A Blob lease does not fence checkpoint writes once it is lost; the opt-in guard_checkpoint_writes guard only reduces writes after the lock detects loss and is not fencing (contract and limits).

Choosing the experimental Platform SDK example? Read its SDK adoption checklist before deployment: supported operations, separate checkpoint/thread retention, process-local defaults, scanning searches and unavailable async lifecycle calls.

Optional, after the default path. These are independent, capability-focused apps, not cumulative production templates or prerequisites:

  1. Azure OpenAI agent
  2. Conversation memory
  3. Tool calling
  4. Persistent production wiring

For one observed keyless deployment and its measured limitations, see the Flex Consumption + Blob production reference. It records one successful live run, not repeatability or release certification.

Also optional: an official LangGraph guide graph hosted with minimal changes, an official-example adaptation (not one of the custom examples above).

Examples support deterministic fake models without cloud credentials. For Platform thread storage, the tested Managed Identity storage recipe wires Azure Table explicitly. State separation is not authenticated ownership.

Documentation

Read in this order (the documentation site follows it):

  1. Installation and Quickstart
  2. 5-minute tutorial, then deployment
  3. Production guide and security
  4. Reference: configuration, usage, adapter reference, optional features and migrations, architecture, finite SDK support matrix (partial compatibility, not Platform parity)
  5. Examples and troubleshooting

Maintainers and contributors: Contributing, product scope, design, release process. AI tooling: llms.txt, llms-full.txt, AGENTS.md.

Contributing

Contributions are welcome. The Contributing Guide covers local setup, the checks to run, and the pull request workflow.

Looking for something to work on?

  • Good first issue: small, self-contained starter tasks.
  • Help wanted: tasks that may need more familiarity with this codebase or Azure Functions.

Before starting, follow Issue or direct PR? and Contributor-reserved issues for the lightest contribution path and how to check existing claims. Either list can be empty at any time; bug reports and small documentation corrections are welcome.

Part of the Azure Functions Python DX Toolkit. Integrated application recipes live in the cookbook; this package owns serving compiled graphs, not prompts, models or tool frameworks.

Independent community project; not affiliated with Microsoft or LangChain. Azure, Azure Functions and LangGraph are their owners' trademarks. MIT.

Metadata

Release files for azure-functions-langgraph 0.15.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Change of provenance

The repository or configuration that created these release files differ from that of a previous release.

We recommend inspecting the repository and configuration before proceeding. View details.

Source distribution (sdist)

Source distribution for azure-functions-langgraph 0.15.0
File Size Uploaded Provenance Actions
azure_functions_langgraph-0.15.0.tar.gz 161.7 kB With provenance Details for azure_functions_langgraph-0.15.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for azure-functions-langgraph 0.15.0
File Interpreter ABI Platform Actions
azure_functions_langgraph-0.15.0-py3-none-any.whl Python 3 none any Details for azure_functions_langgraph-0.15.0-py3-none-any.whl

Total release size: 358.2 kB

Release files / azure_functions_langgraph-0.15.0.tar.gz

Change of provenance

This file belongs to a release with changed provenance: the repository or configuration that created the release files differ from that of a previous release.

We recommend inspecting the repository and configuration before proceeding. View details.

Download URL azure_functions_langgraph-0.15.0.tar.gz
Size 161.7 kB
Tags Source
SHA-256 checksum
How to use checksums
cded076e4bb9f0538c470d86798c8f75922b2efacfa5ff52dd8b1d83eac70456
BLAKE2b-256 checksum
How to use checksums
c8da23e3ffbcee8881c2d9b5d89edf377489876e181d73cedb7c5b0176b3c151
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 1, 2026.

Transparency log

Release files / azure_functions_langgraph-0.15.0-py3-none-any.whl

Change of provenance

This file belongs to a release with changed provenance: the repository or configuration that created the release files differ from that of a previous release.

We recommend inspecting the repository and configuration before proceeding. View details.

Download URL azure_functions_langgraph-0.15.0-py3-none-any.whl
Size 196.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bd56cb583561d3f1175d8640ec2ce0e0211a4a447ed427c7cd2d5910e73f932c
BLAKE2b-256 checksum
How to use checksums
b659358bee0b964ac688a88785fc02a8ddbdde00b7bdfafadd6acca8738f1c98
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 1, 2026.

Transparency log

Security for azure-functions-langgraph 0.15.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Change of provenance

The configuration that created this release differs from a previous release.

While this could reflect a routine change by the project maintainers, it may also indicate that the release files have been compromised.

Select from 2 files

Attestation for azure_functions_langgraph-0.15.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 1, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page