New Deploy Commands for LangGraph Agents
LangChain has introduced the deploy CLI, a new set of commands within the langgraph-cli package that simplifies deploying and managing agents directly from the command line.
Key Features
The new suite includes several commands:
langgraph deploy: Deploy an agent to LangSmith Deployment in a single steplanggraph deploy list: View all deployments in your workspacelanggraph deploy logs: Access deployment logs for monitoring and debugginglanggraph deploy delete: Remove deployments
Zero-Configuration Infrastructure Setup
When you run langgraph deploy, the CLI automatically handles:
- Building a Docker image for your local LangGraph project
- Provisioning required infrastructure including Postgres for persistence and Redis for streaming messages
- Setting up all supporting services needed for production reliability
This eliminates the need for manual infrastructure configuration and makes it easy to integrate agent deployment into existing CI/CD workflows with GitHub Actions, GitLab CI, or Bitbucket Pipelines.
Getting Started
The deploy CLI is available immediately in the latest version of langgraph-cli. You can get started with:
uvx --from langgraph-cli langgraph deploy
LangChain has also released new deep agent and simple agent templates that can be scaffolded with langgraph new to jumpstart your projects. Full documentation is available at the LangChain CLI docs.