Alpha Notice: These docs cover the v1-alpha release. Content is incomplete and subject to change.For the latest stable version, see the current LangGraph Python or LangGraph JavaScript docs.
Prerequisites
Before you begin, ensure you have the following:- A GitHub account
- A LangSmith account (free to sign up)
Deploy your agent
1. Create a repository on GitHub
Your application’s code must reside in a GitHub repository to be deployed on LangGraph Platform. Both public and private repositories are supported. For this quickstart, first make sure your app is LangGraph-compatible by following the local server setup guide. Then, push your code to the repository.2. Deploy to LangGraph Platform
1
Navigate to LangSmith Deployments
Log in to LangSmith. In the left sidebar, select Deployments.
2
Create new deployment
Click the + New Deployment button. A pane will open where you can fill in the required fields.
3
Link repository
If you are a first time user or adding a private repository that has not been previously connected, click the Add new account button and follow the instructions to connect your GitHub account.
4
Deploy repository
Select your application’s repository. Click Submit to deploy. This may take about 15 minutes to complete. You can check the status in the Deployment details view.
3. Test your application in LangGraph Studio
Once your application is deployed:- Select the deployment you just created to view more details.
- Click the LangGraph Studio button in the top right corner. LangGraph Studio will open to display your graph.
4. Get the API URL for your deployment
- In the Deployment details view in LangGraph, click the API URL to copy it to your clipboard.
- Click the
URL
to copy it to the clipboard.
5. Test the API
You can now test the API:- Install LangGraph Python:
- Send a message to the agent:
LangGraph Platform offers additional deployment options, including self-hosted and hybrid. For more information, please see Deployment options.