← Back
LangChain
LangChain Launches Deploy CLI for One-Command Agent Deployment
· featurereleasecliplatformintegration · blog.langchain.com ↗

Deploy CLI: Streamlined Agent Deployment

LangChain has introduced deploy cli, a new feature within the langgraph-cli package designed to simplify agent deployment and management. The primary command, langgraph deploy, allows developers to deploy agents to LangSmith Deployment with a single CLI invocation, making it straightforward to integrate deployment into existing CI/CD pipelines using GitHub Actions, GitLab CI, or Bitbucket Pipelines.

What's Automated

When you run the command, the CLI handles the complete infrastructure setup automatically:

  • Docker image building for your local LangGraph project
  • Postgres provisioning for data persistence
  • Redis setup for streaming message handling
  • All necessary networking and orchestration infrastructure

This eliminates the need for manual infrastructure configuration while ensuring production-ready reliability.

Available Commands

The deploy CLI provides several commands for managing deployments:

  • langgraph deploy – Deploy your agent with automatic infrastructure provisioning
  • langgraph deploy list – View all deployments in your workspace
  • langgraph deploy logs – Stream and view deployment logs
  • langgraph deploy delete – Remove deployments
  • langgraph deploy --help – View all available commands

Getting Started

The feature is available immediately in the latest version of langgraph-cli. You can get started using:

uvx --from langgraph-cli langgraph deploy

LangChain has also released new deep agent and simple agent templates available via langgraph new to help developers bootstrap projects quickly. Full documentation is available at the LangSmith CLI docs.