langchain-cli
CLI for interacting with LangChain
Decision gist · record as of 2026-08-14
Yes, if you are actively developing LangChain applications and prefer command-line workflows. The package has low install friction, no security issues, and is actively maintained. It is most valuable as part of a broader LangChain development setup; on its own, its utility depends on your CLI-first development style and specific use case within the LangChain ecosystem.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.9 or later.
- Runtime dependencies include typer, gitpython, langserve, uvicorn, tomlkit, and gritql.
- Low friction install with a small, stable dependency tree.
License · maintenance · safety
MIT (permissive) — MIT license permits unrestricted use, modification, and distribution with minimal legal constraints—suitable for both commercial and open-source projects.
last release 2025-08-30 (349 days) · last repo commit 2026-08-14 · 144,262 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 110,205 downloads/mo, #12,478 on PyPI
Alternatives
Verify before relying
pip install langchain-cli
langchain-cli --help
# or use via: from langchain_cli import main- Specific CLI commands and workflows supported by this version (0.0.37) are not detailed in the fact sheet.
- Whether this package is the primary entry point for LangChain CLI or a supplementary tool.
- Integration scope with LangGraph, Deep Agents, and other ecosystem products via CLI.
What it is and what it does
langchain-cli is a command-line tool for developers working with LangChain, the framework for building LLM-powered applications and agents. It provides terminal-based access to LangChain's core functionality, allowing you to scaffold projects, manage configurations, and interact with LangChain components without leaving the shell. The package depends on typer for CLI argument handling, gitpython for version control integration, langserve for serving applications, uvicorn as an ASGI server, tomlkit for configuration file parsing, and gritql for code querying.
The tool is part of the broader LangChain ecosystem, which includes LangGraph for agent orchestration, Deep Agents for higher-level agent patterns, and LangSmith for observability and deployment. It is actively maintained, has no known security vulnerabilities, and supports current Python versions (3.9+). The permissive MIT license makes it suitable for any project type.
Use it for
- Scaffold and initialize new LangChain projects from the command line without manual boilerplate setup.
- Deploy and manage LangChain agents and LLM applications as services using the integrated uvicorn server.
- Test and debug LangChain components locally before integrating them into larger applications.
- Automate LangChain workflows in CI/CD pipelines or shell scripts for batch processing.
- Quickly prototype and iterate on agent configurations using terminal-based commands.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you are actively developing LangChain applications and prefer command-line workflows.
The package has low install friction, no security issues, and is actively maintained. It is most valuable as part of a broader LangChain development setup; on its own, its utility depends on your CLI-first development style and specific use case within the LangChain ecosystem.
Install
langchain-cli on PyPI
Before you install
Low friction install with a small, stable dependency tree. The package is actively maintained with recent releases and has no known vulnerabilities. Requires Python 3.9 or later.
Requires Python 3.9 or later. Runtime dependencies include typer, gitpython, langserve, uvicorn, tomlkit, and gritql.
License in practice
MIT license permits unrestricted use, modification, and distribution with minimal legal constraints—suitable for both commercial and open-source projects.
Quickstart
pip install langchain-cli
langchain-cli --help
# or use via: from langchain_cli import main
Verify before relying
- Specific CLI commands and workflows supported by this version (0.0.37) are not detailed in the fact sheet.
- Whether this package is the primary entry point for LangChain CLI or a supplementary tool.
- Integration scope with LangGraph, Deep Agents, and other ecosystem products via CLI.
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release >=3.9 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 6 packagestypergitpythonlangserveuvicorntomlkitgritql |
| Maintenance | Actively maintained 349 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 110,205 / month, #12,478 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
Evidence: langchain_cli-0.0.37-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “langchain cli tool”
- langchain-cliCommand-line interface for building, testing, and deploying LangChain…
- deepagents-cliCommand-line tool for scaffolding, configuring, and deploying…
- deepagents-codeA terminal-based AI coding agent that works with any LLM supporting…
Give your agent the search over MCP, or paste the wish link into any chat.
More Application Frameworks packages
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.
Textual is a Python framework for building cross-platform user interfaces that run in the terminal or web browser using a modern, component-based API.
Install it if you're developing CLI tools, dashboards, or interactive terminal applications.
Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.
Install it if you are building CLIs in Python.
Build and connect to Model Context Protocol servers that expose tools, resources, and prompts to LLM applications over stdio, HTTP, or SSE transports.
Install it if you need to build or connect to servers.
Werkzeug is a WSGI utility library providing request/response objects, URL routing, an interactive debugger, HTTP utilities, and a development server for building web applications.
See also langchain · alita-sdk · langchain-core · deepagents · langchain-community · langchain-experimental · deepagents-cli · langchain-quickjs · zenpyre · langgraph-cli