Tools/QwenLM/qwen-code

qwen-code

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

25.7kgrowthTypeScriptApache License 2.0trending

The Lens

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.

Self-hosting ops:trivial

Get tools like this every Wednesday

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

Similar Tools

Score
77/100 · B+
Adoption27/30
Maintenance20/25
Community5/20
License15/15
Analysis10/10

License: Apache License 2.0

Use freely. Patent grant included.

Commercial use: ✓ Yes

About

Owner
Qwen (Organization)
Stars
25,725
Forks
2,590

Explore Further

More tools in the directory