QwenLM/Qwen-Agent

Agent framework and applications built upon Qwen>=3.0, featuring Function Calling, MCP, Code Interpreter, RAG, Chrome extension, etc.

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 59 minutes ago
Added to GitGenius on March 6th, 2026
Created on September 22nd, 2023
Open Issues & Pull Requests: 528 (+0)
Number of forks: 1,702
Total Stargazers: 17,008 (+0)
Total Subscribers: 104 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 8.4 hours
Mean response time: 13.7 days
90th percentile: 26.7 days
Tracked items: 531

How this project is maintained

Around half of the issues opened in the past year never receive a reply. 100% of open issues come from outside the core team, so the backlog reflects real-world use rather than internal planning. 75% of tracked open issues have had no activity in three months, so the open count overstates what is actively being worked. Only 7% of issues opened in the past year have been closed.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 414
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 405 days
Stale 30+ days: 405
Stale 90+ days: 390

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • Work in Progress (15)
  • Bug (6)
  • Documentation (3)
  • Bad Case (1)

Most active issues this week

No issue events were indexed in the last 7 days.

Detailed Description

Qwen-Agent is a framework for building large language model applications that leverages the instruction-following, tool usage, planning, and memory capabilities of Qwen models version 3.0 and above. The framework serves as the backend infrastructure for Qwen Chat and provides developers with both atomic and high-level components for constructing AI agents capable of complex task automation.

The repository is classified across multiple domains including multi-agent systems, LLM agents, task automation, tool integration, AI planning, and orchestration. It addresses the need for frameworks that can coordinate autonomous AI systems handling complex tasks through structured agent architectures and tool interactions.

Core components of Qwen-Agent include LLM classes inheriting from BaseChatModel with built-in function calling capabilities, Tool classes inheriting from BaseTool for extensibility, and Agent classes for higher-level orchestration. The framework supports parallel function calls as its default tool-calling template and provides both built-in agent implementations like Assistant and the ability to develop custom agents by inheriting from the Agent base class.

The framework includes several specialized applications and features. A Code Interpreter tool operates within Docker containers to allow agents to autonomously write and execute code in isolated sandbox environments. Model Context Protocol (MCP) support enables integration with external tools from the open-source MCP server ecosystem. RAG capabilities are provided for question-answering over documents up to 1 million tokens, with solutions that reportedly outperform native long-context models on challenging benchmarks. BrowserQwen serves as a browser assistant built on the framework. The framework also supports reasoning content fields and includes a Gradio-based GUI interface for rapid deployment of agent demonstrations.

Work in Progress items represent the most active label category with 13 tracked instances, followed by Bug reports with 6 instances and Documentation with 3 instances.

Installation is available through PyPI as the stable version or directly from source for development versions. The framework supports both Alibaba Cloud's DashScope model service and self-hosted deployments using open-source Qwen models, with specific guidance for vLLM and Ollama deployment options.

Recent updates include support for Qwen3.5 with agent demos, the DeepPlanning evaluation benchmark, Qwen3-VL tool-calling with image capabilities, native API tool call interfaces, reasoning content field support, QwQ-32B tool-calling with parallel and multi-turn support, and Qwen2.5-Math demonstrations of Tool-Integrated Reasoning. The framework is distributed under the Apache License 2.0 and includes comprehensive documentation and example implementations for developers building agent-based applications.