Qwen Code is an open-source coding agent that runs in the terminal, maintained by the Qwen team. It is tuned for the Qwen3-Coder models but also works with OpenAI, Anthropic and Gemini APIs, and with local models through Ollama or vLLM.
It supports sub-agents that take on specific subtasks, MCP servers for extra tools, and hooks that run your own scripts before or after tool calls. A headless mode (qwen -p "...") makes it scriptable, and there are TypeScript, Python and Java SDKs.
Install with npm install -g @qwen-code/qwen-code@latest (Node.js 22+) or Homebrew, then run qwen in a project and sign in with /auth or add an API key. It is Apache-2.0 licensed.