Ai! Jack!v2026.04.01-f12
← 홈GitHub 활발

QwenLM/qwen-code

원문 보기
★ 27,7123,006 forksTypeScript중국

AI 분석

•터미널 기반 오픈소스 AI 코딩 에이전트 → 코드 작업과 개발 흐름 자동화
•여러 API·로컬 모델 지원과 Auto-Memory·SubAgents·Agent Teams 통합이 차별점
•모델별 도구 실행 품질과 자동화 권한 범위 검증 필요

An open-source AI coding agent that lives in your terminal.

검증 정보

출처
github.com
피드
GitHub 활발
수집/분석 기준
2026. 9. 8. 오전 9:00
원문 확인
원문 열기

본문

[](https://www.npmjs.com/package/@qwen-code/qwen-code)

[](./LICENSE)

[](https://nodejs.org/)

[](https://www.npmjs.com/package/@qwen-code/qwen-code)

The open-source AI coding agent that lives in your terminal.

中文 |

Deutsch |

français |

日本語 |

Русский |

Português (Brasil) |

한국어

## 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, daemon mode, SDKs, and IM bots (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:

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+](https://nodejs.org/)):

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

Homebrew (macOS / Linux):

brew install qwen-code

## Quick Start

qwen          # Launch interactive terminal UI
# Inside the session:
/auth         # Configure your provider and API key

See the [Authentication Guide](https://qwenlm.github.io/qwen-code-docs/en/users/configuration/auth/) and [Settings Reference](https://qwenlm.github.io/qwen-code-docs/en/users/configuration/settings/) for detailed setup.

## How to Use Qwen Code

ModeCommandUse Case
InteractiveqwenTerminal UI with rich rendering, @file references, slash commands
Headlessqwen -p "..."Scripts, CI/CD, batch processing — no UI
IDE—[VS Code](https://qwenlm.github.io/qwen-code-docs/en/users/integration-vscode/), [Zed](https://qwenlm.github.io/qwen-code-docs/en/users/integration-zed/), [JetBrains](https://qwenlm.github.io/qwen-code-docs/en/users/integration-jetbrains/)
Desktop—[Qwen Code Desktop](https://github.com/QwenLM/qwen-code/releases/tag/desktop-latest) — GUI for macOS, Windows, Linux
Daemonqwen serveShared agent session over HTTP+SSE (ACP). Multiple clients, one agent. _(experimental)_ [Docs](https://qwenlm.github.io/qwen-code-docs/en/users/qwen-serve)
SDK—[TypeScript](./packages/sdk-typescript/README.md), [Python](./packages/sdk-python/README.md), [Java](./packages/sdk-java/qwencode/README.md)
IM Botqwen channelConnect to Telegram, DingTalk, WeChat, or Feishu

SDK example (Python)

import asyncio

from qwen_code_sdk import is_sdk_result_message, query


async def main() -> None:
    result = query(
        "Summarize the repository layout.",
        {
            "cwd": "/path/to/project",
            "path_to_qwen_executable": "qwen",
        },
    )

    async for message in result:
        if is_sdk_result_message(message):
            print(message["result"])


asyncio.run(main())

## Capabilities

관련 아이템