Prerequisites
- Graphs deployed on LangGraph Platform.
- Graphs running locally via the LangGraph Server.
Local development server
To test your locally running application using LangGraph Studio, ensure your application is set up following this guide.LangSmith Tracing
For local development, if you do not wish to have data traced to LangSmith, set
LANGSMITH_TRACING=false
in your application’s .env
file. With tracing disabled, no data will leave your local server.Browser Compatibility
Safari blocks
localhost
connections to Studio. To work around this, run the above command with --tunnel
to access Studio via a secure tunnel.Ready!Once running, you will automatically be directed to LangGraph Studio. For an already running server, access Studio by either:
- API: http://localhost:2024
- Docs: http://localhost:2024/docs
- LangGraph Studio Web UI: https://smith.langchain.com/studio/?baseUrl=http://127.0.0.1:2024
- Directly navigate to the following URL:
https://smith.langchain.com/studio/?baseUrl=http://127.0.0.1:2024
. - Within LangSmith, navigate to the LangGraph Platform Deployments tab, click the “LangGraph Studio” button, enter
http://127.0.0.1:2024
and click “Connect”.
baseUrl
to match.
(Optional) Attach a debugger
For step-by-step debugging with breakpoints and variable inspection:- VS Code
- PyCharm
Add this configuration to
launch.json
: