Skip to content

Qwen Code

Terminal AI coding agent with MCP, subagents and any OpenAI-compatible model

Permissive (OSI) · Apache-2.0 AI-native
  • macOS
  • Linux
  • CLI

Listed by , founder & editor

85

Health

Thriving

Overview

Stars

30,916

Last commit

today

Nov 2026

Repository age

1 year

since Jun 2025

Latest version

v0.28.4

Nov 2026

Contributors

–

6 active in 90 days

Releases

14

last 12 months

Language

TypeScript

Qwen Code is a coding agent you run from the command line. You open it in a project folder, start it with the qwen command, and ask it to explain, edit or test code. It is written in TypeScript and licensed under Apache-2.0.

It talks to OpenAI, Anthropic, Gemini and Qwen APIs, and to third-party providers or local models served through Ollama or vLLM. You can switch models during a session. Auto-memory, skills, subagents and MCP work from the first session. Agent teams, an arena mode and dynamic workflows are experimental or opt-in.

Beyond the terminal, it offers IDE plugins, a desktop app, a web UI, SDKs and chat integrations such as Telegram, DingTalk, WeChat, WeCom and Feishu. It installs with a shell script, npm or Homebrew on Linux and macOS, and a PowerShell script on Windows. It suits you if you want an open-source alternative to proprietary terminal coding agents, with the freedom to pick your own model provider.

Who it's for

Developers who want a terminal coding agent without model lock-in

It works with several API protocols and local models, and you can switch at runtime.

Skip if: You want a fully offline tool with no model provider account or local model setup.

Teams building their own agent tooling

SDKs, MCP support and subagents give you pieces to extend or embed.

Skip if: You only need inline autocomplete inside an editor.

Teams working through chat apps

It connects to Telegram, DingTalk, WeChat, WeCom and Feishu.

Skip if: Your team uses none of these chat platforms.

The problem it solves

Many AI coding agents tie you to one vendor's models and one interface. Qwen Code gives you an open-source agent that works with several providers and local models. You can use it from the terminal, an IDE, a desktop app or chat.

Strengths

  • Apache-2.0 licensed, with about 30,800 GitHub stars
  • Supports OpenAI, Anthropic, Gemini and Qwen APIs plus Ollama and vLLM
  • MCP, skills and subagents available from the first session
  • 15 releases in the past year and 15 contributors in the last 90 days
  • Installs via shell script, npm or Homebrew; Windows script provided

Trade-offs

  • Agent teams, arena and dynamic workflows are experimental or opt-in
  • The tool is not self-hosted software; you still need a model provider or local model
  • The npm install requires Node.js 22 or newer
  • The 1.0 Preview is separate from the main version

Self-host Qwen Code

Self-hostable
No (desktop or local app)

Quick start

npm install -g @qwen-code/qwen-code@latest

From the project's own install instructions. Check the docs for production settings.

Frequently asked questions

Is Qwen Code free?

The software is free under the Apache-2.0 license. Model API usage or a Qwen subscription is a separate matter depending on the provider you choose.

Can I use local models?

Yes. It supports local models served through Ollama or vLLM, along with third-party providers.

Which platforms does it run on?

It runs on Linux and macOS, and installation instructions are provided for Windows. It installs with a script, npm or Homebrew.

Does it support MCP?

Yes. MCP, skills and subagents are available from your first session.

Similar tools in AI coding assistants

open-code-review

AI coding assistants

Command-line AI code reviewer that checks Git diffs with your own LLM endpoint

56k 4.6k today Thriving Apache-2.0

Tabby (tabbyml/tabby)

AI coding assistants

Self-hosted AI coding assistant for teams that keep code and models on-prem

34k 1.8k 5 months ago Dormant Apache-2.0 + open core

Replaces GitHub Copilot

Codex CLI

AI coding assistants

Command-line AI coding assistant for developers who work in the terminal

136k Apache-2.0

Orca

AI coding assistants

Desktop workspace for running several coding agents in parallel git worktrees

135k 8.7k today Thriving MIT

cc-connect

AI coding assistants

Bridge local AI coding agents to chat apps like Slack, Telegram and Discord

16k 1.8k today Thriving MIT