Memory
Memory allows CodeArts Agent to adapt to how you work. The agent will record your habits and preferences, such as your preferred answer style and language. Once enabled, the agent will extract your personalized preferences from your historical chats and automatically apply these settings in subsequent chats, providing you with a more tailored service experience.
Enabling the memory function offers the following advantages:
- Personalized code generation
AI not only predicts the next line of code but also intelligently generates code based on your personal coding style. This reduces manual adjustment time, boosts development efficiency, and more accurately matches your habits and needs.
- Contextual understanding
When you start a new project, AI leverages its contextual understanding to recall your preferred tools and patterns (such as logging components and error handling methods), providing smarter and more efficient development support.
- Accurate error detection
Since AI is familiar with your coding style and habits, it intelligently identifies and alerts you to anomalies during code writing, such as missing null pointer checks or code structures that deviate from your typical style. This helps you quickly locate and fix issues.
Constraints
| Category | Description |
|---|---|
| Mode | This function can be used only in agent mode. |
| Memorized object |
|
| Quantity | A maximum of 200 memory records can be displayed. |
| Priority | **Priority** When personal preferences conflict with skills or rules in a project, the skills and rules take precedence. |
Enabling the Memory Function
- Log in to CodeArts Agent IDE as instructed in Quick Start.
- Click
in the upper right corner of CodeArts Agent IDE to open the settings page. - In the navigation pane on the left, choose Memory.
- Enable the memory function (enabled by default).
- At the bottom of the input box on the chat panel, choose Built-in > Agent to switch to the agent mode. The selected model is displayed on the right. You can select a model as required from the drop-down list.
- Initiate a chat as you want.
For example, enter the first question.
Generate Dijkstra's algorithm in Java.
After the agent completes the response, enter the second question.
Generate binary sort in Java.
- After the agent completes the response, click
in the upper right corner of CodeArts Agent IDE to go to the global settings page. - Choose Memory to view the memory records extracted by AI based on your chats.
Managing Memory Records
| Operation | Procedure |
|---|---|
| Modifying memory information | Under Settings on CodeArts Agent IDE, open the Memory page. Move the pointer to the memory information to be modified and click . CAUTION: Modifying stored memory information is not recommended. After the memory information is modified, it will not be automatically updated. |
| Deleting memory information |
|
Feedback
Was this page helpful?
Provide feedbackThank 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

