LangGraph Dev Setup

Use uv for deterministic Python environments and lockfile-driven installs. Use Docker for dependency services (memory-service, Keycloak, databases), not as your day-to-day Python package workflow.

Step 1 (Temporary): Build Local Package Wheels

Until the packages are published, build them locally and point uv to the local wheel directories:

cd python/langchain
uv build
export UV_FIND_LINKS="$PWD/dist"

For the Episodic Memories guide, also build the LangGraph package:

cd python/langgraph
uv build
export UV_FIND_LINKS="$UV_FIND_LINKS:$PWD/dist"

This is temporary. After the packages are released, you can remove UV_FIND_LINKS.

Baseline Runtime

.python-version
3.11
pyproject.toml
[project]
name = "langgraph-doc-checkpoint-02-with-checkpointing"
version = "0.1.0"
description = "Memory Service LangGraph docs checkpoint app"
requires-python = ">=3.10"
dependencies = [
  "fastapi>=0.115.0,<1.0.0",
  "langgraph>=1.0.0,<2.0.0",
  "langchain-openai>=1.0.0,<2.0.0",
  "memory-service-langchain",
  "httpx>=0.28.0,<1.0.0",
  "uvicorn>=0.34.0,<1.0.0",
]

[tool.uv]
package = false

This is the minimum dependency set users need to run Memory Service-backed LangGraph examples. Until the package is released, memory-service-langchain is resolved from the local wheel built in Step 1 (UV_FIND_LINKS).

Local Workflow

# one-time Python install
uv python install 3.11

# install deps from lock
cd python/examples/langgraph/doc-checkpoints/02-with-checkpointing
uv sync --frozen

# run app
uv run uvicorn app:app --host 0.0.0.0 --port 9090