# QwenLM/qwen-code

**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-code).**

19,078 stars · 1,648 forks · TypeScript · apache-2.0

## Links

- GitHub: https://github.com/QwenLM/qwen-code
- Homepage: https://qwenlm.github.io/qwen-code-docs/en/users/overview
- awesome-repositories: https://awesome-repositories.com/repository/qwenlm-qwen-code.md

## Description

Qwen-code is an AI-powered development framework designed for orchestrating intelligent coding agents within terminal and IDE environments. It provides a comprehensive infrastructure for automating software maintenance, code generation, and complex refactoring tasks by managing multi-agent workflows and persistent session states. The system is built to handle both interactive development and automated background processes, ensuring that agents can execute shell commands and file operations safely within isolated, sandboxed environments.

What distinguishes this project is its focus on granular control over agent behavior and session orchestration. It supports advanced features such as conversation forking, concurrent session management, and the ability to distribute standardized team workflows through shared skill definitions. The platform also offers robust observability, allowing users to stream session events, record interaction transcripts, and monitor token usage to optimize performance and cost.

The project covers a broad capability surface, including deep codebase analysis via language server integration, multimodal input processing for visual and document-based context, and secure authentication flows. It provides extensive configuration options for model providers, system instructions, and local model hosting, enabling developers to tailor the agent's reasoning and output style to specific project requirements.

The software is implemented in TypeScript and provides a command-line interface for configuration and interaction. It supports programmatic input injection and structured output streaming, facilitating integration into existing CI/CD pipelines and external messaging platforms.

## Tags

### Artificial Intelligence & ML

