Coding agent · Qwen

Qwen Code

Alibaba’s open-source terminal agent for Qwen models.

  • Command qwen
  • Runs in 9 StoicSoft apps
  • Last verified 2026-11-30

Qwen Chat or Qwen Code?

Qwen Chat is a chat app. It answers from what you paste or upload, and you carry the result back into your project yourself. Qwen Code is a coding agent: it works inside your project folder, reads the files it needs, makes the change, runs your tests or build and tells you what it did.

The full comparison of chat and coding agents

Install and sign in

macOS
npm i -g @qwen-code/qwen-code
Linux
npm i -g @qwen-code/qwen-code
Windows
npm i -g @qwen-code/qwen-code

Sign in

Go to your project folder and run:

qwen

The first run walks you through signing in. After that, the same command starts a session.

Docs: github.com/QwenLM/qwen-code

Run it once, without the chat screen

One-shot mode answers a single request and exits. It is how StoicSoft apps run Qwen Code, and how you put it in a script.

qwen -p "Explain how this project is organised"

Pick up where you left off

Resume a past session with qwen -r <session-id>.

Choose a model

Add --model <model>, for example coder-model, qwen3.5-plus, qwen3.6-plus, qwen3-vl-plus.

Permission levels

How much Qwen Code may do without asking you. Start low; raise it once you trust it on this project.

LevelWhat it meansFlag
Read onlyLooks, answers, changes nothing.No verified flag
Edit filesEdits inside the project folder, asks before commands.No verified flag
Edit and run commandsEdits and runs commands such as your tests.No verified flag
Full autoNo questions asked. Use in a throwaway folder or sandbox.--approval-mode=yolo

“No verified flag” means the StoicSoft catalog has no tested command-line switch for that level. The agent may still offer it in its own settings; otherwise it asks you each time.

Qwen Code in StoicSoft apps

9 apps run the Qwen Code you installed, signed in to your own account.

  • Runs coding agents as terminals side by side, resumes past sessions, switches models, and lets one agent hand a task to another.

  • Its agent chat drives the CLI you pick and hands it the browser’s own tools over MCP.

  • “Your coding agent” is an AI provider: answers about your machine come from the CLI you are signed in to, so no API key is stored.

  • Chat with your vault through the agent you pick, and feed saved context into your agents.

  • Describe a screen, slide or brand kit; the agent you pick writes it as real files, with a live preview and a quality gate.

  • Dictate the brief; your agent writes the script and the scenes while the app voices and renders them.

  • Turns your recorded clicks and screenshots into a written walkthrough, using your agent CLI or an API key.

  • Its chat runs the agent you pick to do file jobs and hands the results back as files.

  • Can use your coding agent as its AI provider for writing and research, instead of an API key.

The other direction: Qwen Code calling the apps

Every StoicSoft app ships an MCP server. In an app’s agent access screen, pick Qwen Code and the app adds itself to this file:

macOS
~/.qwen/settings.json
Linux
~/.qwen/settings.json
Windows
%USERPROFILE%\.qwen\settings.json

Who checked these facts

Each record is a real run of Qwen Code, by the app or test station that relies on it.

Checked byQwen Code versionSystemDate
1DevTool—macOS—
1DesignTool0.21.10macOS—
StoicSoft test station0.21.10macOS2026-11-30

Binary names: macOS: qwen · Linux: qwen · Windows: qwen.cmd. Also known as qwen-code, @qwen-code/qwen-code.

Qwen Code: common questions

What is the difference between Qwen Chat and Qwen Code?
Qwen Chat is a chat app: it answers from what you paste, and you carry the result back into your project. Qwen Code is a coding agent: it works in your project folder, edits the files and runs commands, then shows you what it changed.
How do I install Qwen Code?
Run npm i -g @qwen-code/qwen-code in a terminal. Then type qwen in your project folder; the first run asks you to sign in.
How do I run Qwen Code without the interactive screen?
Use its one-shot mode: qwen -p "Explain how this project is organised". It prints the answer and exits, which is how StoicSoft apps and scripts run it.
Which StoicSoft apps support Qwen Code?
1DevTool, StoicBrowser, 1MachineTool, 1AIVault, 1DesignTool, 1VideoTool, 1ShowcaseTool, 1FileTool, 1MarketingTool. It can also call every StoicSoft app over MCP; the apps write themselves into its settings file for you.