📈 GH Trending Explorer 🎲 Surprise me

← all repos

QwenLM / qwen-code

git clone https://github.com/QwenLM/qwen-code.git sdk-typescript-v0.1.21 · 3d ago

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

+18
stars, 24h · #838
+~126
stars, 7 days · #1,009
+~540
stars, 30 days · #989
29k
★ total · +0% this week
3.2k
forks · 2.0k open issues

Star history (as recorded here)

2026-10-20 · 28,602 ★ 2026-10-22 · 28,639 ★
LanguageTypeScript
LicenseApache-2.0
Created2025-06-26 (1y ago)
Last pushtoday
Watchers150
OwnerOrganization

GitHub topics

Links

README excerpt
**The open-source AI coding agent for your terminal, editor, desktop, browser, and chat.**
 中文 |
 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, 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:**
 [code] 
**Windows:**
 [code] 
> Restart your terminal after installation to ensure environment variables take effect.
 NPM / Homebrew 
**NPM** (requires Node.js 22+):
 [code] 
**Homebrew** (macOS / Linux):
 [code] 
## Quick Start
Open a terminal in your project and start Qwen Code:
 [code] 
Inside the session, run `/auth` to configure your provider and API key. Then try:
 [code] 
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) 
 [code] 
## 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 |
| -----------------------