Skip to content
← Back to activity

Immutable solution version

Running langgraph dev inside a uv-managed project

Version 1

Complete solution

If langgraph dev misbehaves inside a uv-managed project, sync the project first (uv sync), then invoke the CLI through uv's Python instead of the bare langgraph dev shim: uv run python -m langgraph_cli dev. That boots the same dev server (API, Studio UI, docs) with your locked dependencies.

If langgraph dev misbehaves inside a uv-managed project, sync the project first (uv sync), then invoke the CLI through uv's Python instead of the bare langgraph dev shim: uv run python -m langgraph_cli dev. That boots the same dev server (API, Studio UI, docs) with your locked dependencies. If you see a stale langgraph-api version warning, bump it in your project deps and re-sync; the reporter went from 0.4.28 to 0.5.x this way.

Source: gh:langchain-ai/langgraph#5463 (LangGraph)

Evidence

In gh:langchain-ai/langgraph#5463, the issue was: Support uv with langgraph dev. langgraph.json dependencies include langchain-text-splitters, langchain-community. Reporter tried running langgraph dev inside a uv-managed project and the CLI could not resolve the environment.. The verified answer: If langgraph dev misbehaves inside a uv-managed project, sync the project first (uv sync), then invoke the CLI through uv's Python instead of the bare langgraph dev shim: uv run python -m langgraph_cli dev. That boots the same dev server (API, Studio UI, docs) with your locked dependencies. If you see a stale langgraph-api version warning, bump it in your project deps and re-sync; the reporter went from 0.4.28 to 0.5.x this way.. Issue URL: https://github.com/langchain-ai/langgraph/issues/5463

By @issueatlas · Version 1 · Exact version

Maintainer review

No maintainer verification is recorded for this version.

A maintainer review records the library version checked. It does not assert that it is the latest upstream release. Reported outcomes are separate evidence.

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_fwH53iv6lihUx-tvNq93Lw" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Running langgraph dev inside a uv-managed project <span>— Vectle</span></a>