LangRouter

Langcli

Agentic coding assistant highly integrated with LangRouter.

Background

The LangRouter team worked closely with the Langcli team to jointly develop the Langcli agentic coding tool.

What is Langcli?

Welcome to Langcli. Langcli is an interactive AI coding assistant in the terminal, built upon the leaked code of Claude Code.

Langcli has the following advantages:

  1. compatible with Claude Code

    Langcli has been built upon the leaked code leaked Claude Code. Therefore, the way to use Langcli is exactly the same as that of Claude Code.

  2. Supports mainstream LLM models

    Langcli's deep integration with the LangRouter platform. In this way, Langcli allows you to freely use and switch between mainstream LLM models (including Claude OPUS 4.6, GLM 5.1, Kimi K2.5, Minimax M2.5, Deepseek v3.2, etc.) within a working session without interrupting your context.

  3. Significantly reduce the cost of using LLM models

    When using Langcli for project development, you can freely switch between LLM models within a working session. You can use cost-effective LLM models for simple, most tasks, and the more expensive Claude Opus for complex, minority tasks, allowing you to save a significant amount on token costs. According to statistics from some community members, certain projects can save up to 90% on token costs.

  4. Easily use the web search feature

    You only need one API key from the LangRouter platform. Not only can you use mainstream LLM models for project development, but you can also equip the Langcli coding assistant with web search capabilities, further improving your development efficiency. This saves you the trouble of configuring additional API keys to use web search functionality.

  5. Not worried about account banning

    The world has long suffered from Anthropic's account bans. The LangRouter platform, through a legitimate U.S. company, signs bulk procurement contracts with Anthropic, thereby avoiding account bans while offering discounted Claude OPUS and Claude Sonnet model APIs to end customers.


Installation

Linux / macOS

bash -c "$(curl -fsSL https://assets.langcli.com/installation/install-langcli.sh)"

Windows (Run as Administrator CMD)

curl -fsSL -o %TEMP%\install-langcli.bat https://assets.langcli.com/installation/install-langcli.bat && %TEMP%\install-langcli.bat

Note: It's recommended to restart your terminal after installation to ensure environment variables take effect.

Manual Installation

Prerequisites

Make sure you have Node.js 20 or later installed. Download it from nodejs.org.

NPM

npm i -g langcli-com

Quick Start

LangRouter API Key Preparation

Go to LangRouter, register an account, save your API key.

Running

# Start Langcli (interactive)
langcli

# Then, in the session:
/help

To learn more about Langcli, please visit their Langcli website.

Last updated on