Context
When running langgraph dev locally, Studio redirects you to the LangSmith login page at smith.langchain.com by default. To make this work in a self-hosted environment, you need to pass in the --studio-url flag.
Answer
Run
langgraph devwith the--studio-urlflagSpecify your self-hosted LangSmith URL as the argument
Example:
langgraph dev --studio-url https://your-langsmith-instance.com
This will open the Studio UI using your self-hosted instance.