This is a concise guide on setting up and running the LangGraph development server (langgraph dev) using uv as the package manager and runner.
- Python: Ensure you have Python 3.11+ installed.
- UV: Install
uv:curl -LsSf https://astral.sh/uv/install.sh | sh(or other methods from astral.sh/uv). .envfile: Have your necessary API keys (e.g.,OPENAI_API_KEY) in a.envfile in your project root.- LangGraph Agent: Have your LangGraph agent code (e.g., in
agent.py) defining a compiled graph (e.g.,graph).