Language: English | 简体中文
Video (7 min 13 s, 1920×1200, ~104 MB, click to download): codebases_demo.mp4
- A controlled comparison: Ask the same question about Kafka 3.9.0 with the code index off and on.
- Different retrieval paths: With the index off, an explore SubAgent reads project files; with it on, the run can use CodeSemanticSearch for semantic retrieval.
- The observed time difference: In this walkthrough, the indexed run took 1 min 41 s, compared with 10 min 46 s without the index—about 1/6.4 as long.
-
Pick version 3.9.0. Download link: https://github.com/apache/kafka/releases/tag/3.9.0
-
Extract it locally:
2. Open CodeArts Agent, select the Kafka path as the project, and check that the local index toggle is off
Where is the authentication module of this project? Analyze it.
Wait for the run to finish and check the result.
As the screenshot shows, it starts a SubAgent to read the project's files.
Recorded run time: 10 min 46 s:
Where is the authentication module of this project? Analyze it.
Note: a plain question does not always trigger an index lookup. When that happens, adjust the prompt slightly:
Where is the authentication module of this project? Analyze it. Use CodeSemanticSearch first.
Normally you will see CodeSemanticSearch called at the very start of the thinking process, instead of an explore SubAgent reading project files:
Wait for the run to finish and check the result.
| Index | Path actually taken | Time |
|---|---|---|
| Off | explore SubAgent reads project files one by one | 10 min 46 s |
| On | CodeSemanticSearch semantic retrieval at the start of thinking | 1 min 41 s |
Same question. With the index on, the run took about 1/6.4 of the time (646 s → 101 s).








