China AI Hub China AI Hub

Agents / Qwen-Agent

Qwen-Agent

Alibaba Qwen team's open-source Python framework for developing LLM applications based on Qwen's instruction following, tool usage, planning and memory capabilities (Apache-2.0). Serves as the backend of Qwen Chat (chat.qwen.ai). Ships example applications including BrowserQwen browser assistant, Docker-isolated Code Interpreter, RAG over 1M-token documents, MCP integration and Gradio GUI.

Qwen-Agent is a framework agent by alibaba-cloud, deployable self-hosted, and released open source.

Qwen-Agent
Image: AI-generated illustration (Seedream)
Last verified: · Review cadence: 90 days · Next review:
Key facts for Qwen-Agent
Key factValue
Companyalibaba-cloud
Typeframework
FrameworkPython framework built upon Qwen>=3.0 models (official README: "Agent framework and applications built upon Qwen>=3.0"); (pip install qwen-agent); built-in Assistant / FnCallAgent / ReActChat agents with @register_tool; connects to DashScope API or self-hosted models via vLLM/Ollama
Deploymentself_hosted
Open sourceYes (Apache-2.0)
GitHubhttps://github.com/QwenLM/Qwen-Agent
Documentationhttps://qwenlm.github.io/Qwen-Agent/en/guide/
PricingFramework free and open source (Apache-2.0). Model usage billed via DashScope API pay-as-you-go per token, or free with self-hosted open models. No subscription of its own.

Capabilities

Capabilities of Qwen-Agent
CapabilitySupported
Tool callingYes
Browser useYes
Computer useUnknown
MCP supportYes
MemoryYes
PlanningYes
Multi-agentUnknown
APIYes

Use cases

Limitations

Short answer. Qwen-Agent is the Qwen team’s open-source Python framework for building LLM applications on Qwen models — built-in Assistant, FnCallAgent and ReActChat agents with a @register_tool decorator, connecting to the DashScope API or self-hosted models via vLLM/Ollama. It is the low-level, Qwen-native plumbing that Qwen Code and Qwen Chat build on.

Key facts.

  • Apache-2.0 framework built on Qwen≥3.0 models, per the official README (“Agent framework and applications built upon Qwen>=3.0”); pip install qwen-agent.
  • Ships example applications: BrowserQwen (browser assistant), a Docker-isolated Code Interpreter, RAG over 1M-token documents, MCP integration, PDF-reading assistants and a Gradio GUI.
  • Model usage billed per token via DashScope, or free with self-hosted open models via vLLM/Ollama; the framework itself has no subscription.
  • Serves as the backend of Qwen Chat (chat.qwen.ai).
  • Last GitHub release v0.0.26 on 2025-05-29; development cadence has slowed since.

What this means. Qwen-Agent is the framework layer beneath Alibaba’s agent portfolio — model-bound (Qwen-native) in a way that Qoder (multi-model) and Qwen Code (multi-protocol) are not, making it the most direct expression of Qwen’s own instruction-following, tool-use, planning and memory capabilities.

What is uncertain. The slowed release cadence (last release 2025-05-29) leaves open how actively the framework is maintained versus Qwen Code and Qoder, and the Docker-based code interpreter carries only basic sandbox isolation — a production caveat, not a guarantee.

Sources.

evidence_idsource_namesource_urlsource_typepublishedverifiedconfidenceconflict
src-agents-qwen-agent-1Qwen-Agent GitHub repositoryhttps://github.com/QwenLM/Qwen-AgentOfficial documentation—2026-09-20high—
src-agents-qwen-agent-2Qwen-Agent docs guidehttps://qwenlm.github.io/Qwen-Agent/en/guide/Official documentation—2026-09-20high—

Why it matters

Qwen-Agent is the foundational-framework layer of Alibaba’s agent portfolio, and the reference for how a Qwen-native agent abstraction differs from a model-agnostic one. Its agent classes (Assistant, FnCallAgent, ReActChat) and the @register_tool decorator are designed around Qwen’s instruction-following, tool-use, planning and memory capabilities — the framework assumes the model’s strengths rather than routing around them.

China AI Hub analysis indicates Qwen-Agent matters as the low-level, Qwen-native integration point, and its slowed release cadence (last release 2025-05-29) is itself a documented signal that Alibaba’s agent investment has shifted toward Qwen Code and Qoder. The framework’s own repo confirms this: it now positions Qwen-Agent as “the backend of Qwen Chat” — a stable substrate — rather than as the primary forward-looking agent surface.

How it differs from Qwen Code and Qoder

The three Alibaba surfaces are a ladder from framework to product.

  • Qwen-Agent is the framework — a Python library of agent classes and examples (BrowserQwen, Code Interpreter, RAG), Qwen-native, self-hosted, Apache-2.0.
  • Qwen Code is the open client — a multi-protocol TypeScript coding agent (CLI, desktop, browser, chat) where the user brings any model, open-source and free.
  • Qoder is the closed product — a commercial platform with Auto-tier multi-model routing, Expert teams, governance and scheduled automations.

