登录 注册

qwen-code

去点 Star
AI 应用与 AI Agent开发者工具AI 模型与开发框架 agenticaiai-agentai-codingclicoding-agent
29,435
Stars
3,365
Forks
147
Watchers
2,205
Open Issues
Apache-2.0
许可证
TypeScript
语言
2025-06-26
创建时间
2026-11-11
最近更新

项目能做什么

直接运行在终端命令行中的开源 AI 编程 Agent。
来源:AI 基于仓库事实生成 · 内容以仓库实际 README 为准

使用说明 查看原始 README 原仓库文档

中文使用说明暂未生成。下面保留原仓库 README 摘录,命令与配置均以原文为准。
原始 README 摘录(英文原文,节选前 3000 字符)
<div align="center">

[![npm version](https://img.shields.io/npm/v/@qwen-code/qwen-code.svg)](https://www.npmjs.com/package/@qwen-code/qwen-code)
[![License](https://img.shields.io/github/license/QwenLM/qwen-code.svg)](./LICENSE)
[![Node.js Version](https://img.shields.io/badge/node-%3E%3D22.0.0-brightgreen.svg)](https://nodejs.org/)
[![Downloads](https://img.shields.io/npm/dm/@qwen-code/qwen-code.svg)](https://www.npmjs.com/package/@qwen-code/qwen-code)

<a href="https://trendshift.io/repositories/15287" target="_blank"><img src="https://trendshift.io/api/badge/repositories/15287" alt="QwenLM%2Fqwen-code | Trendshift" style="width: 250px; height: 55px;" width="250" height="55"/></a>

**The open-source AI coding agent for your terminal, editor, desktop, browser, and chat.**

<a href="https://qwenlm.github.io/qwen-code-docs/zh/users/overview">中文</a> |
<a href="https://qwenlm.github.io/qwen-code-docs/de/users/overview">Deutsch</a> |
<a href="https://qwenlm.github.io/qwen-code-docs/fr/users/overview">français</a> |
<a href="https://qwenlm.github.io/qwen-code-docs/ja/users/overview">日本語</a> |
<a href="https://qwenlm.github.io/qwen-code-docs/ru/users/overview">Русский</a> |
<a href="https://qwenlm.github.io/qwen-code-docs/pt-BR/users/overview">Português (Brasil)</a> |
<a href="https://qwenlm.github.io/qwen-code-docs/ko/users/overview">한국어</a>

</div>

![Qwen Code in the terminal, desktop app, browser, editor, and chat, with VS Code, Zed, JetBrains, Telegram, DingTalk, WeChat, and Feishu integrations](https://img.alicdn.com/imgextra/i1/O1CN01DXWdF8BDUdD3XPhl_!!6000000001721-2-tps-1743-902.png)

## Why Qwen Code?

- **Agentic out of the box** — Auto-Memory, Auto-Skills, SubAgents, Agent Teams, and MCP. Dynamic workflows, zero setup.
- **Open-source, inside and out** — The framework and the Qwen models are open-source. They evolve together. No vendor lock-in.
- **Multi-protocol** — Supports OpenAI, Anthropic, Gemini, and Qwen APIs. Any third-party provider or local model (Ollama / vLLM). Switch at runtime.
- **Beyond the terminal** — IDE plugins, Desktop app, Web UI, SDKs, and chat integrations (Telegram / DingTalk / WeChat / Feishu).

> [!TIP]
> Qwen Code is actively iterating on itself — using its own agent and models to file issues, submit PRs, review code, and run tests. Powered by the community, driven by AI.

## Installation

**Linux / macOS:**

```bash
curl -fsSL https://qwen-code-assets.oss-cn-hangzhou.aliyuncs.com/installation/install-qwen-standalone.sh | bash
```

**Windows:**

```powershell
irm https://qwen-code-assets.oss-cn-hangzhou.aliyuncs.com/installation/install-qwen-standalone.ps1 | iex
```

> Restart your terminal after installation to ensure environment variables take effect.

<details>
<summary>NPM / Homebrew</summary>

**NPM** (requires [Node.js 22+](https://nodejs.org/)):

```bash
npm install -g @qwen-code/qwen-code@latest
```

**Homebrew** (macOS / Linux):

```bash
brew install qwen-code
```

</details>

## Quick Start

Open a ter
阅读完整原文

商业机会分析 AI 生成

商业化 MCP 工具市场与私有工作流插件包

产品构想基于项目支持的 MCP(Model Context Protocol)特性,为 qwen-code 构建高价值的企业级/垂直领域 MCP 扩展包(如私有 API 自动生成、数据库架构自愈、CI/CD 故障自愈工具)。
核心功能一键集成的 MCP Server 包、云端安全凭据管理、针对特定框架/内部平台的工具上下文预置。
目标用户需要使用 CLI Agent 直接操作复杂企业内部系统的研发与运维人员。
难度/周期中等 · 3 - 6 周 · 成本:极低(主要为插件开发与测试 API 消耗)
收费模式订阅制商业 MCP 套件许可、高级插件买断制。
竞争风险官方未来可能推出官方插件生态并免费分发,压缩第三方工具定价空间(AI推测)。
依据 已验证事实(仓库主题明确包含 mcp 和 agentic)

企业级终端 Agent 安全审计与模型网关

产品构想构建与 qwen-code 无缝配合的轻量级中继网关,提供代码敏感数据(Secret、PII)脱敏、企业合规审计、模型 API 路由聚合与成本控制。
核心功能实时代码外发脱敏拦截、操作审计归档、团队 Token 配额管控、内网本地模型与公网模型混合路由。
目标用户有数据安全合规要求的中小企业研发团队负责人、CTO。
难度/周期中等偏高 · 6 - 10 周 · 成本:轻量级云服务器与测试模型 Token 成本
收费模式SaaS 按坐席/请求量月付,或私有化部署买断 License。
竞争风险需要极高的安全信任度与背书,中小型独立开发者获客周期可能较长(尚需验证的假设)。
依据 数据支持的判断(Issue 数量高达 2154,企业环境中的网络/安全配置诉求普遍突出)

Web/桌面端多 Agent 协作工作台(基于 qwen-code 核心)

产品构想基于 Apache-2.0 协议将 qwen-code 的 CLI agentic 核心逻辑解耦并封装为带可视化 Diff、多任务并行看板、审查交互界面的轻量级桌面/Web 工作台。
核心功能Agent 操作可视化流水线、多文件变更即时 Diff 预览与一键回退、本地多 Agent 任务并发调度。
目标用户偏好图形化界面的中高级开发者、协作型敏捷开发团队。
难度/周期较高 · 8 - 12 周 · 成本:桌面端跨平台打包签名成本与前端开发投入
收费模式Freemium 模式(基础功能免费,团队协作/云端跨端同步收费)。
竞争风险面临来自 Cursor、Windsurf 等成熟 AI 编辑器产品的直接竞争(数据支持的判断)。
依据 已验证事实(仓库采用 Apache-2.0 开源协议,技术栈为 TypeScript)
AI 基于仓库公开数据分析生成,含推测成分,不构成收益承诺。
报告会保存到 个人中心

竞品与相似项目 GitHub Search 真实检索

项目中文简介Stars语言
morluto/rea 中文介绍暂未生成
Reverse engineer anything with agents, from app behavior dow
449,646 TypeScript
mattpocock/skills 中文介绍暂未生成
Skills for Real Engineers. Straight from my .agents director
320,770 Shell
obra/superpowers 中文介绍暂未生成
An agentic skills framework & software development methodolo
315,676 Shell
affaan-m/ECC 中文介绍暂未生成
The agent harness performance optimization system. Skills, i
300,720 JavaScript
NousResearch/hermes-agent 中文介绍暂未生成
The agent that grows with you
262,412 Python
anomalyco/opencode 中文介绍暂未生成
The open source coding agent.
225,878 TypeScript
以上为通过 GitHub 官方 Search API 检索的相似项目,功能差异与优劣势需进一步人工确认,配置 AI 后可生成对比分析。

项目优势与风险

技术成熟度创建于 2025-06-26,近 30 天仍在推送,发布过 100 个 Release
社区活跃Star 29,435 / Fork 3,365 / Issue 2,205(数据支持,可自行核实)
许可证Apache-2.0
主要风险上游项目方向可能变化;同赛道竞争者较多(见竞品表);热度与需求不完全等价

安装与使用

快速开始(以仓库 README 为准)
git clone https://github.com/QwenLM/qwen-code.git
cd qwen-code
# 请阅读仓库 README 获取确切安装步骤(依赖、配置、启动命令)
阅读原仓库文档
术语说明:Docker=应用容器(把程序和依赖打包运行);API Key=调用外部服务的密钥;Git Clone=把仓库代码下载到本地。常见错误:API Key 未配置 / 端口占用 / 数据库连接失败,多数项目在 README 的 Troubleshooting 章节有说明。