# Qwen-Agent | Qwen | Knowledge Base | Instagit

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

GitHub Stars: 15.2k

Repository: https://github.com/qwenlm/Qwen-Agent

---

## Articles

### [How to Contribute to the Qwen-Agent Project: A Developer’s Guide](/qwenlm/Qwen-Agent/how-to-contribute-to-qwen-agent-project)

Learn how to contribute to the Qwen-Agent project. Explore the repository, install dependencies, and submit pull requests following the four-layer architecture for effective collaboration.

- Tags: how-to-guide
- Published: 2026-03-09

### [Memory Management Strategies in Qwen-Agent: A Deep Dive into RAG-Based Knowledge Handling](/qwenlm/Qwen-Agent/what-are-memory-management-strategies-in-qwen-agent)

Explore Qwen-Agent's memory management strategies. Learn how RAG, token budgets, and hybrid search optimize external knowledge handling for efficient agent performance.

- Tags: deep-dive
- Published: 2026-03-09

### [How to Debug Issues with Qwen-Agent: A Complete Troubleshooting Guide](/qwenlm/Qwen-Agent/how-to-debug-issues-with-qwen-agent)

Troubleshoot Qwen-Agent effectively by enabling DEBUG logging and tracing failures across agent runtime, LLM wrapper, and utility layers. Quickly find and fix Qwen-Agent issues.

- Tags: troubleshooting-guide
- Published: 2026-03-09

### [Understanding the Logging Mechanisms in Qwen-Agent: A Complete Guide](/qwenlm/Qwen-Agent/what-are-logging-mechanisms-in-qwen-agent)

Explore Qwen-Agent logging mechanisms. Centralized stream-handled logger ensures consistent, environment-controlled diagnostics for agents, LLM backends, and tool implementations.

- Tags: deep-dive
- Published: 2026-03-09

### [How to Use Qwen-Agent for Data Analysis: Building LLM-Powered Analytics with ReAct and Code Interpreter](/qwenlm/Qwen-Agent/how-to-use-qwen-agent-for-data-analysis)

Learn to perform autonomous data analysis with Qwen-Agent. This guide shows how to build LLM-powered analytics using ReAct and Code Interpreter to execute Python, manipulate data, and visualize results.

- Tags: tutorial
- Published: 2026-03-09

### [How to Use Qwen-Agent for Web Browsing: A Complete Guide to BrowserQwen](/qwenlm/Qwen-Agent/how-to-use-qwen-agent-for-web-browsing)

Learn to use Qwen-Agent for web browsing with BrowserQwen. Deploy the server, load the Chrome extension, and chat with AI about web content. A complete guide for efficient online interaction.

- Tags: how-to-guide
- Published: 2026-03-09

### [What Is the Underlying Model Architecture of Qwen-Agent?](/qwenlm/Qwen-Agent/what-is-underlying-model-architecture-of-qwen-agent)

Discover the underlying model architecture of Qwen-Agent. Understand how this Python framework orchestrates Qwen Transformer models using Hugging Face configurations for dynamic loading.

- Tags: deep-dive
- Published: 2026-03-09

### [How to Evaluate the Performance of Qwen-Agent: Complete Benchmarking Guide](/qwenlm/Qwen-Agent/how-to-evaluate-performance-of-qwen-agent)

Learn how to evaluate Qwen-Agent performance with our comprehensive benchmarking guide. Explore the three-stage pipeline including agent inference, plan conversion, and constraint evaluation for a detailed analysis.

- Tags: performance
- Published: 2026-03-09

### [Performance Benchmarks for Qwen-Agent: DeepPlanning and Code Interpreter Evaluation](/qwenlm/Qwen-Agent/what-are-performance-benchmarks-for-qwen-agent)

Explore Qwen-Agent's performance benchmarks: DeepPlanning and Code Interpreter evaluate agentic planning and code generation for diverse tasks. Discover quantitative metrics for travel, shopping, math, and visualization.

- Tags: deep-dive
- Published: 2026-03-09

### [How to Fine-Tune Qwen-Agent for Specific Tasks: A Complete Technical Guide](/qwenlm/Qwen-Agent/how-to-fine-tune-qwen-agent-for-specific-tasks)

Learn how to fine-tune Qwen-Agent for your specific tasks. This guide details serving custom models via OpenAI endpoints, configuring parameters, and using custom prompts & tools for specialized agent behavior.

- Tags: how-to-guide
- Published: 2026-03-09

### [Qwen-Agent Agent Types: A Complete Guide to AI Agent Classes](/qwenlm/Qwen-Agent/what-are-different-agent-types-supported-by-qwen-agent)

Explore Qwen-Agent's 20+ AI agent types. Discover assistants, ReAct reasoners, QA systems, writing agents, and orchestrators built on the core Agent class. Learn more today.

