Updated on 2026-07-29 GMT+08:00

Intelligent Q&A

During code development, you can ask CodeArts Agent questions at any time. CodeArts Agent quickly searches for R&D knowledge and returns answers accurately, helping you efficiently solve development problems.

Side Panel

If you face a coding issue, talk to CodeArts Agent in the side panel for quick solutions.

  1. Switch to the chat mode.

    1. Log in to CodeArts Agent IDE as instructed in Quick Start.
    2. At the bottom of the input box on the chat panel, choose Built-in > Ask to switch to the intelligent Q&A mode. The selected model is displayed on the right. You can select a model as required from the drop-down list.

      If the chat panel of CodeArts Agent is not displayed, click (Expand AI Sidebar) in the upper right corner of the top menu bar to open it.

  2. Start a chat.

    During the generation of a response, the input box is unavailable. Wait until the response is completed and then send a new question.

Suggested Questions

After you enable this function, the system predicts your next requirement based on your habits and chat content after answering your question.

Input Optimization

CodeArts Agent optimizes user input to help beginners ask questions more clearly and professionally, enabling users to obtain comprehensive, structured, and high-quality responses at one time. This effectively reduces repeated follow-up questions and enhances communication efficiency as well as user experience.

Code Explanation

Allows the system to walk you through complex code with function, purpose, application scenario, and main logic. This clear explanation helps you get up to speed faster, and make knowledge flows smoothly, keeping the whole team in sync.

Code Commenting

Allows the system to analyze the code's architecture and logic, then auto-generate clear, meaningful comments. It facilitates standardizing the comment style across your entire repository, so readability becomes second nature and code archaeology is a thing of the past.

Code Optimization

Allows CodeArts Agent to analyze code performance bottlenecks and provide optimizations, helping users improve the readability and maintainability of code.

Unit Test

Unit test allows the system to automatically generate high-quality test cases based on a single method and class, safeguarding code quality and effectively reducing defect risks.

Context

Context can help the agent accurately understand the task background and requirement boundaries. Multi-dimensional information of files, folders, Git records, and terminals is introduced to build a complete task context cognition system. It can effectively improve the accuracy of code generation and troubleshooting, and avoid deviations caused by information missing. For details, see Context.