New Deploy CLI Commands
LangChain has released a new set of commands within the langgraph-cli package designed to streamline agent deployment. The primary command, langgraph deploy, allows developers to deploy an agent to LangSmith Deployment in a single step, eliminating the need for manual infrastructure setup.
Key Features
The deploy CLI automates several critical tasks:
- Automatic Docker builds: The CLI builds a Docker image for your local LangGraph project automatically
- Infrastructure provisioning: Sets up supporting services including Postgres for persistence and Redis for streaming messages
- Production-ready: Agents run reliably in production without manual infrastructure configuration
- CI/CD integration: Easily integrates into existing workflows using GitHub Actions, GitLab CI, or Bitbucket Pipelines
Additional Commands
Beyond the primary deploy command, LangChain introduced complementary utilities:
langgraph deploy list- View all deployments in your workspacelanggraph deploy logs- Access deployment logslanggraph deploy delete- Remove deploymentslanggraph deploy --help- View all available commands
The release also includes new agent templates (deep-agent and simple-agent) that can be scaffolded with langgraph new.
Getting Started
The new commands are available now in the latest version of langgraph-cli. Developers can get started immediately using: uvx --from langgraph-cli langgraph deploy. Full documentation is available in the LangChain docs.