Retrieval agent · Part 3 · Deployment

Deploying to LangGraph Cloud

Import the repo straight from GitHub, add the environment configuration, submit - then wait out the 15-minute deploy, which you pay again in full for every environment-variable change.

· ~1 min read · Part 3 of 5

Deploying

I deployed my retrieval graph to langgraph cloud. The process was quite straight-forward.

  1. I created a Plus account on LangSmith. This is necessary. Free-tier developer account does not allow deploying to LangGraph cloud. This costs 39 USD / month.

  2. Now from LangSmith left-nav bar, I can go to Deployments > LangGraph Platform. Here I can initiate a + New Deployment.

  3. I can Import from GitHub my langGraph repo! And add my environment configurations (the ones in .env file).

    LangGraph Cloud Deployment
    FIG 1 - A new LangGraph Cloud deployment, imported from GitHub with its environment configuration.
  4. And I just Submit to deploy! This step takes around 15+ minutes. Once this finishes, I click on LangGraph Studio to access the studio to test my graphs!

What I noticed

I noticed that to update an environment variable, I need to deploy a new version. Whole 15+ minutes once again 😞. I have no doubt that this will get better in the future.

Code & references

  1. LangSmith, where LangGraph Cloud deployments live - smith.langchain.com

Retrieval agent · Part 3 of the series · ← Step-thru Debugging your LangGraphs Adding a Chat Client to a LangGraph Assistant →