Index of every page on this site: llms.txt
All skills
langchain-ai avatar

/langgraph-cli

@7a385cd official
Run it yourself

Retired skill, replaced by `langchain-build-agent`. Use for the langgraph CLI and langgraph.json for local dev and deployment: it tells you to switch to `langchain-build-agent`.

Use this Skill: https://skilld.dev/gh/langchain-ai/langchain-skills/langgraph-cli

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

SKILL.md

≈48 tokens for metadata: the name and description. ≈114 when used: this file.

Description uses 2.4% of example budget

Before choosing a Skill, your Agent reads its name and description. All available Skills share that space.

  • A shorter description leaves more room for other Skills. This entry exceeds our 1% size suggestion.

In our Claude Code example, all Skill names and descriptions share 8,000 characters. This Skill uses ≈193 characters, or 2.4%.

The 1% threshold is a size suggestion. Longer descriptions can still fit.

Your model, settings, and other Skills decide how much text your Agent can read.

Example settings and source

The example uses a 200k-token context and default Claude Code settings. The count includes the name, description, separators, and when_to_use when present. Codex also counts local file paths.

Skit's source and limits: Codex 0.160.1, Claude Code 2.1.292.

langgraph-cli (retired)

langgraph-cli was retired from langchain-skills. Use the langchain-build-agent skill instead.

  1. If langchain-build-agent is available, use it for this task.

  2. Otherwise, install it, then use it:

    npx skills add langchain-ai/langchain-skills --skill langchain-build-agent --yes
  3. Tell the user that langgraph-cli is retired and that they can remove it with npx skills remove langgraph-cli.

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

1 warning1d3 checks · Risk SAFE
  • Gen Agent Trust Hub1d

    This skill acts as a redirection notice, informing users that it has been retired and providing instructions to transition to a replacement skill from the official vendor repository.

  • Socket5mo

    No alerts

  • Snyk1d

    Risk: MEDIUM · 1 issue

Signed by skilld at 7a385cd. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub yesterday.

Activeupdated yesterday
metadata
{
  "internal": "true"
}
  • CLI
  • Python
  • langgraph
  • deployment
  • docker
  • langsmith
  • javascript
  • api-server
  • development-server

README badge

README badge for langchain-ai/langchain-skills/langgraph-cli

Manages the full lifecycle of LangGraph applications via CLI commands for scaffolding, local development, building Docker images, and deploying to LangGraph Platform. Covers `langgraph new`, `dev`, `build`, `up`, `deploy`, and `langgraph.json` configuration for Python and JavaScript projects.

Generated from the current SKILL.md.

What's the difference between `langgraph dev` and `langgraph up`?
`langgraph dev` runs locally without Docker for rapid iteration with hot reload (port 2024, in-memory state). `langgraph up` launches a production-like Docker stack with Postgres (port 8123) for validation before deployment. `langgraph dev` requires `langgraph-cli[inmem]`; `langgraph up` requires Docker.
Does this work with JavaScript?
Yes. Use `npx @langchain/langgraph-cli <command>` or install globally as `npm install -g @langchain/langgraph-cli` and use `langgraphjs`. Templates include `deep-agent-js` and `new-langgraph-project-js`.
What do I need to deploy to LangGraph Platform?
Docker is required. On Apple Silicon (M1/M2/M3), Docker Buildx is also needed for cross-compiling to `linux/amd64`. You must set `LANGSMITH_API_KEY` in your environment or `.env` file. Deployments created via the CLI can only be updated by the CLI, not the LangSmith UI.
Can I use `langgraph dev` if my code depends on system packages like ffmpeg?
No. `langgraph dev` runs directly in your environment, so system dependencies must be pre-installed locally. Use `langgraph up` to validate Docker builds, or add system packages via the `dockerfile_lines` key in `langgraph.json`.
How do I configure multiple graphs in one project?
Set multiple entries in the `graphs` object in `langgraph.json`. Each entry maps a graph ID to a file path and exported variable, e.g. `"agent": "./agent.py:graph"` and `"retriever": "./rag.py:rag_graph"`.

Generated from the current SKILL.md. These answers refresh after source changes.