--- id: qwen-agent version: "0.0.34" license: unclear license_treatment: unclear maintenance: active --- # qwen-agent — Qwen-Agent: Enhancing LLMs with Agent Workflows, RAG, Function Calling, and Code Interpreter. License: unclear · Maintenance: active · Downloads: 666.2K/mo ## 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 above — verify before relying. Qwen-Agent is a framework for building LLM applications with tool usage, planning, memory, and instruction-following capabilities, including pre-built assistants for browsing, code execution, and custom workflows. 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 pip install qwen-agent uv add qwen-agent poetry add qwen-agent ## Installing qwen-agent 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). 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']) Requires DASHSCOPE_API_KEY environment variable or explicit API key configuration; GUI features require Python 3.10 or higher. 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: unspecified - Install friction: low - Maintenance: active - Downloads: 666.2K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags llm agent framework, tool-calling agents, code interpreter agent, rag agent framework, qwen llm applications, function calling agents, multi-tool orchestration, llm-framework, tool-calling, agent-orchestration [View on SkillFed](https://skillfed.io/packages/qwen-agent) · [View on PyPI](https://pypi.org/project/qwen-agent/)