langgraph dev
), deploying to LangGraph Platform will fail as well.LangGraph Platform
. The LangGraph Platform
view contains a list of existing LangGraph Platform deployments.+ New Deployment
to create a new deployment.Create New Deployment
panel, fill out the required fields.Deployment details
Import from GitHub
and follow the GitHub OAuth workflow to install and authorize LangChain’s hosted-langserve
GitHub app to access the selected repositories. After installation is complete, return to the Create New Deployment
panel and select the GitHub repository to deploy from the dropdown menu. Note: The GitHub user installing LangChain’s hosted-langserve
GitHub app must be an owner of the organization or account.Git Branch
. A deployment is linked to a branch. When a new revision is created, code for the linked branch will be deployed. The branch can be updated later in the Deployment Settings.langgraph.json
is in the root of the repository, simply specify langgraph.json
.Automatically update deployment on push to branch
. If checked, the deployment will automatically be updated when changes are pushed to the specified Git Branch
. This setting can be enabled/disabled later in the Deployment Settings.Deployment Type
.Development
deployments are meant for non-production use cases and are provisioned with minimal resources.Production
deployments can serve up to 500 requests/second and are provisioned with highly available storage with automatic backups.Shareable through LangGraph Studio
.Environment Variables
and secrets. See the Environment Variables reference to configure additional variables for the deployment.OPENAI_API_KEY
) should be specified as secrets.Tracing Project
is automatically created with the same name as the deployment.Submit
. After a few seconds, the Deployment
view appears and the new deployment will be queued for provisioning.LangGraph Platform
. The LangGraph Platform
view contains a list of existing LangGraph Platform deployments.Deployment
view, in the top-right corner, select + New Revision
.New Revision
modal, fill out the required fields.langgraph.json
is in the root of the repository, simply specify langgraph.json
.Shareable through LangGraph Studio
.Environment Variables
and secrets. Existing secrets and environment variables are prepopulated. See the Environment Variables reference to configure additional variables for the revision.Submit
. After a few seconds, the New Revision
modal will close and the new revision will be queued for deployment.LangGraph Platform
view…
Revisions
table. A panel slides open from the right-hand side and the Build
tab is selected by default, which displays build logs for the revision.Server
tab to view server logs for the revision. Server logs are only available after a revision has been deployed.Server
tab, adjust the date/time range picker as needed. By default, the date/time range picker is set to the Last 7 days
.LangGraph Platform
. The LangGraph Platform
view contains a list of existing LangGraph Platform deployments.Monitoring
tab to view the deployment metrics. See a list of all available metrics.Monitoring
tab, use the date/time range picker as needed. By default, the date/time range picker is set to the Last 15 minutes
.LangGraph Platform
view…
Revisions
table.Interrupt
from the menu.Interrupt revision
.LangGraph Platform
. The LangGraph Platform
view contains a list of existing LangGraph Platform deployments.Delete
.Confirmation
modal will appear. Select Delete
.LangGraph Platform
view…
Deployment Settings
).Git Branch
to the desired branch.Automatically update deployment on push to branch
.hosted-langserve
GitHub app, repository access for the app can be modified to add new repositories or remove existing repositories. If a new repository is created, it may need to be added explicitly.
Settings
> Applications
> hosted-langserve
> click Configure
.Repository access
, select All repositories
or Only select repositories
. If Only select repositories
is selected, new repositories must be explicitly added.Save
.LangGraph Platform
deployments created after January 6th 2025 will come through a NAT gateway.
This NAT gateway will have several static ip addresses depending on the region you are deploying in. Refer to the table below for the list of IP addresses to whitelist:
US | EU |
---|---|
35.197.29.146 | 34.90.213.236 |
34.145.102.123 | 34.13.244.114 |
34.169.45.153 | 34.32.180.189 |
34.82.222.17 | 34.34.69.108 |
35.227.171.135 | 34.32.145.240 |
34.169.88.30 | 34.90.157.44 |
34.19.93.202 | 34.141.242.180 |
34.19.34.50 | 34.32.141.108 |