# Qwen Code ## Docs - [Session Checkpointing](https://mintlify.wiki/QwenLM/qwen-code/advanced/checkpointing.md): Save and resume conversations with checkpoint and recovery - [Language Server Protocol](https://mintlify.wiki/QwenLM/qwen-code/advanced/lsp.md): Integrate LSP for precise code intelligence in Qwen Code - [Memory System](https://mintlify.wiki/QwenLM/qwen-code/advanced/memory.md): Persistent context and facts across sessions - [Sandbox Execution](https://mintlify.wiki/QwenLM/qwen-code/advanced/sandbox.md): Isolate Qwen Code execution using Docker, Podman, or macOS Seatbelt - [Token Caching](https://mintlify.wiki/QwenLM/qwen-code/advanced/token-caching.md): Reduce costs with prompt caching for repeated context - [Authentication](https://mintlify.wiki/QwenLM/qwen-code/authentication.md): Configure Qwen OAuth or API key authentication to connect Qwen Code to AI providers - [/auth Command](https://mintlify.wiki/QwenLM/qwen-code/cli/auth.md): Configure authentication settings for Qwen Code - [/bug Command](https://mintlify.wiki/QwenLM/qwen-code/cli/bug.md): Submit a bug report with automatic system information - [/clear Command](https://mintlify.wiki/QwenLM/qwen-code/cli/clear.md): Clear conversation history and start a new session - [/compress Command](https://mintlify.wiki/QwenLM/qwen-code/cli/compress.md): Compress conversation context by replacing it with a summary - [/help Command](https://mintlify.wiki/QwenLM/qwen-code/cli/help.md): Display help information and available commands - [/model Command](https://mintlify.wiki/QwenLM/qwen-code/cli/model.md): Switch the AI model for the current session - [--model Option](https://mintlify.wiki/QwenLM/qwen-code/cli/options/model.md): Specify the AI model to use for the session - [--plan Option](https://mintlify.wiki/QwenLM/qwen-code/cli/options/plan.md): Generate execution plans without running any actions - [--prompt Option](https://mintlify.wiki/QwenLM/qwen-code/cli/options/prompt.md): Execute Qwen Code in non-interactive (headless) mode - [--resume Option](https://mintlify.wiki/QwenLM/qwen-code/cli/options/resume.md): Resume previous sessions to continue conversations - [--session-id Option](https://mintlify.wiki/QwenLM/qwen-code/cli/options/session-id.md): Specify a custom identifier for your session - [--yolo Option](https://mintlify.wiki/QwenLM/qwen-code/cli/options/yolo.md): Automatically approve all actions without prompting - [CLI Overview](https://mintlify.wiki/QwenLM/qwen-code/cli/overview.md): Comprehensive guide to Qwen Code CLI commands and options - [/stats Command](https://mintlify.wiki/QwenLM/qwen-code/cli/stats.md): View session statistics and usage metrics - [Environment Variables](https://mintlify.wiki/QwenLM/qwen-code/configuration/environment-variables.md): Environment variable reference for Qwen Code - [Model Providers](https://mintlify.wiki/QwenLM/qwen-code/configuration/model-providers.md): Configure AI model providers for Qwen Code - [.qwenignore File](https://mintlify.wiki/QwenLM/qwen-code/configuration/qwenignore.md): Control which files Qwen Code ignores using .qwenignore patterns - [Settings.json Reference](https://mintlify.wiki/QwenLM/qwen-code/configuration/settings.md): Complete reference for Qwen Code settings.json configuration - [Trusted Folders](https://mintlify.wiki/QwenLM/qwen-code/configuration/trusted-folders.md): Configure workspace trust for secure project isolation - [Architecture Overview](https://mintlify.wiki/QwenLM/qwen-code/developers/architecture.md): Understanding Qwen Code's architecture and core components - [Configuration System](https://mintlify.wiki/QwenLM/qwen-code/developers/configuration-system.md): Understanding Qwen Code's hierarchical configuration system - [Contributing Guidelines](https://mintlify.wiki/QwenLM/qwen-code/developers/contributing.md): How to contribute to Qwen Code development - [Development Environment Setup](https://mintlify.wiki/QwenLM/qwen-code/developers/development-setup.md): Setting up your development environment for Qwen Code - [Subagents System](https://mintlify.wiki/QwenLM/qwen-code/developers/subagents-system.md): Understanding and using the subagents task delegation system - [Testing Guide](https://mintlify.wiki/QwenLM/qwen-code/developers/testing.md): Comprehensive guide to testing Qwen Code - [Tools System Architecture](https://mintlify.wiki/QwenLM/qwen-code/developers/tools-system.md): Deep dive into Qwen Code's extensible tools system - [File System Tools](https://mintlify.wiki/QwenLM/qwen-code/developers/tools/file-system.md): Reference for file system tools (read, write, edit, glob, grep) - [MCP Server Tools](https://mintlify.wiki/QwenLM/qwen-code/developers/tools/mcp-server.md): Integrate external tools via Model Context Protocol - [Memory Tool](https://mintlify.wiki/QwenLM/qwen-code/developers/tools/memory.md): Save and recall information across sessions - [Sandbox Tool](https://mintlify.wiki/QwenLM/qwen-code/developers/tools/sandbox.md): Sandboxed execution environment for security - [Shell Tool](https://mintlify.wiki/QwenLM/qwen-code/developers/tools/shell.md): Execute shell commands with the run_shell_command tool - [Task Tool](https://mintlify.wiki/QwenLM/qwen-code/developers/tools/task.md): Delegate tasks to specialized subagents - [Agent Extensions](https://mintlify.wiki/QwenLM/qwen-code/extensions/agents.md): Create specialized AI subagents for specific tasks through Qwen Code extensions - [Extension Best Practices](https://mintlify.wiki/QwenLM/qwen-code/extensions/best-practices.md): Guidelines and best practices for developing high-quality Qwen Code extensions - [Command Extensions](https://mintlify.wiki/QwenLM/qwen-code/extensions/commands.md): Create custom slash commands that package complex prompts and workflows - [Context Provider Extensions](https://mintlify.wiki/QwenLM/qwen-code/extensions/context-providers.md): Provide persistent context to the AI through extension-supplied context files - [Creating Extensions](https://mintlify.wiki/QwenLM/qwen-code/extensions/creating-extensions.md): Step-by-step guide to creating your first Qwen Code extension - [Extension Types](https://mintlify.wiki/QwenLM/qwen-code/extensions/extension-types.md): Understanding the different types of capabilities you can add through Qwen Code extensions - [Introduction to Extensions](https://mintlify.wiki/QwenLM/qwen-code/extensions/introduction.md): Learn about Qwen Code extensions and how they expand the capabilities of your AI coding assistant - [MCP Server Extensions](https://mintlify.wiki/QwenLM/qwen-code/extensions/mcp-servers.md): Create Model Context Protocol servers to add custom tools through extensions - [Releasing Extensions](https://mintlify.wiki/QwenLM/qwen-code/extensions/releasing.md): How to publish and distribute your Qwen Code extensions - [Skill Extensions](https://mintlify.wiki/QwenLM/qwen-code/extensions/skills.md): Create specialized AI-invoked capabilities through skill extensions - [Approval Modes](https://mintlify.wiki/QwenLM/qwen-code/features/approval-modes.md): Control how Qwen Code requests permission for actions - [Session Commands](https://mintlify.wiki/QwenLM/qwen-code/features/commands.md): Complete reference for all slash commands in Qwen Code - [Headless Mode](https://mintlify.wiki/QwenLM/qwen-code/features/headless-mode.md): Running Qwen Code non-interactively for scripts and automation - [Interactive Mode](https://mintlify.wiki/QwenLM/qwen-code/features/interactive-mode.md): Using the interactive terminal UI for real-time AI coding assistance - [Model Context Protocol (MCP)](https://mintlify.wiki/QwenLM/qwen-code/features/mcp.md): Extend Qwen Code with MCP servers for additional tools and context - [Skills System](https://mintlify.wiki/QwenLM/qwen-code/features/skills.md): Reusable prompt templates and workflows for common tasks - [Subagents](https://mintlify.wiki/QwenLM/qwen-code/features/subagents.md): Delegate specialized tasks to focused AI agents for parallel execution - [JetBrains IDEs Integration](https://mintlify.wiki/QwenLM/qwen-code/ide-integration/jetbrains.md): Use Qwen Code in IntelliJ IDEA, WebStorm, PyCharm, and other JetBrains IDEs via ACP - [IDE Integration Overview](https://mintlify.wiki/QwenLM/qwen-code/ide-integration/overview.md): Bring Qwen Code into your favorite code editor with native integrations - [VS Code Integration](https://mintlify.wiki/QwenLM/qwen-code/ide-integration/vscode.md): Use Qwen Code natively in Visual Studio Code with the official extension - [Zed Editor Integration](https://mintlify.wiki/QwenLM/qwen-code/ide-integration/zed.md): Use Qwen Code as an agent server in Zed via the Agent Client Protocol - [Installation](https://mintlify.wiki/QwenLM/qwen-code/installation.md): Install Qwen Code using npm, Homebrew, or our quick install script - [Introduction](https://mintlify.wiki/QwenLM/qwen-code/introduction.md): An open-source AI agent that lives in your terminal, optimized for Qwen3-Coder models - [Quick Start](https://mintlify.wiki/QwenLM/qwen-code/quickstart.md): Get started with Qwen Code in minutes - [Message Types](https://mintlify.wiki/QwenLM/qwen-code/sdk/api/message-types.md): Understanding SDK message types and type guards - [Permission Modes](https://mintlify.wiki/QwenLM/qwen-code/sdk/api/permission-modes.md): Control tool execution with permission modes and custom handlers - [query() Function](https://mintlify.wiki/QwenLM/qwen-code/sdk/api/query.md): Create and manage query sessions with Qwen Code - [Query Instance Methods](https://mintlify.wiki/QwenLM/qwen-code/sdk/api/query-instance.md): Methods available on Query instances for session control - [Aborting Queries Example](https://mintlify.wiki/QwenLM/qwen-code/sdk/examples/abort.md): Cancel long-running queries with AbortController - [Custom Permission Handler Example](https://mintlify.wiki/QwenLM/qwen-code/sdk/examples/custom-permissions.md): Implement fine-grained control over tool execution - [Multi-Turn Conversation Example](https://mintlify.wiki/QwenLM/qwen-code/sdk/examples/multi-turn.md): Build interactive conversations with multiple turns - [Single-Turn Query Example](https://mintlify.wiki/QwenLM/qwen-code/sdk/examples/single-turn.md): Simple single-turn queries with the SDK - [Installation](https://mintlify.wiki/QwenLM/qwen-code/sdk/installation.md): Install and configure the Qwen Code TypeScript SDK - [TypeScript SDK Introduction](https://mintlify.wiki/QwenLM/qwen-code/sdk/introduction.md): Build applications with Qwen Code's powerful TypeScript SDK - [createSdkMcpServer() Function](https://mintlify.wiki/QwenLM/qwen-code/sdk/mcp/create-server.md): Create SDK-embedded MCP server instances - [MCP Examples](https://mintlify.wiki/QwenLM/qwen-code/sdk/mcp/examples.md): Complete examples of SDK-embedded MCP servers - [MCP Integration Overview](https://mintlify.wiki/QwenLM/qwen-code/sdk/mcp/overview.md): Extend Qwen Code with custom tools using the Model Context Protocol - [tool() Function](https://mintlify.wiki/QwenLM/qwen-code/sdk/mcp/tool.md): Create type-safe tools with Zod schema validation - [Quick Start](https://mintlify.wiki/QwenLM/qwen-code/sdk/quick-start.md): Get started with the Qwen Code SDK in under 5 minutes