Qwen Code將AI編程代理帶入終端
mainBranchesTagsGo to fileCodeOpen more actions menuLatest commit History12,413 Commits12,413 CommitsFolders and filesNameNameLast commit messageLast commit date.github.github .husky.husky .qwen.qwen .vscode.
vscode deploydeploy docs-sitedocs-site docsdocs eslint-ruleseslint-rules integration-testsintegration-tests integrationsintegrations packagespackages patchespatches scriptsscripts .dockerignore.dockerignore .editorconfig.editorconfig .gitattributes.gitattributes .gitignore.gitignore .npmrc.npmrc .
nvmrc.nvmrc .pnpmfile.mjs.pnpmfile.mjs .prettierignore.prettierignore .prettierrc.json.prettierrc.json .yamllint.yml.yamllint.yml AGENTS.mdAGENTS.md CHANGELOG.mdCHANGELOG.md CLAUDE.mdCLAUDE.md CONTRIBUTING.mdCONTRIBUTING.md DockerfileDockerfile HOSTEDSHELLUNICODEE2E.mdHOSTEDSHELLUNICODEE2E.
md LICENSELICENSE MakefileMakefile README.mdREADME.md SECURITY.mdSECURITY.md esbuild.config.jsesbuild.config.js eslint.config.jseslint.config.js eslint.legacy-core-barrel-imports.mjseslint.legacy-core-barrel-imports.mjs eslint.legacy-filenames.mjseslint.legacy-filenames.mjs package.jsonpackage.
json pnpm-lock.yamlpnpm-lock.yaml pnpm-workspace.yamlpnpm-workspace.yaml tsconfig.jsontsconfig.json vitest.config.tsvitest.config.ts View all filesRepository files navigation The open-source AI coding agent for your terminal, editor, desktop, browser, and chat.
中文 | Deutsch | français | 日本語 | Русский | Português (Brasil) | 한국어 Qwen Code 1.0 Preview Qwen Code 1.0 Preview brings together the agent harness capabilities of Qoder and Qwen Code in an open-source release.Try Qwen Code 1.0 Preview · Documentation · 中文文檔.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).
TipQwen 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 Looking for Qwen Code 1.0 Preview?Get started here.The instructions below are for the main version.
Linux / macOS: curl -fsSL https://qwen-code-assets.oss-cn-hangzhou.aliyuncs.com/installation/install-qwen-standalone.sh | bash Windows: 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.NPM / Homebrew NPM (requires Node.
js 22+): npm install -g @qwen-code/qwen-code@latest Homebrew (macOS / Linux): brew install qwen-code Quick Start Open a terminal in your project and start Qwen Code: cd /path/to/your-project qwen Inside the session, run /auth and choose Qwen Account with Subscription to sign in with your Plus or Pro subscription, or configure a provider with an API key.
Then try: Explain this repository and show me where to start.See the Authentication Guide and Settings Reference for detailed setup.See the terminal interface How to Use Qwen Code Choose the interface that fits your workflow: Interface Get started Terminal Run qwen in your project — see Quick Start.
Desktop Download Qwen Code Desktop for macOS, Windows, and Linux.Web Run qwen serve --open to open the Web UI in your browser.(experimental) Editor Set up VS Code, Zed, or JetBrains.Chat Connect Telegram, DingTalk, WeChat, or Feishu, then run qwen channel start.
For automation and custom integrations: Headless — Run qwen -p "..." in scripts, CI/CD, or batch jobs.SDKs — Build with TypeScript, Python, or Java.Daemon — Run qwen serve to connect clients over HTTP + SSE (ACP).(experimental) Daemon guide.
Computer Use — Set up native MCP tools or Node REPL + SDK in Qwen Code, Claude Code, or Codex.SDK example (Python) import asyncio from qwencodesdk import issdkresultmessage, query async def main() -> None: result = query( "Summarize the repository layout.
", { "cwd": "/path/to/project", "pathtoqwenexecutable": "qwen", }, ) async for message in result: if issdkresultmessage(message): print(message["result"]) asyncio.
run(main()) Daemon Mode Run Qwen Code as a long-lived service when you want browser, editor, SDK, and automation clients to share agent sessions without each starting a separate process.
The daemon provides the built-in Web Shell and an HTTP + SSE API, supports multiple workspaces, and lets clients reconnect to active sessions.Start it in the foreground and open the Web Shell: qwen serve --open The default address is http://127.0.0.1:4170.
To run and manage it in the background instead: qwen daemon start qwen daemon status qwen daemon logs -f qwen daemon stop By default, the daemon listens on loopback without bearer authentication; any local process that can reach it can use the full API, including code execution.
On shared or untrusted hosts, set QWENSERVER_TOKEN and use --require-auth.See the Daemon guide for workspaces, authentication, remote access, and the API.Capabilities If you know Claude Code, you already know Qwen Code — and then some.
We've put significant effort into bringing Qwen Code to feature parity with Claude Code, improving both breadth and reliability across the board.
Feature Qwen Code Claude Code SubAgents, Agent Teams, Dynamic Workflows ✓ ✓ Auto-Memory, Auto-Skills, Hooks ✓ ✓ Built-in Skills (/review, /batch, /loop, /bugfix…) ✓ ✓ MCP, Plan Mode, LSP Integration ✓ ✓ Auto Mode, Sandbox, Git Worktrees ✓ ✓ Computer Use (desktop automation) ✓ ✓ IDE Plugins (VS Code / JetBrains / Zed) ✓ ✓ SDK ✓ ✓ Headless Mode, Session Management ✓ ✓ Open-source — model and framework ✓ — Multi-protocol (OpenAI / Anthropic / Gemini / Qwen + any provider) ✓ — Agent Arena (multi-model head-to-head on same task) ✓ — Daemon Mode — qwen serve (multi-client shared agent) ✓ — IM Channels (Telegram / DingTalk / WeChat / Feishu) ✓ — Qwen Code Evaluation On SWE-bench Verified, seven Qwen Code versions scored 76.
40%–77.80% on average using the same Qwen 3.7 Max model (500 tasks, three trials per version).
Full results and evaluation configuration → Ecosystem Qwen Code Desktop — Official desktop app for macOS, Windows, and Linux AionUi — A modern GUI for command-line AI tools including Qwen Code Gemini CLI Desktop — A cross-platform desktop/web/mobile UI for Qwen Code qwen-audio-agent — Realtime full-duplex voice frontend for Qwen Code over ACP — talk hands-free with barge-in and a local wake word 🦞 Qwen Code Claw — Let other agents (Claude, Codex, etc.
) delegate coding tasks to Qwen Code via ACP.Paste this prompt into your agent: Use Qwen Code as a coding agent.First, fetch and read this skill reference: https://raw.githubusercontent.com/QwenLM/qwen-code/refs/heads/main/.qwen/skills/qwen-code-claw/SKILL.
md Then follow the instructions inside to install, authenticate, and use Qwen Code via acpx for all coding tasks.Aliyun Model Studio CLI — Official CLI for Aliyun's AI platform (bailian-cli).
Extends Qwen Code with image/video generation, knowledge retrieval, app orchestration, and model deployment Privacy See the Terms of Service and Privacy Notice, including Chrome extension and Browser Use data handling.Contributing Contributions are welcome!See CONTRIBUTING.md for guidelines.
Acknowledgments This project was originally based on Google Gemini CLI v0.8.2.We gratefully acknowledge the Gemini CLI team's excellent work.Starting from Qwen Code v0.
1, we stopped syncing with upstream and began independent development as a multi-protocol, multi-platform agent framework with deep integrations for Qwen models and beyond.AboutAn open-source AI coding agent that lives in your terminal.qwenlm.github.
io/qwen-code-docs/en/users/overviewTopicsagenticaiai-agentai-codingclicoding-agentdeveloper-toolsllmmcpqwenterminaltypescriptResourcesReadmeApache-2.0 licenseContributingContributingSecurity policySecurity policyActivityCustom propertiesStars29.9k starsWatchers147 watchingForks3.
4k forksReport repositoryReleasesPackagesContributorsLanguages
Related
相關文章
OpenAI機器人業務轉向"模型內整合",具身智能納入通用基礎模型框架
內部判斷認為,機器人只是通用模型的一類垂類任務,所需智能能力應在通用基礎模型框架下統一解決。截至發稿,OpenAI官方尚未確認並披露相關細節。這並非OpenAI首次調整機器人路線。2019年,其機械手解魔方項目Dactyl曾引發廣泛關注;2020年10月,公司內部解散機器人團隊,2021年聯合創始人Wojciech Zaremba對外解釋稱,物理交互數據難以規模化,資源轉向大模型。
無需顯卡也能跑! 40 核老舊服務器硬剛 2.8 萬億參數大模型,傲騰內存成破局利器
40 核老舊服務器硬剛 2.8 萬億參數大模型,傲騰內存成破局利器發布於AI新閒資訊時間 :Nov 13, 2026閱讀 :1分鐘在人工智能參數規模不斷膨脹的今天,動輒數萬億參數的巨型大模型往往需要依靠昂貴的高端顯卡集群才能驅動。然而,近日有玩家在社區分享了一次極具極客精神的極限測試:他僅憑一臺沒有插顯卡、搭載40核處理器的老舊服務器,竟然成功讓月之暗面的2.
Anthropic 募資 904 億劍指史上最大 IPO,認購已超六倍
招股文件顯示,公司連同聯合創始人計劃借 IPO 最多募得 644 億美元,再疊加一筆 260 億美元的非公開配售,雙管齊下為登陸公開市場備足彈藥。在 AI 投資熱潮退潮與否的爭論中,真金白銀的認購給出了最直白的投票。兩項相加,反超 SpaceX 登頂把 IPO 與私募配售合計,規模最高可達 904 億美元,一舉超過 SpaceX 的上市交易,坐上史上最大上市交易的寶座。
浙大與聯想團隊聯合提出 EM²Mem:打造多模態智能體的事件中心記憶方案
近日,浙江大學與聯想團隊合作提出了一項全新的以事件為中心的多模態長期記憶方案——EM²Mem,相關研究成果已在 EMNLP2026正式亮相。顛覆傳統模式:從“先檢索後對齊”到“先對齊後檢索”長期以來,現有的多模態智能體在處理長期記憶時,往往採用的是相對簡化的存儲與檢索方式。
"Happy系列"再添一員,阿里以端到端整麴生成切入AI音樂賽道
該產品由阿里ATH(TokenHub)事業群研發,2026年8月17日以PC網頁端Beta形式首發,是阿里"Happy系列"AI模型的第三位成員,前兩位分別為視頻生成模型HappyHorse和三維交互視頻模型HappyOyster。產品主打端到端整曲一體化生成,用戶以自然語言描述情緒、故事或風格,即可完成歌詞、作曲、編曲與人聲演唱,也可自備歌詞。
Edge0 重磅開源 145B 端側模型,內存狂省 60% 還能滿血寫代碼
開源項目 Edge0近日正式發佈並開源了 Edge0-145B 與 Edge0-120B 模型,同時帶來了一套統一的推理框架與部署工具。作為全球首個宣稱可在個人電腦本地流暢運行的1450億參數開源模型,Edge0-145B 成功將足以比肩雲端前沿大模型的編程、推理與智能體能力,直接帶到了用戶的本地筆記本上。