- Tags: deep-dive
- Published: 2026-03-09

### [How to Manage Conversation History in Qwen-Agent: A Complete Technical Guide](/qwenlm/Qwen-Agent/how-to-manage-conversation-history-in-qwen-agent)

Master conversation history management in Qwen-Agent. Learn to store, persist, and retrieve chat data using provided functions for seamless application development.

- Tags: how-to-guide
- Published: 2026-03-09

### [How to Stream Outputs from Qwen-Agent: A Complete Implementation Guide](/qwenlm/Qwen-Agent/how-to-stream-outputs-from-qwen-agent)

Learn how to stream outputs from Qwen-Agent with this implementation guide. Discover how to use stream=True for partial LLM responses and enhance your applications.

- Tags: how-to-guide
- Published: 2026-03-09

### [Qwen-Agent APIs: Complete Guide to the FastAPI Endpoint and Internal Methods](/qwenlm/Qwen-Agent/what-are-available-apis-for-qwen-agent)

Explore the Qwen-Agent APIs with this comprehensive guide covering the FastAPI endpoint and essential internal methods like change checkbox cache and pop url.

- Tags: api-reference
- Published: 2026-03-09

### [How to Integrate Qwen-Agent with Other LLMs: A Complete Plug-in Guide](/qwenlm/Qwen-Agent/how-to-integrate-qwen-agent-with-other-llms)

Learn how to integrate Qwen-Agent with other LLMs. Follow this plug-in guide to subclass BaseFnCallModel implement essential methods and register your LLM for seamless integration.

- Tags: how-to-guide
- Published: 2026-03-09

### [How the Qwen-Agent Reasoning Process Works: From Prompt to Tool Execution](/qwenlm/Qwen-Agent/what-is-agents-reasoning-process-in-qwen-agent)

Discover the Qwen-Agent reasoning process. Learn how prompts become tool executions in an iterative loop for LLM inference and context updates for final answers.

- Tags: deep-dive
- Published: 2026-03-09

### [How to Define Custom Tools for Qwen-Agent: A Complete Developer Guide](/qwenlm/Qwen-Agent/how-to-define-custom-tools-for-qwen-agent)

Define custom tools for Qwen-Agent by subclassing BaseTool and implementing the call method. This guide shows developers how to register or pass custom tool instances to the Assistant for enhanced functionality.

- Tags: how-to-guide
- Published: 2026-03-09

### [What Tools Are Supported by Qwen-Agent? A Complete Guide to the Built-in Toolbox](/qwenlm/Qwen-Agent/what-kind-of-tools-are-supported-by-qwen-agent)

Explore Qwen-Agent supported tools: web search, code execution, image generation, RAG, API integrations, and more. Extend its capabilities easily.

- Tags: deep-dive
- Published: 2026-03-09

### [How Qwen-Agent Handles Tool Use: A Deep Dive into the Plugin Architecture](/qwenlm/Qwen-Agent/how-does-qwen-agent-handle-tool-use)

Discover how Qwen-Agent leverages its declarative plugin architecture and OpenAI-style function calls for robust tool use. Learn about automatic JSON validation and file handling. Explore the QwenLM/Qwen-Agent repository today.

- Tags: deep-dive
- Published: 2026-03-09

### [Core Components of Qwen-Agent: A Deep Dive into the Modular LLM Framework](/qwenlm/Qwen-Agent/what-are-core-components-of-qwen-agent)

Explore the core components of Qwen-Agent a modular LLM framework including Agent Core Multi-Agent Hub LLM Interface Memory Retrieval and Tool Registry

- Tags: deep-dive
- Published: 2026-03-09

### [How to Set Up a Python Environment for Qwen-Agent: A Complete Installation Guide](/qwenlm/Qwen-Agent/how-to-set-up-python-environment-for-qwen-agent)

Learn how to set up a Python environment for Qwen-Agent with our easy guide. Install the agent, configure your API key, and start building powerful LLM applications today.

- Tags: getting-started
- Published: 2026-03-09

### [System Requirements for Running Qwen-Agent: Complete Setup Guide](/qwenlm/Qwen-Agent/what-are-the-system-requirements-for-running-qwen-agent)

Discover the exact system requirements for running Qwen-Agent. Learn about necessary Python versions, OS compatibility, GPU needs, and Docker for a smooth setup.

- Tags: how-to-guide
- Published: 2026-03-09

### [How to Install Qwen-Agent Locally: PyPI and Development Setup](/qwenlm/Qwen-Agent/how-to-install-qwen-agent-locally)

Install Qwen-Agent locally with pip for full features or clone the repo for editable development. Get started with Qwen-Agent today and unlock its capabilities.

- Tags: getting-started
- Published: 2026-03-09

