langgraph dev: A lightweight development server for rapid iteration.langgraph up: A production-like testing environment for validation.
Development
Here’s the typical workflow when building applications:Recommended workflow
- Daily development: Use
langgraph devfor rapid iteration. - Periodic validation: Test major changes with
langgraph up. - Pre-deployment check: Run
langgraph up --recreatefor a fresh build. - Deploy: Push to production via the LangSmith UI or Control Plane API.
langgraph dev
The langgraph dev command runs a lightweight server directly in your environment, designed for speed and convenience during active development. The key features include:
- No Docker required: Runs directly in your environment.
- Hot reloading: Automatically reloads when you change code.
- Fast startup: Ready in seconds.
- Built-in Debug Adapter Protocol support: Attach your IDE debugger to the server for line-level breakpoints & debugging.
- Local storage: State persisted to local directory.
The
dev server is tested with the same integration test suite as production to ensure its behavior is the same during development while using minimal resources.Get started with langgraph dev
Get started with langgraph dev
Before you begin, ensure you have:
1
Create a LangGraph app
Create a new app from the
new-langgraph-project-python template or new-langgraph-project-js template. This template demonstrates a single-node application you can extend with your own logic.- Python server
- Node server
2
Install dependencies
- Python server
- Node server
3
Launch Agent Server
- Python server
- Node server

