Qwen-MM-Plugins Tutorial: Multimodal Agents
>Learn how to install Qwen-MM-Plugins, connect Qwen Code and OpenClaw, configure MCP tools, and build practical image, video, PDF, and 3D workflows with Qwen.
🎧 Listen — ~7 min
Ready · Qwen-MM-Plugins Tutorial: Multim
Qwen-MM-Plugins Tutorial: Build Multimodal Agents with Qwen Code and OpenClaw
Qwen-MM-Plugins is an open-source plugin collection from the Qwen team that makes agent harnesses multimodal-native. Instead of giving an AI agent only text, shell commands, and web access, the plugins let it inspect images, videos, PDFs, audio, 3D assets, and visual scenes—and then connect those inputs to specialized tools.
The important idea is simple: a capability is packaged as a model-facing skill plus, where needed, an MCP server that provides the actual tools. This makes the same multimodal workflow portable across supported agent environments, including Qwen Code, OpenClaw, Claude Code, Codex, Qoder, and other MCP-compatible harnesses.
This tutorial explains how to install Qwen-MM-Plugins, configure credentials, test the core capability, and build useful workflows for documents, dashboards, video, web research, Blender, and FreeCAD.
What Qwen-MM-Plugins provides
The repository currently organizes its features into separate capabilities:
- core: image, video, document, and 3D-model understanding, plus OCR, grounding, segmentation, audio transcription, vision chat, and web search.
- video-memory: hierarchical memory for question answering over very long videos.
- video-edit: image, video, and audio generation and editing workflows.
- blender: a thin-client integration that drives a running Blender instance through Python tools.
- freecad: parametric CAD automation, including property edits, STEP/STL import and export, and FEM-related workflows.
- edu-agent: a skill-only workflow for turning maths or science problems into step-by-step Chinese explainer videos or interactive pages.
You do not have to install everything. Selecting only the capabilities you need keeps the agent's tool surface smaller and makes permission review easier.
Prerequisites
Use a Linux environment or WSL2 on Windows. Native Windows is not the project's validated path, so WSL2 with Ubuntu is the safer choice.
You should also have:
- An agent harness such as Qwen Code or OpenClaw.
uv, because the plugin MCP servers launch throughuvx.ffmpegfor video and audio workflows.- Optional system tools such as Blender, FreeCAD, LibreOffice, TeX Live, or Chromium, depending on the capability.
- A DashScope API key for hosted vision, OCR, transcription, generation, or video-memory operations.
- A Serper API key for web search and extraction features.
The plugin installer handles Python dependencies on first launch. You normally do not need to create a separate virtual environment or manually install every package.
One-command installation
The guided installer is the easiest route:
1curl -fsSL https://raw.githubusercontent.com/QwenLM/Qwen-MM-Plugins/main/install.sh | bashAfter the installer finishes, use its individual actions when you need more control:
1bash install.sh install
2bash install.sh configure
3bash install.sh verifyThe installer creates a shared configuration file at ~/.qwen-mm-plugins/config. This is useful when you use both terminal and GUI-launched harnesses: configure the credentials once, and supported clients can read the same settings.
For a security-conscious production setup, inspect the script before executing it, pin a reviewed commit, and prefer a local clone. A safer review-first flow is:
1git clone https://github.com/QwenLM/Qwen-MM-Plugins.git
2cd Qwen-MM-Plugins
3less install.sh
4bash install.sh installInstalling into Qwen Code
Qwen Code supports extensions that package skills, MCP servers, subagents, prompts, and custom commands. Qwen-MM-Plugins can be installed directly from its GitHub marketplace:
1qwen extensions install https://github.com/QwenLM/Qwen-MM-Plugins.git:qwen-mm-plugins-core --consentTo install another capability, replace core with video-memory, video-edit, blender, or freecad:
1qwen extensions install https://github.com/QwenLM/Qwen-MM-Plugins.git:qwen-mm-plugins-blender --consentYou can also manage extensions inside an interactive Qwen Code session with:
1/extensionsInstalled changes are designed to hot-reload when managed through the interactive extension manager. CLI-installed changes are normally visible after restarting the active session.
Qwen Code also converts compatible Claude Code, Gemini CLI, and Qoder extensions into its own extension format. That cross-platform compatibility is useful if your team already has an internal MCP or skill marketplace.
Installing into OpenClaw and other harnesses
For OpenClaw, use the native plugin command shown by the Qwen-MM-Plugins project:
1openclaw plugins install qwen-mm-plugins-core \
2 --marketplace https://github.com/QwenLM/Qwen-MM-Plugins.gitFor Claude Code:
1claude plugin marketplace add https://github.com/QwenLM/Qwen-MM-Plugins.git
2claude plugin install qwen-mm-plugins-core@qwen-mm-pluginsFor Qoder:
1qodercli plugins marketplace add https://github.com/QwenLM/Qwen-MM-Plugins.git
2qodercli plugins install qwen-mm-plugins-core@qwen-mm-pluginsIf your harness does not have a marketplace command, register the skill and MCP server through its normal configuration format. The repository's docs/en/installation.md contains the per-harness examples.
Configure credentials and system tools
The hosted capabilities use environment variables. The most important ones are:
1export DASHSCOPE_API_KEY="your_dashscope_key"
2export SERPER_API_KEY="your_serper_key"For persistent configuration, run:
1bash install.sh configureThen verify the environment:
1bash install.sh verifyThe verification step checks the API configuration and reports missing system dependencies. Keep keys out of project repositories, shell history, screenshots, and issue reports. In a team deployment, inject them through the host's secret manager rather than committing ~/.qwen-mm-plugins/config to source control.
First multimodal tests
Once core is installed, give the agent a file reference and a precise task:
1@dashboard-4k.png Read every number in this dashboard and list anomalies.For a PDF:
1@report.pdf Summarize page 3, quote the table heading, and identify missing values.For OCR and arithmetic:
1@receipt.jpg Extract every line item, normalize the currency, and calculate the total.For visual grounding:
1@street.jpg Draw a box around every car and return the coordinates as JSON.The core capability uses dynamic resolution, so you do not need to manually resize every image. That matters for screenshots and scanned documents where tiny text can disappear after aggressive downscaling.
Long-video question answering
Install video-memory when a normal frame-by-frame prompt is too expensive or unreliable:
1@lecture-2h.mp4 What are the main points, with timestamps and the first moment each topic appears?The first query builds a hierarchical video memory. Later questions can reuse that memory instead of reprocessing the entire recording from scratch. For production, test timestamp accuracy on a labelled sample and define retention rules for uploaded recordings—especially if they contain private meetings, customer data, or patient information.
Creative, 3D, and engineering workflows
With video-edit, an agent can plan an edit, generate media, or transform an existing asset:
1Generate a 1024x1024 image of a red panda coding at night, with a clean empty area on the right for headline text.With Blender running locally, the plugin can turn a natural-language brief into a repeatable modelling workflow:
1Model a low-poly wooden stool, add a warm key light, apply a matte material, and render a preview.FreeCAD is better for constraint-driven engineering tasks:
1Create an M6 hex bolt 30 mm long, verify the dimensions, and export it as STEP.Treat these integrations as automation tools, not unsupervised design authorities. Add human review before manufacturing, publishing, or overwriting an existing project file.
A reliable plugin architecture
A useful mental model is:
1User file or request
2 ↓
3Agent skill (describes when and how to use a capability)
4 ↓
5MCP server (exposes typed tools)
6 ↓
7Qwen multimodal model
8 ↓
9Validated result or external actionKeep the skill description focused. Give tools narrow names and typed arguments. For risky actions—file deletion, publishing, sending messages, or changing CAD geometry—require confirmation or a review gate. Log tool calls and preserve the original input so a result can be reproduced.
Troubleshooting checklist
If the agent ignores a capability, first check that the extension or plugin is enabled and that the MCP server appears as connected. Then run bash install.sh verify and inspect missing system tools.
If image text is inaccurate, provide a crop, ask for coordinates, and request a second pass on low-confidence fields. For PDFs, reference page numbers explicitly.
If video processing fails, confirm ffmpeg is available and test a short clip before retrying a multi-hour file.
If web tools fail, check SERPER_API_KEY, network access, and the search provider's quota. Do not treat web results as authoritative without source verification.
Final recommendations
Start with core, not the full plugin collection. Install one capability, run a small verification case, and only then expand the tool surface. Keep credentials in the shared config or a secret manager, review marketplace code before installation, and use human approval for irreversible actions.
Qwen-MM-Plugins is most valuable when it closes the gap between “the model can see the file” and “the agent can complete a dependable workflow.” With a small, well-audited capability set, Qwen Code and OpenClaw can move from text-only assistance to practical multimodal automation without forcing every project to build its own vision and MCP plumbing from scratch.
Sources
- Qwen-MM-Plugins repository: https://github.com/QwenLM/Qwen-MM-Plugins
- Qwen Code Extensions documentation: https://qwenlm.github.io/qwen-code-docs/en/users/extension/introduction/
- Qwen Code documentation: https://qwenlm.github.io/qwen-code-docs/
Related reading
Keep reading
Related reading
⚡ AI Engineering Briefing
AI model releases, practical tutorials, developer tools, and engineering research. Unsubscribe anytime.
Comments
Comments are temporarily unavailable while the public discussion space is being configured.