Updated on 2026-10-23 GMT+08:00

Preparations

Application Scenarios

You will use the CodeArts toolchain plug-in in CodeArts Agent IDE to build a travel assistant backend service with Python Flask and Docker. The service offers scenic spot recommendation, itinerary planning, weather query, and multi-language translation. You will push its image to SoftWare Repository for Container (SWR) and deploy it on Cloud Container Engine (CCE).

This case uses natural language dialogues to drive the entire DevOps process, helping you lower the threshold for using DevOps and significantly reducing the costs of configuration writing and modification. You only need to enter natural language instructions, and the agent will automatically load sub-agents and skills, perform related operations, and return the results.

For details about the sub-agents and skills supported by CodeArts, see All CodeArts Sub-agents and Skills.

Preparing the Environment

Tokens or credits in your account are consumed when this practice invokes tools or runs LLM inference.

Table 1 Practice case restrictions

Category

Constraint

Tool

Only CodeArts Agent IDE is supported.

OS

This practice uses Windows 11 (x64) as an example.

Installing the CodeArts Toolchain Plug-in

  1. Download the CodeArts toolchain package.
  2. Decompress the package and double-click the install.bat script to install the CodeArts toolchain plug-in to CodeArts.

    Installation path of each component:

    • agents: %USERPROFILE%\.codeartsdoer\agents
    • skills: %USERPROFILE%\.codeartsdoer\skills
    • KooCLI: %USERPROFILE%\.codeartsdoer\clis

  3. Complete the initial configuration of KooCLI.

    1. Go to the My Credentials page.
    2. Click Create Access Key, create an access key as prompted, and save it to the local host.
    3. Open the command-line interface (CLI), run the hcloud configure init command, and enter the parameter values as prompted.

Purchasing a CodeArts Package

  1. Sign up for a Huawei Cloud account.
  2. Use your account to log in to the CodeArts package purchase page.
  3. Select Free and set other parameters.
  4. Select the checkbox for the agreement and click Enable.