- [Multi-Agent Orchestration Frameworks](https://awesome-repositories.com/f/artificial-intelligence-ml/agentic-systems-frameworks/integration-deployment/agent-frameworks/agent-orchestrators/multi-agent-orchestration-frameworks.md) — Coordinates multiple specialized AI agents to collaborate on complex coding tasks and workflows.
- [Multi-Agent Orchestration](https://awesome-repositories.com/f/artificial-intelligence-ml/multi-agent-orchestration.md) — Orchestrates multiple specialized AI agents to automate complex coding workflows. ([source](https://qwenlm.github.io/qwen-code-docs/en/users/features/arena/))
- [Coding Agent Integrations](https://awesome-repositories.com/f/artificial-intelligence-ml/artificial-intelligence-tooling/agent-and-tool-integrations/coding-agent-integrations.md) — Embeds interactive coding assistants directly into development environments for real-time suggestions. ([source](https://qwenlm.github.io/qwen-code-docs/en/users/integration-zed/))
- [Codebase Analysis](https://awesome-repositories.com/f/artificial-intelligence-ml/codebase-analysis.md) — Analyzes project files to provide high-level architectural overviews and automated code generation. ([source](https://qwenlm.github.io/qwen-code-docs/en/users/common-workflow/))
- [Event-Driven Agent Loops](https://awesome-repositories.com/f/artificial-intelligence-ml/agent-architectures/event-driven-agent-loops.md) — Manages concurrent AI agent workflows by monitoring event streams and triggering coordinated actions.
- [Agent Configuration Management](https://awesome-repositories.com/f/artificial-intelligence-ml/agentic-systems-frameworks/agent-capabilities-skills-tooling/agent-management/agent-configuration-management.md) — Provides structured configuration management for defining agent behaviors, credentials, and operational rules. ([source](https://qwenlm.github.io/qwen-code-docs/en/users/features/sub-agents/))
- [Agent System Prompts](https://awesome-repositories.com/f/artificial-intelligence-ml/agentic-systems-frameworks/agent-capabilities-skills-tooling/agent-system-prompts.md) — Enables customization of system prompts to tailor agent behavior and output style. ([source](https://qwenlm.github.io/qwen-code-docs/en/users/features/headless/))
- [Dynamic Command Execution](https://awesome-repositories.com/f/artificial-intelligence-ml/agentic-systems-frameworks/agent-capabilities-skills-tooling/agent-tooling/dynamic-command-execution.md) — Enables agents to execute shell commands, perform file edits, and manage version control commits directly from the terminal. ([source](https://qwenlm.github.io/qwen-code-docs/en/users/reference/keyboard-shortcuts/))
- [Conversation Forking](https://awesome-repositories.com/f/artificial-intelligence-ml/language-model-orchestration/conversation-management/conversation-forking.md) — Enables conversation forking to explore task branches while maintaining history continuity. ([source](https://qwenlm.github.io/qwen-code-docs/en/users/features/sub-agents/))
- [Predictive Code Completions](https://awesome-repositories.com/f/artificial-intelligence-ml/ai-coding-assistants/predictive-code-completions.md) — Suggests upcoming code segments as ghost text during active editing to accelerate typing. ([source](https://qwenlm.github.io/qwen-code-docs/en/users/overview))
- [AI Model Configurations](https://awesome-repositories.com/f/artificial-intelligence-ml/ai-model-configurations.md) — Allows fine-tuning of AI model parameters like context limits and reasoning intensity. ([source](https://qwenlm.github.io/qwen-code-docs/en/users/configuration/settings/))
- [Context Window Management](https://awesome-repositories.com/f/artificial-intelligence-ml/context-window-management.md) — Monitors session memory and manages context windows to maintain performance within token limits. ([source](https://qwenlm.github.io/qwen-code-docs/en/users/features/tips/))
- [Conversation History Management](https://awesome-repositories.com/f/artificial-intelligence-ml/conversation-history-management.md) — Stores and retrieves interaction history to ensure continuity across coding sessions. ([source](https://qwenlm.github.io/qwen-code-docs/en/users/common-workflow/))
- [Conversation State Persistence](https://awesome-repositories.com/f/artificial-intelligence-ml/conversation-state-management/conversation-state-persistence.md) — Maintains conversation history and tool states across interrupted development tasks and automated workflows.
- [Conversational Coding Assistants](https://awesome-repositories.com/f/artificial-intelligence-ml/conversational-coding-assistants.md) — Invokes AI assistants within issues and pull requests to perform coding tasks and answer developer questions. ([source](https://qwenlm.github.io/qwen-code-docs/en/users/integration-github-action/))
- [Model Provider Configurations](https://awesome-repositories.com/f/artificial-intelligence-ml/model-provider-configurations.md) — Configures connections to third-party AI service providers and manages authentication keys. ([source](https://qwenlm.github.io/qwen-code-docs/en/users/configuration/auth/))
- [Agent Access Controls](https://awesome-repositories.com/f/artificial-intelligence-ml/agent-access-controls.md) — Enforces granular permission policies and allowlists for autonomous AI agents. ([source](https://qwenlm.github.io/qwen-code-docs/en/users/features/channels/overview/))
- [Conversational Session Management](https://awesome-repositories.com/f/artificial-intelligence-ml/conversational-session-management.md) — Configures message history scoping for user-isolated or shared collaborative sessions. ([source](https://qwenlm.github.io/qwen-code-docs/en/users/features/channels/overview/))
- [Local Model Inference Servers](https://awesome-repositories.com/f/artificial-intelligence-ml/machine-learning/infrastructure/model-deployment-and-serving/local-and-on-device-inference/local-model-inference-servers.md) — Connects to local inference servers to execute AI models directly on local hardware. ([source](https://qwenlm.github.io/qwen-code-docs/en/users/configuration/model-providers/))
- [Multimodal Agent Capabilities](https://awesome-repositories.com/f/artificial-intelligence-ml/multimodal-agent-capabilities.md) — Analyzes images and documents sent through chat interfaces to provide context-aware development assistance. ([source](https://qwenlm.github.io/qwen-code-docs/en/users/features/channels/overview/))
- [Multi-Modal Input Processors](https://awesome-repositories.com/f/artificial-intelligence-ml/machine-learning/multimodal-processing-tools/multi-modal-input-processors.md) — Integrates vision-capable models and local file storage to provide agents with visual and document-based context.
- [Structured Output Converters](https://awesome-repositories.com/f/artificial-intelligence-ml/structured-output-converters.md) — Ensures task results are returned as structured JSON arrays or line-delimited streams for programmatic parsing. ([source](https://qwenlm.github.io/qwen-code-docs/en/users/features/headless/))
- [Token Optimization Utilities](https://awesome-repositories.com/f/artificial-intelligence-ml/token-optimization-utilities.md) — Monitors and optimizes token usage to manage costs and improve efficiency in agentic workflows. ([source](https://qwenlm.github.io/qwen-code-docs/en/users/features/token-caching/))

### Development Tools & Productivity

- [AI Coding Assistants](https://awesome-repositories.com/f/development-tools-productivity/ai-coding-assistants.md) — Integrates intelligent coding agents into development environments to automate code generation and refactoring.
- [Code Refactoring Tools](https://awesome-repositories.com/f/development-tools-productivity/code-refactoring-tools.md) — Identifies errors, suggests fixes, and updates legacy code while maintaining existing behavior. ([source](https://qwenlm.github.io/qwen-code-docs/en/users/common-workflow/))
- [IDE Integration Tools](https://awesome-repositories.com/f/development-tools-productivity/ide-integration-tools.md) — Embeds AI capabilities into editors to provide real-time completions and context-aware suggestions.
- [Sandboxed Execution Environments](https://awesome-repositories.com/f/development-tools-productivity/sandboxed-execution-environments.md) — Provides isolated execution environments for safely running agent-driven shell commands and file operations.
- [Automated Codebase Maintenance](https://awesome-repositories.com/f/development-tools-productivity/workflow-automation-tools/development-automation/automated-codebase-maintenance.md) — Automates repetitive maintenance tasks like linting and documentation generation via natural language.
- [Terminal-Based Version Control Interfaces](https://awesome-repositories.com/f/development-tools-productivity/developer-utilities-libraries/developer-tools/version-control-ecosystems/terminal-based-version-control-interfaces.md) — Enables version control and system task management directly from the terminal via an AI interface.
- [Language Server Integrations](https://awesome-repositories.com/f/development-tools-productivity/language-server-integrations.md) — Queries language servers to perform symbol lookups and diagnostics for context-aware assistance. ([source](https://qwenlm.github.io/qwen-code-docs/en/users/features/lsp/))
- [Language Servers](https://awesome-repositories.com/f/development-tools-productivity/language-servers.md) — Queries standard language servers to extract symbol definitions and diagnostics for deep codebase understanding.
- [Contextual File References](https://awesome-repositories.com/f/development-tools-productivity/file-pattern-matching/contextual-file-references.md) — Attaches specific files, symbols, or images to chat sessions to provide targeted context for analysis. ([source](https://qwenlm.github.io/qwen-code-docs/en/users/features/commands/))
- [Crash Recovery Systems](https://awesome-repositories.com/f/development-tools-productivity/crash-recovery-systems.md) — Automatically restores active conversation state and agent processes after unexpected crashes to ensure workflow continuity. ([source](https://qwenlm.github.io/qwen-code-docs/en/users/features/channels/overview/))
- [Authentication QR Codes](https://awesome-repositories.com/f/development-tools-productivity/qr-code-generators/authentication-qr-codes.md) — Links mobile messaging accounts to coding agents via QR code scanning to avoid manual API token entry. ([source](https://qwenlm.github.io/qwen-code-docs/en/users/features/channels/weixin/))

### Operating Systems & Systems Programming

- [AI-Assisted Terminal Interfaces](https://awesome-repositories.com/f/operating-systems-systems-programming/terminal-command-line-environments/terminal-development-environments/ai-assisted-terminal-interfaces.md) — Provides a terminal-based interface for AI-powered coding assistance and task automation.

### DevOps & Infrastructure

- [Code Execution Sandboxes](https://awesome-repositories.com/f/devops-infrastructure/execution-environments/code-execution-runtimes/code-execution-sandboxes.md) — Executes code and shell commands within isolated sandboxes to ensure system security. ([source](https://qwenlm.github.io/qwen-code-docs/en/users/features/sandbox/))
- [Sandboxed Execution Environments](https://awesome-repositories.com/f/devops-infrastructure/sandboxed-execution-environments.md) — Isolates shell commands and file modifications within restricted containers to prevent unauthorized system access.
- [Credential Management](https://awesome-repositories.com/f/devops-infrastructure/credential-management.md) — Manages secure storage and injection of authentication credentials for external services and extensions. ([source](https://qwenlm.github.io/qwen-code-docs/en/users/extension/introduction/))

### Testing & Quality Assurance

- [Automated Code Review](https://awesome-repositories.com/f/testing-quality-assurance/code-quality-review/automated-code-review.md) — Evaluates code for correctness, security, and performance using automated linters and AI agents. ([source](https://qwenlm.github.io/qwen-code-docs/en/users/integration-github-action/))

### Networking & Communication

- [Chat Session Managers](https://awesome-repositories.com/f/networking-communication/chat-session-managers.md) — Supports multiple independent chat sessions for parallel development and debugging tasks. ([source](https://qwenlm.github.io/qwen-code-docs/en/users/integration-vscode/))
- [Chat Platform Integrations](https://awesome-repositories.com/f/networking-communication/communication-platforms-services/communication-platforms/messaging-middleware/chat-platform-integrations.md) — Integrates with external communication platforms to receive instructions and deliver responses. ([source](https://qwenlm.github.io/qwen-code-docs/en/users/features/channels/weixin/))
- [Streaming Response Architectures](https://awesome-repositories.com/f/networking-communication/communication-protocols-architectures/streaming-architectures/streaming-response-architectures.md) — Delivers incremental agent outputs as structured data streams for real-time monitoring and programmatic parsing.
- [Websocket Connection Managers](https://awesome-repositories.com/f/networking-communication/connection-management/websocket-connection-managers.md) — Maintains persistent WebSocket connections for real-time updates without requiring public URLs. ([source](https://qwenlm.github.io/qwen-code-docs/en/users/features/channels/dingtalk/))

### Security & Cryptography

- [CLI Authentication](https://awesome-repositories.com/f/security-cryptography/cli-authentication.md) — Configures user credentials and API access keys directly from the command line for secure service interaction. ([source](https://qwenlm.github.io/qwen-code-docs/en/users/features/commands/))
- [Remote Service Authentication](https://awesome-repositories.com/f/security-cryptography/remote-service-authentication.md) — Supports OAuth 2.0 protocols for secure authentication with external services. ([source](https://qwenlm.github.io/qwen-code-docs/en/users/features/mcp/))

### Software Engineering & Architecture

- [Modular Extension Architectures](https://awesome-repositories.com/f/software-engineering-architecture/modular-extension-architectures.md) — Supports hot-reloading of custom prompts, tools, and adapters to expand functionality without restarts.
- [Codebase Context Querying](https://awesome-repositories.com/f/software-engineering-architecture/project-context-managers/codebase-context-querying.md) — Answers questions about codebase structure and external data sources by integrating with documentation and design tools. ([source](https://qwenlm.github.io/qwen-code-docs/en/users/overview/))
- [Workflow Skill Definitions](https://awesome-repositories.com/f/software-engineering-architecture/team-collaboration-tools/workflow-skill-definitions.md) — Distributes standardized coding utilities and conventions by committing skill definitions to project repositories. ([source](https://qwenlm.github.io/qwen-code-docs/en/users/features/skills/))

### System Administration & Monitoring

- [AI Session Monitoring](https://awesome-repositories.com/f/system-administration-monitoring/ai-session-monitoring.md) — Provides visibility into live AI interaction streams and project logic through execution logs. ([source](https://qwenlm.github.io/qwen-code-docs/en/users/quickstart/))
- [Session Replays](https://awesome-repositories.com/f/system-administration-monitoring/ai-session-monitoring/session-replays.md) — Captures interaction transcripts for auditing, regression testing, and performance visualization. ([source](https://qwenlm.github.io/qwen-code-docs/en/users/features/dual-output/))
- [Event Monitoring Streams](https://awesome-repositories.com/f/system-administration-monitoring/event-monitoring-streams.md) — Emits real-time JSON streams of agent activity for external monitoring and integration. ([source](https://qwenlm.github.io/qwen-code-docs/en/users/features/dual-output/))

### User Interface & Experience

- [Programmatic Injection](https://awesome-repositories.com/f/user-interface-experience/text-input-managers/input-injection-utilities/programmatic-injection.md) — Accepts external JSONL commands to drive agent prompts and tool approvals, enabling automated interaction with the agent. ([source](https://qwenlm.github.io/qwen-code-docs/en/users/features/dual-output/))

### Web Development

- [Response Streaming Interfaces](https://awesome-repositories.com/f/web-development/response-streaming-interfaces.md) — Streams generated content in chunks to provide immediate feedback during long-running tasks. ([source](https://qwenlm.github.io/qwen-code-docs/en/users/features/channels/overview/))

### Data & Databases

- [Data Source Connectivity Tools](https://awesome-repositories.com/f/data-databases/data-source-connectivity-tools.md) — Connects to remote services, databases, and APIs to retrieve data within the development environment. ([source](https://qwenlm.github.io/qwen-code-docs/en/users/configuration/settings/))
