Code Tools Usage Tutorial
Tools
The release of Cherry Studio v1.5.7 introduces the easy-to-use, powerful Code Agent feature, which can directly launch and manage multiple AI programming agents. This tutorial will guide you through the complete setup and launch process.
Steps
1. Upgrade Cherry Studio
First, please make sure your Cherry Studio has been upgraded to v1.5.7 or later. You can go to GitHub Releases or the official website to download the latest version.
2. Enter the Code Tool interface
Top navigation mode: Click the “+” icon at the top of the interface to create a new blank tab


In left navigation mode, click the Code Tool button in the left navigation to enter this page
3. Select a CLI tool
Choose a Code Agent tool to use based on your needs and the API Key you have. Currently supported options include:
Claude Code
Gemini CLI
Qwen Code
OpenAI Codex

4. Select the model for agent invocation
In the model dropdown list, select a model compatible with the CLI tool you chose. (For detailed model compatibility instructions, please refer to the “Important Notes” below)

5. Specify the working directory
Click the “Select Directory” button to specify a working directory for the Agent. The Agent will have permission to access all files and subdirectories under this directory, making it easier for it to understand the project context, read files, and execute code.

6 Set environment variables
Automatic configuration: Your selections in Step 6 (model) and Step 7 (working directory) will automatically generate the corresponding environment variables.
Custom addition: If your Agent or project requires other specific environment variables (for example
PROXY_URLand so on), you can add them here manually.

7. Update options
Built-in executable files: Cherry Studio has integrated the executable files for all the Code Agents above, so in most cases you can use them directly without needing to be online.
Automatic updates: If you want the Agent to always stay up to date, you can check the
Check for updates and install the latest versionoption. When checked, the program will check online and update the Agent tool every time it starts.

8. Start the Agent
After all configurations are complete, click the Start button. Cherry Studio will automatically call the Terminal tool built into your system, load all environment variables into it, and then run the Code Agent you selected. You can now interact with the AI Agent in the terminal window that appears.

Important Notes
Model compatibility instructions:
Claude Code: You need to choose a model that supports the Anthropic API Endpoint format. The officially supported models currently include:
Claude series models
DeepSeek V3.1 (official API platform)
Kimi K2 (official API platform)
Zhipu GLM 4.5 (official API platform)
Note: At present, many third-party service providers (such as One API, New API, etc.) mostly support only the OpenAI Chat Completions format for the DeepSeek, Kimi, and GLM API interfaces, and may not be directly compatible with Claude Code. You may need to wait for the providers to gradually adapt.
Gemini CLI: You need to choose a Gemini series model from Google.
Qwen Code: Models that support the OpenAI Chat Completions API format are supported; it is strongly recommended to use
Qwen3 Coderseries models for the best code generation results.OpenAI Codex: Supports GPT series models (such as
gpt-4o,gpt-5and so on).
Dependency and environment conflicts:
Cherry Studio has built-in an independent Node.js runtime environment, Code Agent executables, and environment variable configuration, designed to provide a clean out-of-the-box experience.
If you encounter dependency conflicts or strange errors when starting the Agent, you can consider temporarilyuninstalling or disabling related dependencies already installed on the system(such as globally installed Node.js or a specific toolchain) to rule out conflicts.
API Token usage warning:
Code Agent consumes API Tokens at a very high rate. When handling complex tasks, the Agent may generate a large number of requests in order to think, plan, and generate code, causing Tokens to be consumed quickly.
Please be sure to follow your own API quota and budget,act within your means, and closely monitor Token usage to prevent budget overruns.
We hope this tutorial helps you quickly get started with Cherry Studio’s powerful Code Agent feature!
Last updated
Was this helpful?