Skip to main content

Qwen Code

Open-source terminal coding agent from the Qwen team

Code / DevToolsFreeOpen source

Qwen Code is an open-source AI coding agent that runs in your terminal, published by the Qwen team under Apache-2.0.

Key specs
29,505 GitHub stars source
as of 2026-11-12

What we know

LicenseApache-2.0source, checked 2026-11-30
Open sourceYessource, checked 2026-11-30
PricingFreefrom our original listing, not yet re-checked
GitHub stars31,049source, checked 2026-11-30

Overview

Qwen Code is an open-source coding agent from the Qwen team at Alibaba. It runs in your terminal like Claude Code or Gemini CLI, reads your repository, and makes changes on request. It isn't tied to Qwen models: it speaks the OpenAI, Anthropic, Gemini and Qwen APIs and can run local models. A 1.0 preview merges in agent-harness features from Qoder.

Key capabilities

  • Agent features: auto-memory, auto-skills, subagents, agent teams and MCP support.
  • Many surfaces: terminal, IDE plugins, desktop app, web UI and chat apps.
  • Headless mode: qwen -p "..." for scripts and CI jobs.
  • SDKs: TypeScript, Python and Java for building on top of it.
  • Daemon mode: qwen serve shares sessions across clients over HTTP and SSE (experimental).

Tradeoffs

  • Fast-moving project; some interfaces (web UI, daemon) are marked experimental.
  • The daemon listens without authentication by default; set a token on shared machines.
  • Quality depends on the model you connect.

Ideal for

  • Developers who want an open-source alternative to Claude Code
  • Teams running local or non-OpenAI models
  • CI automation with a coding agent

Not ideal for

  • People who want a fully managed IDE experience
  • Shared hosts without setting up auth

Getting started

  1. Install with npm install -g @qwen-code/qwen-code@latest (Node.js 22+), brew install qwen-code, or the standalone install script.
  2. Open a terminal in your project and run qwen.
  3. Run /auth to sign in with a Qwen subscription or configure an API key for OpenAI, Anthropic, Gemini or a local model.
  4. Start with a prompt such as "Explain this repository and show me where to start." For scripts and CI, use headless mode: qwen -p "...".

Technical notes

  • Install: npm install -g @qwen-code/qwen-code@latest (Node.js 22+) or brew install qwen-code
  • Run: qwen in your project
  • License: Apache-2.0
  • Source: QwenLM/qwen-code
  • GitHub stars: 29,505 (as of 2026-11-12)

FAQ

Which models does Qwen Code work with?

Qwen models via a Qwen account subscription, plus OpenAI, Anthropic and Gemini APIs, other third-party providers, and local models through Ollama or vLLM. You can switch provider at runtime.

Is Qwen Code only for the terminal?

No. Besides the `qwen` CLI there are IDE plugins (VS Code, Zed, JetBrains), a desktop app, an experimental web UI, SDKs for TypeScript, Python and Java, and chat integrations such as Telegram.

Is Qwen Code free?

The agent is open source under Apache-2.0. Model usage is billed by whichever provider you connect, or covered by a Qwen Plus or Pro subscription.

Alternatives

Is your tool an alternative to Qwen Code? Sponsor this spot for 30 days, marked Sponsored.

Integrations

None listed.

Built on

None listed.

For the team behind Qwen Code

Growth plan: from $399 a month

SEO, AI search (how ChatGPT, Perplexity and Google describe Qwen Code), UX, CRO and support from one account manager, with a monthly report. Includes a Featured launch on db.fyi. Starts with a free audit.

Founding offer: $299 a month for your first 3 months, plus a free case study.

Get a free audit

Listed 2026-11-12 · updated 2026-11-12