--- id: langchain-cli version: "0.0.37" license: MIT license_treatment: permissive maintenance: active --- # langchain-cli — CLI for interacting with LangChain License: permissive · Maintenance: active · Downloads: 110.2K/mo ## 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 above — verify before relying. Command-line interface for building, testing, and deploying LangChain agents and LLM applications from the terminal. 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 pip install langchain-cli uv add langchain-cli poetry add langchain-cli ## Installing langchain-cli 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. 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 Requires Python 3.9 or later. Runtime dependencies include typer, gitpython, langserve, uvicorn, tomlkit, and gritql. 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_current - Install friction: low - Maintenance: active - Downloads: 110.2K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags langchain cli tool, build llm agents command line, langchain deployment cli, ai application development cli, langchain project management, agent orchestration command line, llm app scaffolding tool, llm-development, cli-tool, agent-framework [View on SkillFed](https://skillfed.io/packages/langchain-cli) · [View on PyPI](https://pypi.org/project/langchain-cli/)