Updated on 2026-08-04 GMT+08:00

Preparing the Environment

Constraints

Table 1 Practice case restrictions

Category

Constraint

Tool

This practice supports only CodeArts Agent IDE.

OS

  • Windows OS: Windows 11 (x64) is recommended. For Windows 10 (x64), the version must be 2019 or later, and upgrading to the latest stable version is advised.
  • macOS: macOS 11 or later, compatible with ARM64 (Apple Silicon).
  • Linux: Linux (ARM64) architecture, glibc version ≥ 2.31, glibcxx version ≥ 3.4.26.

Third-party account

Register accounts on the following official websites: Jira, GitHub, and TestRail.

Authorizing Automatic Operations on CodeArts Agent

  1. Log in to CodeArts Agent by referring to Quick Start.
  2. Select the agent running mode and authorize automatic operations.

    1. Click in the upper right corner of CodeArts Agent IDE to open the settings page.
    2. Choose Chats > Agents > Terminal Command Running Mode, select the running policy for the agent to execute terminal commands. This practice uses the default running policy (Running in Sandbox).
    3. Choose Chats > Auto-approve and click to enable the required items.

      After authorization, tasks for generating complex project-level code are executed automatically. Without authorization, some operations will need your manual confirmation when you code with CodeArts Agent.

      Enabling auto approval can lead to operational risks. Assess these risks carefully first and only enable this feature in a secure and trustworthy environment.

      Table 2 Parameters for auto approval

      Parameter

      Description

      Example Value

      Edit

      Allows the agent to call tools like edit, write, and deleteFile to edit files on your computer.

      Enabled

      Browser Access

      Allows the agent to access websites in the browser.

      Enabled

      Web Crawler

      Allows the agent to access and capture specified web page content.

      Enabled

    4. Exit the current page to complete the authorization.