qwen-agent
Qwen-Agent: Enhancing LLMs with Agent Workflows, RAG, Function Calling, and Code Interpreter.
Decision gist · record as of 2026-08-14
Yes, with conditions. Qwen-Agent is actively maintained, has low install friction, and offers a well-structured framework for building LLM applications with tool orchestration. However, verify the actual license terms (metadata shows unclear treatment despite Apache 2.0 headers), confirm Python version support for your environment, and ensure you have a model service configured (DashScope API key or local deployment). Not suitable if you need a fully sandboxed code execution environment for production use.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires DASHSCOPE_API_KEY environment variable or explicit API key configuration; GUI features require Python 3.10 or higher.
- Low install friction with a pure-Python wheel and 11 well-established runtime dependencies.
- Actively maintained with recent commits and a large repository (16968 stars), though the package is relatively young (first release 2024-04-07).
License · maintenance · safety
(unclear) — License treatment is unclear—no SPDX identifier or raw license text is recorded in the package metadata, despite the description excerpt showing Apache 2.0 headers. Verify the actual license terms before use in proprietary or restricted contexts.
last release 2026-02-16 (179 days) · last repo commit 2026-03-04 · 16,968 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 666,162 downloads/mo, #5,426 on PyPI
Alternatives
Verify before relying
pip install -U qwen-agent
from qwen_agent.agents import Assistant
bot = Assistant(llm={'model': 'qwen-max-latest', 'model_type': 'qwen_dashscope'},
function_list=['code_interpreter'])- Exact Python version support range (requires_python is unspecified in metadata)
- Whether the code_interpreter tool is sandboxed in production deployments
- Stability guarantees or backward-compatibility policy given the 0.0.34 version series
What it is and what it does
Qwen-Agent is a framework for building applications powered by large language models, centered on enabling agents to use tools, plan multi-step workflows, maintain memory across conversations, and follow complex instructions. It provides atomic building blocks (LLM classes, tool classes, agent classes) and higher-level components like the Assistant agent, which can read files, execute code, call external tools, and coordinate multi-turn interactions. The framework integrates with Alibaba's DashScope API or OpenAI-compatible model servers, and ships with example applications for browser automation, code interpretation, and custom assistants.
The package depends on 11 runtime libraries covering JSON parsing, schema validation, API communication, token counting, and image handling. It is actively maintained (last commit 2026-03-04) and has accumulated significant adoption (16968 GitHub stars). Installation is straightforward via pip, though full functionality requires configuring a model service and, for GUI features, Python 3.10 or higher.
Use it for
- Build a chatbot that can read PDFs, execute Python code, and call custom APIs in response to user queries.
- Create an agent that plans and executes multi-step workflows, such as generating images and then processing them with code.
- Develop a code interpreter assistant that safely executes user-provided Python in a controlled environment.
- Integrate tool-calling capabilities into existing LLM applications via function calling and schema validation.
- Prototype RAG pipelines with built-in file reading and memory management.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, with conditions.
Qwen-Agent is actively maintained, has low install friction, and offers a well-structured framework for building LLM applications with tool orchestration. However, verify the actual license terms (metadata shows unclear treatment despite Apache 2.0 headers), confirm Python version support for your environment, and ensure you have a model service configured (DashScope API key or local deployment). Not suitable if you need a fully sandboxed code execution environment for production use.
Install
qwen-agent on PyPI
Before you install
Low install friction with a pure-Python wheel and 11 well-established runtime dependencies. Actively maintained with recent commits and a large repository (16968 stars), though the package is relatively young (first release 2024-04-07).
Requires DASHSCOPE_API_KEY environment variable or explicit API key configuration; GUI features require Python 3.10 or higher.
License in practice
License treatment is unclear—no SPDX identifier or raw license text is recorded in the package metadata, despite the description excerpt showing Apache 2.0 headers. Verify the actual license terms before use in proprietary or restricted contexts.
Quickstart
pip install -U qwen-agent
from qwen_agent.agents import Assistant
bot = Assistant(llm={'model': 'qwen-max-latest', 'model_type': 'qwen_dashscope'},
function_list=['code_interpreter'])
Verify before relying
- Exact Python version support range (requires_python is unspecified in metadata)
- Whether the code_interpreter tool is sandboxed in production deployments
- Stability guarantees or backward-compatibility policy given the 0.0.34 version series
Package facts
| License | Not declared unclear |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 11 packagesdashscopeeval_type_backportjson5jsonlinesjsonschemaopenaipydanticrequeststiktokenpillowdotenv |
| Maintenance | Actively maintained 179 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 666,162 / month, #5,426 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
Evidence: qwen_agent-0.0.34-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “tool-calling agents”
- qwen-agentQwen-Agent is a framework for building LLM applications with tool…
- smolagentssmolagents lets you build and run AI agents that write Python code to…
- ai-parrotAI-Parrot is an async-first Python framework for building, extending,…
Give your agent the search over MCP, or paste the wish link into any chat.
More Artificial Intelligence packages
LiteLLM provides a unified Python interface to call 100+ LLM providers (OpenAI, Anthropic, Gemini, Bedrock, Azure, and others) using OpenAI-compatible API format, available as both a Python SDK and a self-hosted AI Gateway proxy server.
Install it if you need to work with multiple LLM providers or want to centralize LLM routing in your organization.
Client library and CLI tool for downloading, uploading, and managing models, datasets, and repositories on the Hugging Face Hub platform.
Install it if you work with Hugging Face Hub models or datasets.
LangChain provides a framework for building agents and LLM-powered applications by composing language models, tools, and memory through a unified API that abstracts over multiple model providers.
hf-xet provides chunk-based deduplication and efficient file transfer for the Hugging Face Hub, enabling faster uploads and downloads of large files with local disk caching.
Tokenizers converts raw text into token sequences for NLP models, with support for training custom vocabularies and using pre-built tokenizers (BPE, WordPiece) optimized for speed via Rust.
Transformers provides a unified framework for loading, fine-tuning, and running state-of-the-art pretrained models across text, vision, audio, video, and multimodal tasks using PyTorch, JAX, or TensorFlow.
Install it if you need to run or train any transformer-based model for NLP, vision, audio, or multimodal tasks.
See also agentscope · strands-agents-tools · qwen-tts · qwen-asr · npmai-agents · PraisonAI · fast-agent-mcp · openai-agents · deepeval