
qwen-code
An open-source AI coding agent that lives in your terminal.
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 freeFree 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.
Get tools like this every Wednesday
One featured tool, three on the radar. No fluff.
Similar Tools

an open source, extensible AI agent that goes beyond code suggestions - install, execute, edit, and test with any LLM

The open source coding agent.

Autonomous coding agent right in your IDE, capable of creating/editing files, executing commands, using the browser, and more with your permission every step of the way.

DeepSeek + MiMo coding agent in terminal

aider is AI pair programming in your terminal

DeepSeek-native AI coding agent for your terminal. Engineered around prefix-cache stability — leave it running.
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
openclaw
Your own personal AI assistant. Any OS. Any Platform. The lobster way. 🦞
381.2k ★everything-claude-code
The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.
224.8k ★hermes-agent
The agent that grows with you
207.4k ★