Skip to main content
Back

Alibaba's Qwen Code Challenges Claude Code With a Free Open-Source Terminal Agent

Qwen Code brings a fully open-source, model-flexible terminal coding agent with SubAgents, Skills, MCP, and IDE integrations to rival Claude Code

Repo, Full Access
  • Qwen Code is an open-source terminal coding agent from Alibaba's QwenLM, forked from Gemini CLI and optimized for the Qwen3-Coder model family, with 23k+ GitHub stars.
  • Supports SubAgents, Agent Teams, Auto-Memory, Skills, MCP, and parallel workflows out of the box — matching Claude Code's feature set.
  • Model-flexible: works with OpenAI, Anthropic, Gemini, Ollama, vLLM, and any OpenAI-compatible endpoint, not just Qwen models.
  • The free Qwen OAuth tier was discontinued in April 2026; users now need an API key, OpenRouter, or Alibaba Cloud Coding Plan.
  • Qwen3-Coder 32B scores 69.6% on SWE-Bench Verified, matching Claude 3.5 Sonnet, with context windows up to 1M tokens.
  • Available now via npm install -g @qwen-code/qwen-code or a one-line shell installer, with IDE plugins for VS Code, JetBrains, and Zed.

Qwen Code is Alibaba's QwenLM team's answer to Claude Code: a fully open-source AI coding agent that runs directly in your terminal, accumulating over 23,000 GitHub stars since its release. It is built on top of Google's Gemini CLI codebase, but heavily reworked to optimize for the Qwen model family and extended with a feature set that now rivals or exceeds its proprietary counterparts.

A fork that grew into its own thing

The project started as a parser-level adaptation of Gemini CLI, tuned to work better with Qwen-Coder models. But it has since evolved far beyond its origins. Qwen Code now ships Auto-Memory, Auto-Skills, SubAgents, Agent Teams, and MCP support out of the box, with dynamic workflows and zero setup required. The repo has shipped 390 releases and a weekly changelog that reads like a product roadmap on fast-forward.

Qwen Code is a command-line AI workflow tool built on the Qwen3-Coder model family, adapted from Gemini CLI with enhanced parser support specifically optimized for Qwen models, and it can be integrated with other platforms like Claude Code and Cline.

What it actually does

Qwen Code is an open-source AI agent for the terminal, optimized for Qwen series models, that helps you understand large codebases, automate tedious work, and ship faster. The agent can read and write files, run shell commands, make git commits, and browse the web , all without leaving your terminal session.

The core use cases are:

  • Codebase exploration: Ask natural language questions about an unfamiliar repo and get structured answers grounded in the actual files.
  • Feature implementation: Describe what you want to build; the agent plans, writes, and verifies the code.
  • Debugging: Paste an error or describe a bug; it traces through the codebase and applies a fix.