Audience
Software engineers, security teams, and maintainers looking for a solution to automate detection and secure patching of vulnerabilities in their codebases with AI assistance
About CodeMender
CodeMender is an AI-powered agent developed by DeepMind for automatically finding, diagnosing, and patching security vulnerabilities in software code. It combines advanced reasoning abilities (via Gemini Deep Think models) with program analysis tools, static analysis, dynamic analysis, differential testing, fuzzing, and SMT solvers, to identify root causes of flaws, generate high-quality fixes, and validate them to avoid regressions or functional breakage. CodeMender operates by proposing patches that adhere to style rules and structural correctness, and then uses critique and verification agents to check changes and self-correct if issues arise. It can also proactively rewrite existing code using safer APIs or data structures (for example, applying -fbounds-safety annotations to prevent buffer overflows). To date, CodeMender has upstreamed dozens of patches in large open source projects (including ones with millions of lines of code).