CppDepend AI
Any other assistant (Aider, Windsurf, JetBrains AI, Continue, Cline...)
CppDepend.AI only needs your assistant to be able to read files and run a command.
3 steps
- Run
cppdepend-ai initin your repository, thencppdepend-ai analyze --run --project MyApp.cdproj. - Give your assistant the CppDepend instructions. Many assistants read
AGENTS.mdby themselves. If yours does not, copy the text between<!-- cppdepend-ai:begin -->and<!-- cppdepend-ai:end -->inAGENTS.mdinto its rules, conventions or custom instructions. - Allow it to run
cppdepend-ai. Runinitwith the full path of the program ("C:\CppDepend\cppdepend-ai.exe" init) so the instructions contain it.
Then ask: "Using CppDepend, what are the 3 worst issues?"
Assistant that cannot run commands
Attach summary.json and diff.json from the cppdependai folder to your conversation (they are small). You will not get explain, query or re-analysis, but you still get the issues, hotspots and dependency cycles.
Good to know
Ask for short answers, and never paste a whole large file in the chat: ask the assistant to search in it instead.
