What is Qwen3 Coder?
Qwen3 Coder is a terminal-based AI coding assistant built on Qwen models. It enables developers to write, debug, and refactor code using natural language directly from the command line. Qwen3 Coder supports multiple AI providers through OpenAI-compatible, Anthropic, and Gemini API formats.
Step 1: Install Qwen3 Coder
Required Node.js 18+
Step 2: Configure AGCloud API
Qwen3 Coder supports multiple API providers. Choose one or more based on the models you want to use.Option A: Environment Variables (Quick Setup)
You only need to configure the provider(s) you plan to use. For example, if you only want OpenAI-compatible models, you can skip the Anthropic and Gemini variables.
Option B: Permanent Configuration (Recommended)
Add the environment variables to your shell profile so they persist across sessions. Linux/macOS:Step 3: Add Configuration File settings.json
The configuration file path depends on your operating system:
settings.json:
Since AGCloud provides an OpenAI-compatible API format, Gemini models should also be placed under the
openai provider section in the configuration.Step 4: Start Using Qwen3 Coder
Launch Qwen3 Coder in your project directory:Available Models
Below are the recommended models available through AGCloud:FAQ
1. How do I switch between models?
You can select a different model within Qwen3 Coder’s interactive interface, or specify the model via environment variables before launching.2. Connection issues?
If you encounter connection errors:- Verify your API key is valid at the AGCloud Dashboard
- Make sure the
BASE_URLis set correctly (no trailing slash) - Test connectivity:
3. Node.js version too old?
Qwen3 Coder requires Node.js 18+. Update using nvm:Resource Links
- AGCloud Dashboard: developer.aiandgpu.com
- Node.js Download: nodejs.org
- Qwen3 Document: qwen-code-docs