{
 "schema_version": 1,
 "generated": "2026-11-09",
 "id": "qwenlm-qwen-code--run-an-open-source-coding-agent-with-any-model",
 "repo": "QwenLM/qwen-code",
 "repo_url": "https://github.com/QwenLM/qwen-code",
 "repo_slug": "qwenlm-qwen-code",
 "title": "Run an open-source coding agent with any model",
 "page_title": "How to run an open-source coding agent with any model with Qwen Code",
 "summary": "Install Qwen Code, pick a provider with /auth and have it explain and change your repository.",
 "who": "A developer who likes the Claude Code workflow but wants open source and freedom to switch models.",
 "problem": "Most terminal coding agents tie you to one vendor's models and pricing.",
 "outcome": "A terminal agent working in your project with the provider of your choice, switchable at runtime.",
 "steps": [
  "Install with `npm install -g @qwen-code/qwen-code@latest` (Node.js 22+) or `brew install qwen-code`",
  "Restart your terminal, then run `cd /path/to/your-project` and start the agent with qwen",
  "Inside the session run /auth to configure your provider and API key",
  "Try the README's first prompt: Explain this repository and show me where to start",
  "See the Authentication Guide to use a local model through Ollama or vLLM"
 ],
 "agent_prompt": "Install QwenLM/qwen-code, start it in this project with qwen, configure <provider> with /auth, then explain this repository and propose a plan for <task> in Plan Mode before changing any files.",
 "agents": [
  "any"
 ],
 "difficulty": "Beginner",
 "time": "15 minutes",
 "basis": "readme",
 "caveat": "Model costs depend on the provider you choose; a local model avoids API bills but needs capable hardware.",
 "category": "Software and DevOps",
 "tags": [
  "Software and DevOps"
 ],
 "lang": "typescript",
 "requirements": [
  "Linux, macOS or Windows",
  "The standalone installer, or Node.js 22 or later for npm, or Homebrew",
  "An API key for a supported provider, or a local model via Ollama or vLLM",
  "Optional: VS Code, Zed or JetBrains for editor integration"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [
  {
   "tag": "remote-script",
   "notice": "The standalone installer pipes a script from an Aliyun storage bucket into your shell; npm or Homebrew avoid that."
  }
 ],
 "best": true,
 "score": 1.0,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/qwenlm-qwen-code/run-an-open-source-coding-agent-with-any-model/",
 "md": "https://dedupedai.com/use-cases/qwenlm-qwen-code/run-an-open-source-coding-agent-with-any-model/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/qwenlm-qwen-code--run-an-open-source-coding-agent-with-any-model.json",
 "api_version": "v1"
}