China AI Hub analysis: Qwen-Agent is where the Qwen-native design lives, Qwen Code is where model-optionality lives, and Qoder is where governance lives. Qwen-Agent’s model-bound design is the opposite of Qwen Code’s model-agnostic stance — the framework optimizes for Qwen’s specific capabilities, while the client maximizes provider choice. A researcher building a custom Qwen application reaches for Qwen-Agent; a developer who wants one client across many models uses Qwen Code; an enterprise buying managed routing buys Qoder.

Practical implications

For builders. Qwen-Agent is the lowest-level, most flexible path — you assemble Assistant/FnCallAgent/ReActChat with @register_tool, connect to DashScope or self-hosted vLLM/Ollama, and ship examples like BrowserQwen or RAG-over-1M-tokens as starting points. The framework is free; you pay only for model usage.

For production. The Docker-based code interpreter has only basic sandbox isolation and the TIR math demo executor is not sandboxed (local testing only), so production deployments must add their own isolation rather than trust the examples.

For maintenance planning. The slowed release cadence (v0.0.26 on 2025-05-29) is a real signal — teams building new work on Qwen-Agent should weigh whether their needs are better served by the more actively developed Qwen Code.

What the evidence shows

The evidence is strong on what the framework is and honest about its maintenance state. The GitHub repo and docs document the agent classes, the @register_tool decorator, the DashScope/vLLM/Ollama connectivity, the example applications (BrowserQwen, Code Interpreter, RAG, MCP, Gradio) and the Qwen Chat backend role; the README explicitly scopes it to Qwen≥3.0 models.

The gap is sandboxing and cadence. The code interpreter’s “basic sandbox isolation” and the un-sandboxed TIR executor are explicit limitations, and the last release predates the database’s other Qwen surfaces by more than a year. China AI Hub analysis indicates the honest reading is “stable, Qwen-native substrate, no longer the leading edge” — Qwen-Agent is where the Qwen-native design is preserved and where Qwen Chat’s backend lives, but the forward investment has visibly moved to Qwen Code and Qoder, so builders should treat it as foundational rather than cutting-edge.

Where this fits

WorkloadRelevance
Custom Qwen-native LLM applications (tool calling)High
Browser automation (BrowserQwen)High
RAG over 1M-token documentsHigh
Self-hosted deployment (vLLM/Ollama)High
MCP integration and agent evaluation (DeepPlanning)High
Production sandboxed code executionModerate (basic isolation only)
Actively updated agent surfaceLow (cadence slowed since 2025-05-29)

Relevance judgments are China AI Hub analysis based on documented capabilities, not vendor claims.

Field reference

FieldValueEvidence type
Underlying modelQwen>=3.0 models (framework-level; not pinned to a single model)Official
Target usersDevelopers building LLM applicationsOfficial
PlatformPython framework (pip install qwen-agent)Official
OSCross-platform (Python 3.10+ for GUI)Official
Browser / computer useBrowser (BrowserQwen)Vendor-reported
CodingYes (Docker-isolated Code Interpreter example)Vendor-reported
Autonomous task executionYes (planning, ReActChat agent)Vendor-reported
MCPYesOfficial
Tool callingYes (@register_tool)Official
MemoryYesOfficial
WorkflowAssistant / FnCallAgent / ReActChat agents; RAG over 1M-token documentsOfficial
APIYes (DashScope API, or self-hosted via vLLM/Ollama)Official
PricingFramework free; model usage per tokenVendor-reported
RegionNot publicly documentedNot publicly documented
Open-sourceYes — Apache-2.0Official
DeploymentSelf-hostedOfficial
LimitationsCode interpreter only basic sandbox; slowed release cadence (last 2025-05-29)Official
SourceQwen-Agent GitHubOfficial
Last verified2026-09-20Official

See the Alibaba Cloud company profile, the Qwen Code client, the Qoder platform, and the site’s AI agents and tool calling technology pages.

Labels used above: Official fact (from the Qwen-Agent GitHub repo and docs), Vendor-reported claim (capability statements by the Qwen team), and China AI Hub analysis (our synthesis, always introduced as such).

Sources

Data interpretation

Evidence types for Qwen-Agent
FieldValueEvidence type
Companyalibaba-cloudOfficial
TypeframeworkOfficial
Open sourceYes (Apache-2.0)Official
Deploymentself_hostedOfficial
CapabilitiesTool calling, Browser use, MCP support, Memory, Planning, APIOfficial

Evidence types: Official = vendor documentation or official pages. See the sourcing policy.

What is Qwen-Agent?

Alibaba Qwen team's open-source Python framework for developing LLM applications based on Qwen's instruction following, tool usage, planning and memory capabilities (Apache-2.0). Serves as the backend of Qwen Chat (chat.qwen.ai). Ships example applications including BrowserQwen browser assistant, Docker-isolated Code Interpreter, RAG over 1M-token documents, MCP integration and Gradio GUI.

Is Qwen-Agent open source?

Yes — licensed under Apache-2.0.

How much does Qwen-Agent cost?

Framework free and open source (Apache-2.0). Model usage billed via DashScope API pay-as-you-go per token, or free with self-hosted open models. No subscription of its own.

Where does China AI Hub get its Qwen-Agent data?

From 2 sources, last verified 2026-09-20.