# QwenLM/Qwen-Agent

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/qwenlm-qwen-agent).**

13,322 stars · 1,259 forks · Python · apache-2.0

## Links

- GitHub: https://github.com/QwenLM/Qwen-Agent
- Homepage: https://pypi.org/project/qwen-agent/
- awesome-repositories: https://awesome-repositories.com/repository/qwenlm-qwen-agent.md

## Description

Qwen-Agent is a development framework for building autonomous software applications that leverage large language models to plan, reason, and execute complex tasks. It functions as an orchestration engine that enables models to interact with external APIs, manage persistent memory, and maintain context across multi-step workflows.

The framework distinguishes itself through a multi-agent collaboration platform that allows independent agent instances to exchange structured messages and delegate sub-tasks to one another. By utilizing iterative reasoning loops and dynamic prompt injection, the system guides agents through complex problem-solving cycles, allowing them to observe outcomes and refine their actions in real time.

The platform supports the integration of external tools and services, enabling agents to retrieve live data and perform real-world actions. It provides the necessary infrastructure for automated workflow orchestration, allowing developers to break down high-level goals into logical sequences of steps that the model can execute independently.

## Tags

### Artificial Intelligence & ML

- [Agentic LLM Frameworks](https://awesome-repositories.com/f/artificial-intelligence-ml/agentic-llm-frameworks.md) — Provides a comprehensive framework for building autonomous agents that leverage large language models for task planning, memory management, and workflow execution.
- [Autonomous Agents](https://awesome-repositories.com/f/artificial-intelligence-ml/agentic-systems-frameworks/agent-orchestration-multi-agent/autonomous-agents.md) — Provides a framework for building autonomous agents that manage memory, plan tasks, and use tools. ([source](https://qwenlm.github.io/Qwen-Agent/en/))
- [Multi-Agent Coordination Systems](https://awesome-repositories.com/f/artificial-intelligence-ml/agent-architectures/orchestration-engines/ai-agent/multi-agent-coordination-systems.md) — Coordinates multiple specialized agents that exchange messages and delegate sub-tasks to solve complex problems.
- [Intelligent Agent Frameworks](https://awesome-repositories.com/f/artificial-intelligence-ml/intelligent-agent-frameworks.md) — Provides a framework for building autonomous software applications that plan, reason, and execute tasks.
- [Multi-Agent Frameworks](https://awesome-repositories.com/f/artificial-intelligence-ml/multi-agent-frameworks.md) — Enables the coordination of multiple autonomous agents into collaborative teams through structured message exchange and sub-task delegation.
- [Memory and Context Systems](https://awesome-repositories.com/f/artificial-intelligence-ml/agentic-systems-frameworks/memory-context-systems.md) — Maintains persistent conversation history and task state to provide context across multi-step agent interactions.
- [LLM Application Frameworks](https://awesome-repositories.com/f/artificial-intelligence-ml/llm-application-frameworks.md) — Supports the development of applications that maintain persistent state and context across long-running interactions.
- [Task Planners](https://awesome-repositories.com/f/artificial-intelligence-ml/task-planners.md) — Breaks down complex user goals into logical, executable sequences of steps for language models.
- [Tool-Use Orchestration](https://awesome-repositories.com/f/artificial-intelligence-ml/tool-use-orchestration.md) — Orchestrates the integration of large language models with external APIs and functions to perform real-world actions and retrieve live data.
- [Reasoning-Action Loops](https://awesome-repositories.com/f/artificial-intelligence-ml/agent-architectures/orchestration-engines/ai-agent/reasoning-action-loops.md) — Coordinates iterative cycles of model-based reasoning and tool-based execution to refine planning.
- [Agentic Reasoning Frameworks](https://awesome-repositories.com/f/artificial-intelligence-ml/agentic-reasoning-frameworks.md) — Implements iterative reasoning loops where agents generate thought traces and execute actions to solve problems.
- [LLM Tooling Integrations](https://awesome-repositories.com/f/artificial-intelligence-ml/artificial-intelligence-tooling/language-model-integrations/llm-tooling-integrations.md) — Provides interfaces for language models to access external data and execute software tools.
- [External Tool Integration](https://awesome-repositories.com/f/artificial-intelligence-ml/external-tool-integration.md) — Connects language models to external services and functions to perform real-world actions. ([source](https://qwenlm.github.io/Qwen-Agent/en/))
- [Function Orchestrators](https://awesome-repositories.com/f/artificial-intelligence-ml/function-orchestrators.md) — Maps natural language requests to executable function schemas for external API interaction.
- [Dynamic Tool Schema Injection](https://awesome-repositories.com/f/artificial-intelligence-ml/tool-integrations/dynamic-tool-schema-injection.md) — Injects system instructions and tool definitions dynamically into model prompts to guide agent behavior.
- [Message-Passing Agent Orchestrators](https://awesome-repositories.com/f/artificial-intelligence-ml/agent-architectures/orchestration-engines/ai-agent/multi-agent-coordination-systems/message-passing-agent-orchestrators.md) — Enables independent agent instances to exchange structured messages for task delegation and coordination.

### DevOps & Infrastructure

- [Automation Orchestration](https://awesome-repositories.com/f/devops-infrastructure/automation-orchestration.md) — Manages the sequencing and execution of complex, multi-step automated workflows.
- [Automated Action Execution](https://awesome-repositories.com/f/devops-infrastructure/automated-action-execution.md) — Orchestrates sequences of actions to solve complex problems by breaking them into manageable steps. ([source](https://qwenlm.github.io/Qwen-Agent/en/))

### Networking & Communication

- [Streaming Response Architectures](https://awesome-repositories.com/f/networking-communication/communication-protocols-architectures/streaming-architectures/streaming-response-architectures.md) — Streams generated tokens to allow real-time feedback and immediate tool execution.

### Software Engineering & Architecture

- [Execution Streaming](https://awesome-repositories.com/f/software-engineering-architecture/execution-streaming.md) — Emits real-time updates during process execution to support incremental tool invocation.
