Tools/QwenLM/qwen-code

qwen-code

An open-source AI coding agent that lives in your terminal.

27.1k+190/wkgrowthTypeScriptApache License 2.0trending

The Lens

By Erik Loyd, SaaS CEO and former COO/CFO of an AWS Premier Partner.

Updated Jul 2026

Qwen Code is Alibaba's open-source answer to Claude Code: an AI coding agent that lives in your terminal, reads your repo, writes code, runs commands, and fixes its own mistakes. Apache 2.0 licensed, and unlike the proprietary agents it takes after, it is not locked to one model. Point it at Qwen's own API, OpenAI, Anthropic, Gemini, or a local model through Ollama or vLLM. The framework is free. What you pay is whatever the model behind it costs.

Install is a one-liner through npm, Homebrew, or a curl script, then you configure an API key or a local endpoint. It ships more than a terminal: there are VS Code, Zed, and JetBrains plugins, a headless mode for scripting, and a daemon. Built-in skills like /review, /bugfix, and /loop cover the common agent workflows out of the box, and it speaks MCP for extending into your own tools.

The real question is the model, not the tool. Run it against a strong hosted model and it competes with Claude Code and Cursor on capability while costing you only tokens. Run it against a local Qwen model and you get a fully offline coding agent for free, at the cost of some quality. Solo devs and cost-conscious teams get the flexible, no-lock-in option here. Teams already deep in Cursor's IDE experience may not switch.

The catch: an agent is only as good as the model driving it. Free and local sounds great until a weaker model burns your afternoon on a task Claude would have nailed in one pass. The freedom to choose your model is also the freedom to choose a bad one.

Free vs Self-Hosted vs Paid

fully free

Free tier: The entire tool is free and open source under Apache 2.0.

Self-hosted / local: Run it against a local model through Ollama or vLLM for a fully offline coding agent at zero cost.

Paid: Nothing to the project. If you point it at a hosted model (Qwen/DashScope, OpenAI, Anthropic, Gemini), you pay that provider's per-token rate.

Free and open source (Apache 2.0). Your only cost is the model behind it, from zero with a local model to per-token with a hosted one.

What to do by team size

Solo
free
Small team
free
Larger team
free
Self-hosting ops:trivial

Get tools like this every Wednesday

One featured tool, three on the radar. No fluff.

Similar Tools

Score
92/100 · A+
Adoption27/30
Maintenance25/25
Community15/20
License15/15
Analysis10/10

A low score is not a verdict on quality. Young and niche tools start low by design. How we calculate scores

Trust Signals

High adoption: 25,725 starsActive community: 2,590 forksCommunity discussions enabledOrganization account (49 public repos)Notable author: 17,764 followersAuthor also built: QwenLM/Qwen-AgentWorld (705 stars)

License: Apache License 2.0

Use freely. Patent grant included.

Commercial use: ✓ Yes

About

Owner
Qwen (Organization)
Stars
27,051
Forks
2,864

Also by Qwen

Explore Further

More tools in the directory