Open-source AI agent for the terminal, optimized for Qwen models. Understand codebases, automate tasks, ship faster.
Qwen Code is an open-source AI agent that lives in your terminal, optimized for Qwen series models. It helps developers understand large codebases, automate tedious work, and ship faster. It supports multi-protocol flexible providers including OpenAI, Anthropic, Gemini-compatible APIs, Alibaba Cloud Coding Plan, OpenRouter, Fireworks AI, or bring your own API key. Features include rich built-in tools (Skills, SubAgents) for a full agentic workflow and a Claude Code-like experience. It is terminal-first but offers optional integration with VS Code, Zed, and JetBrains IDEs.
Key Features
check_circleMulti-protocol API support (OpenAI, Anthropic, Gemini, etc.)
check_circleAgentic workflow with Skills and SubAgents
check_circleTerminal-first with optional IDE integration
check_circleOpen-source and co-evolving with Qwen3-Coder model
check_circleAuthentication via API key or Coding Plan
check_circleSupports large codebase understanding
check_circleAutomates code refactoring, testing, and generation
check_circleConfigurable via settings.json
Use Cases
lightbulbDevelopers use Qwen Code to understand a new codebase by asking natural language questions, getting explanations of the project structure and key components in seconds.
lightbulbEngineering teams automate tedious refactoring tasks by describing the desired changes in plain English, and Qwen Code applies them across multiple files consistently.
lightbulbQA engineers generate unit tests for a module by providing the source code, reducing manual test writing time from hours to minutes.
lightbulbSolo developers ship faster by using Qwen Code to generate boilerplate code, fix bugs, and optimize performance directly from the terminal.
lightbulbOpen-source contributors quickly onboard to large projects by asking Qwen Code to summarize the codebase and identify relevant files for their contribution.
lightbulbDevOps engineers automate deployment scripts and configuration files by describing the infrastructure requirements, ensuring consistency across environments.
AI agentterminalcode assistantopen-sourceQwendeveloper toolsautomationcodebase understandingagentic workflow