Request a PoCDownload
Product

Platform

All features32 capabilities, from IDE to CICompliance KitsISO 26262, DO-178C, IEC 62304...AI GovernanceControl AI-generated C/C++ codeWhat’s new in 2026Latest version highlightsScreenshotsSee the product in action

Analyze & improve

Coding standardsMISRA, CERT, CWE, AUTOSARArchitecture & dependenciesGraphs, matrix, cyclesTechnical debtMeasured in hours and dollarsQuality gatesStop regressions in CISmart Code CityYour codebase in 3D

Integrations

IDE pluginsVisual Studio, VS Code, CLion...CI/CD pipelinesJenkins, Azure DevOps, GitHub, GitLabSonarQube pluginC/C++ results in SonarQubeExternal analyzersClang-Tidy, Cppcheck, coverageFeature on Demand
Solutions

By need

Functional safetyCompliance kits per standardCoding standardsMISRA, CERT, AUTOSAR, ISO...Legacy modernizationRefactor large C/C++ safelyCode auditExpert review of your codebaseM&A due diligenceAssess technical health fast

By role

DevelopersSoftware architectsTech leadsDevOps engineersEngineering managersProject managers

CTOsCIOs / IT leadersQA engineersSecurity leadersComplianceConsultantsRequest a guided PoC
Industries

Safety-critical

AutomotiveISO 26262, MISRA, AUTOSARAerospace & DefenseDO-178C programsMedical DevicesIEC 62304 softwareEnergy & UtilitiesIEC 61508 systemsEmbedded SystemsFirmware and devices

Enterprise

Financial ServicesTrading and paymentsGame DevelopmentEngines and large C++Software VendorsCommercial C/C++ productsGovernmentAgencies and contractorsAll industries & case studies
Resources

Learn

DocumentationGuides, rules and CI setupKnowledge baseFrequently asked questionsBlogC and C++ code quality articlesRelease notesEvery version since 2009

Customers

Case studiesSuccess storiesTestimonialsWhat users sayOur customersCompanies using CppDependGold Code QualityOpen source projects we rate

Programs & company

Feature on DemandMissing features built for freeFree for open sourceLicenses for OSS and studentsContact usSales and supportEULALicense agreement
DocsPricing
Documentation

CppDepend AI

OpenAI Codex CLI

Codex reads AGENTS.md, so cppdepend-ai init is all the setup it needs (the Claude-specific files are ignored).

Setup

cd my-cpp-repo
cppdepend-ai init
cppdepend-ai analyze --run --project MyApp.cdproj
codex

Codex builds its instructions from AGENTS.md files from the repository root down to the working directory; files closer to the working directory take precedence. The CppDepend block written by init is in the root AGENTS.md.

Sandbox and approvals

Codex runs shell commands in a sandbox. CppDepend.AI needs:

Need Why
Write access to the repository analyze writes cppdependai/
Permission to run cppdepend-ai and read the CppDepend folder cppdepend-ai runs from the CppDepend installation, which it needs to load
The right command in AGENTS.md run init --exe "<full path to cppdepend-ai.exe>" so Codex never has to guess the path

Tip: start with write access to the workspace and approval on request, run the commands once, then allow the cppdepend-ai prefix when Codex offers it. Read-only commands (status, explain, query, gate, reading the JSON files) work without write access once a snapshot exists. If analyze --run fails inside the sandbox, run it yourself outside and let Codex read the result.

Typical requests

Using CppDepend (see AGENTS.md), review my uncommitted change and list new Critical or High issues with file:line.
Which type in cppdependai/hotspots.json should I refactor first? Show cppdepend-ai explain for it.
Fix the issues of rule <ruleId> in src/net/, then re-run cppdepend-ai analyze --run and confirm the ids are gone.

Non-interactive: codex exec "Run cppdepend-ai gate and summarize why it fails".

Review

The review procedure is in AGENTS.md (section "Reviewing a change or a pull request"), so Codex follows it as is:

Review my change using CppDepend (follow the review section of AGENTS.md).
codex exec "Review this branch against main using CppDepend, report only findings with file:line"

On every pull request, the workflow generated by cppdepend-ai init --ci github has an optional codex job (the OpenAI Codex GitHub Action, read-only sandbox) that reads the analysis results and posts one comment. Turn it on with the secret OPENAI_API_KEY and the repository variable CPPDEPEND_CODEX_REVIEW=true. See Review.

There is no Stop-hook gate for Codex: enforcement comes from the AGENTS.md rule ("run cppdepend-ai gate before declaring a task done") and from CI.

Was this page helpful?Give feedbackRequest a feature