Help Center/ CodeArts Agent/ Best Practices/ Querying Unknown Dependencies
Updated on 2026-07-28 GMT+08:00

Querying Unknown Dependencies

When you are unsure about what dependencies or packages your code needs, let CodeArts Agent take the lead. It works right in your Integrated Development Environment (IDE) to help you find the answers, so you do not need to search online.

Procedure

  1. Open the chat panel of CodeArts Agent.
  2. Type your request into the chat box. For example, ask this question:

    I have integrated the following APIs into my code. Could you guide me on what dependencies I need to add to the POM file?
    import org.junit.Before;
    import org.junit.Test;

  3. Click .
  4. Verify CodeArts Agent's response in the chat panel.

    The graph shown here is for reference only. The actual output may vary.

    Figure 1 Response result