Qwen Code logo

Qwen Code

Free

Alibaba's terminal coding agent, optimized for Qwen models.

FreeFree tier
Inputs: text, codeOutputs: text, code
Type
Open Source
Company
Alibaba (Qwen Team)

About Qwen Code

Qwen Code is an open-source AI coding agent that operates directly within the terminal, offering a comprehensive set of agentic capabilities out of the box. It features Auto-Memory, Auto-Skills, SubAgents, Agent Teams, and MCP, enabling dynamic workflows with zero setup. The tool supports multiple protocols including OpenAI, Anthropic, Gemini, and Qwen APIs, as well as local models via Ollama or vLLM. Beyond the terminal, Qwen Code integrates with IDEs (VS Code, Zed, JetBrains), offers a desktop app, daemon mode, SDKs (TypeScript, Python, Java), and IM bots (Telegram, DingTalk, WeChat, Feishu). The framework and underlying Qwen models are both open-source, ensuring no vendor lock-in. Notably, Qwen Code actively iterates on itself by using its own agent and models to file issues, submit PRs, review code, and run tests.

Key Features

Agentic out of the box with Auto-Memory, Auto-Skills, SubAgents, Agent Teams, and MCP
Dynamic workflows with zero setup required
Fully open-source framework and models, no vendor lock-in
Multi-protocol support: OpenAI, Anthropic, Gemini, Qwen APIs, and local models via Ollama/vLLM
Multiple interfaces: terminal UI, headless, IDE plugins (VS Code, Zed, JetBrains), desktop app, daemon mode
SDKs available for TypeScript, Python, and Java
IM bot integration with Telegram, DingTalk, WeChat, and Feishu
Self-iterating: uses its own agent to file issues, submit PRs, review code, and run tests
Installation via curl, irm, npm, or Homebrew

Pros & Cons

Pros
  • Completely open-source and free to use
  • Supports a wide range of LLM providers without vendor lock-in
  • Rich agentic capabilities like memory and subagents out of the box
  • Versatile deployment options (terminal, IDE, desktop, daemon, bot)
  • Actively maintained and self-improving via automated PRs and reviews
Cons
  • Requires Node.js 22+ or npm for installation via NPM
  • Terminal-based primary interface may have a learning curve for some users
  • Relatively new project with an evolving ecosystem

Best For

Interactive code generation and completion in the terminalAutomated code review and pull request managementRunning AI-assisted CI/CD pipelines and batch scriptsMulti-agent collaborative software developmentBuilding custom coding assistants via SDKsIntegrating AI into IDE workflows through plugins

FAQ

What is Qwen Code?
Qwen Code is an open-source AI coding agent that lives in your terminal, offering agentic features like auto-memory, subagents, and multi-protocol LLM support.
How do I install Qwen Code?
On Linux/macOS, use curl; on Windows, use irm. Alternatively, install via npm (requires Node.js 22+) or Homebrew.
What LLM providers does Qwen Code support?
It supports OpenAI, Anthropic, Gemini, Qwen APIs, and any third-party or local model via Ollama/vLLM, with runtime switching.
Can I integrate Qwen Code with my IDE?
Yes, Qwen Code offers plugins for VS Code, Zed, and JetBrains IDEs.
Is Qwen Code truly open-source?
Yes, both the framework and the Qwen models are open-source, ensuring no vendor lock-in.