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.
| 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
- Download the CodeArts toolchain package.
- 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
- Complete the initial configuration of KooCLI.
- Go to the My Credentials page.
- Click Create Access Key, create an access key as prompted, and save it to the local host.
- Open the command-line interface (CLI), run the hcloud configure init command, and enter the parameter values as prompted.
Purchasing a CodeArts Package
- Sign up for a Huawei Cloud account.
- Use your account to log in to the CodeArts package purchase page.
- Select Free and set other parameters.
- Select the checkbox for the agreement and click Enable.
What is your overall rating for this page?
Thank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot