CodeMender agent on Gemini Enterprise Agent Platform
The CodeMender agent provides a fine-tuned security harness to find and fix code vulnerabilities. It is managed and hosted as a code security agent on Gemini Enterprise Agent Platform with built-in governance and developer tool integrations.
Accelerate secure development with flexibility and control
Multi-model flexibility
Optimize for cost, speed, or deep coding performance
Automated remediation
Eliminate manual verification and patching
Prioritized by exploitability
Simulate exploits to prioritize fixes
See the CodeMender agent in action
Watch CodeMender scan for vulnerabilities, validate exploitable risk, and generate verified code fixes to help secure applications.

Streamline scanning workflows
Seamlessly ingest findings from cloud security tools like Wiz while leveraging flexible multi-model support to optimize for cost, speed, or performance.
Keep source code in your environment
Work safely with a secure, lightweight CLI that ensures scanning and fixing your proprietary code is entirely within your configured environment.
High-signal vulnerability discovery across your entire codebase.
Uncover deep vulnerabilities
Hunt for complex flaws using multiple models—from memory corruption to injection attacks—across multi-language codebases using advanced, agent-based analysis.
Streamline scanning workflows
Seamlessly ingest findings from cloud security tools like Wiz while leveraging flexible multi-model support to optimize for cost, speed, or performance.
Keep source code in your environment
Work safely with a secure, lightweight CLI that ensures scanning and fixing your proprietary code is entirely within your configured environment.
High-signal vulnerability discovery across your entire codebase.

Streamline scanning workflows
Seamlessly ingest findings from cloud security tools like Wiz while leveraging flexible multi-model support to optimize for cost, speed, or performance.
Keep source code in your environment
Work safely with a secure, lightweight CLI that ensures scanning and fixing your proprietary code is entirely within your configured environment.
Uncover deep vulnerabilities
Hunt for complex flaws using multiple models—from memory corruption to injection attacks—across multi-language codebases using advanced, agent-based analysis.
Streamline scanning workflows
Seamlessly ingest findings from cloud security tools like Wiz while leveraging flexible multi-model support to optimize for cost, speed, or performance.
Keep source code in your environment
Work safely with a secure, lightweight CLI that ensures scanning and fixing your proprietary code is entirely within your configured environment.
Real-world exploit-based validation to eliminate false positives.
Validate using real-world exploits
Move beyond CVE scores. CodeMender builds and runs an active, proof-of-concept exploit in a customer-managed environment to definitively prove exploitability.
Prioritize actionable vulnerabilities
Ensure developers only spend time on high-confidence, actionable vulnerabilities, dramatically reducing alert fatigue.
Advanced reasoning
Uses a specialized security harness and DeepMind techniques to trace complex control flows and data paths.

Prioritize actionable vulnerabilities
Ensure developers only spend time on high-confidence, actionable vulnerabilities, dramatically reducing alert fatigue.
Advanced reasoning
Uses a specialized security harness and DeepMind techniques to trace complex control flows and data paths.
Real-world exploit-based validation to eliminate false positives.

Prioritize actionable vulnerabilities
Ensure developers only spend time on high-confidence, actionable vulnerabilities, dramatically reducing alert fatigue.
Advanced reasoning
Uses a specialized security harness and DeepMind techniques to trace complex control flows and data paths.
Validate using real-world exploits
Move beyond CVE scores. CodeMender builds and runs an active, proof-of-concept exploit in a customer-managed environment to definitively prove exploitability.
Prioritize actionable vulnerabilities
Ensure developers only spend time on high-confidence, actionable vulnerabilities, dramatically reducing alert fatigue.
Advanced reasoning
Uses a specialized security harness and DeepMind techniques to trace complex control flows and data paths.

Deploy production-grade patches
Automatically validate proposed fixes using LLM judges to ensure existing functionality remains intact.
Maintain developer control
Developers review, approve, and apply CodeMender's patches directly within their existing IDEs and CLI tools.
Intelligent, self-validating patch generation and deployment.
Generate automated fixes
Generate code diffs and pull requests that not only patch the exploit but address the underlying root cause of the vulnerability.
Deploy production-grade patches
Automatically validate proposed fixes using LLM judges to ensure existing functionality remains intact.
Maintain developer control
Developers review, approve, and apply CodeMender's patches directly within their existing IDEs and CLI tools.
Intelligent, self-validating patch generation and deployment.

Deploy production-grade patches
Automatically validate proposed fixes using LLM judges to ensure existing functionality remains intact.
Maintain developer control
Developers review, approve, and apply CodeMender's patches directly within their existing IDEs and CLI tools.
Generate automated fixes
Generate code diffs and pull requests that not only patch the exploit but address the underlying root cause of the vulnerability.
Deploy production-grade patches
Automatically validate proposed fixes using LLM judges to ensure existing functionality remains intact.
Maintain developer control
Developers review, approve, and apply CodeMender's patches directly within their existing IDEs and CLI tools.
CodeMender is a core component of AI Threat Defense
An always-on autonomous security platform designed to outpace AI-driven attacks. AI Threat Defense fuses the reasoning power of Gemini, the contextual risk prioritization of Wiz, the code remediation capabilities of CodeMender, and the frontline expertise of Mandiant.
The solution is based on a proven four-step framework taken from Google’s own approach to combating today’s threats.
Google CodeMender on Gemini Enterprise Agent Platform is an autonomous, AI-powered security agent originally developed by Google DeepMind to find, verify, and remediate deep vulnerabilities in your codebase. Tested across Google's own production environments, it uses a fine-tuned security harness that is built and continuously updated by Google DeepMind, and a selection of models to analyze root causes, run exploit simulations to confirm vulnerabilities are real, and generate precise code fixes.
Google AI Threat Defense is an always-on, autonomous security platform designed to outpace AI-driven attacks. It seamlessly integrates the reasoning power of frontier models like Gemini, the contextual cloud-risk prioritization of Wiz, the autonomous code remediation capabilities of CodeMender, and the frontline incident response expertise of Mandiant. Within AI Threat Defense, CodeMender serves as the primary code security agent, bridging real-world cloud exposures directly with automated, developer-approved codebase patching.
CodeMender shifts security from passive scanning to active remediation. Unlike traditional static scanners that flood teams with false positives, or standalone models lacking execution logic and context, CodeMender pairs advanced AI models with a fine-tuned harness and comprehensive security toolbox to deliver better performance in vulnerability fixing than models alone. CodeMender enables you to:
Traditional static scanners rely on simple pattern matching, which generates high volumes of noisy alerts and false positives. CodeMender acts differently, performing high-signal, deep scans across complex, multi-language codebases. It leverages advanced program analysis to trace control flows and data paths, allowing it to understand the unique context, goals, and functionality of your application to discover sophisticated vulnerabilities that static and model-only scanning miss.
The most critical bottleneck in application security is the time spent triaging false positives. CodeMender solves this through execution-based verification. Rather than statically analyzing code patterns, the agent builds your code and executes a secure proof-of-concept exploit. If the exploit succeeds, the vulnerability is verified to be exploitable, allowing your security practitioners and developers to focus their energy and token costs on legitimate risks.
Once a security flaw is verified, CodeMender automatically generates a patch, delivered as a standard code diff directly within developer tools. To ensure the fix is production-ready, CodeMender uses an LLM-as-a-judge framework to validate the patch. The agent automatically tests the modified code to ensure program equivalence, meaning the patch resolves the root cause of the vulnerability without altering the application's intended behavior or breaking existing features. The patch is presented to the developer as a code diff for them to review and approve before committing the patch to their code base.
For the latest list of supported models, you can check our documentation. CodeMender with Gemini 3.5 Flash Cyber will be exclusively available to a small set of governments and trusted partners. We plan to expand this access over time.
CodeMender is built for enterprise-scale complexity, providing comprehensive coverage across major language ecosystems shown below. For the latest, you can check our documentation.
CodeMender is hosted as a secure headless agent on the Gemini Enterprise Agent Platform. Developers interact with it using CodeMender’s local Command Line Interface (CLI) and tools such as VS Code to run scans, review findings, trigger exploit verification, generate patches, and manage sessions. Core reasoning and orchestration occur in the cloud, while code compilation, test execution, and exploit simulations run in customer-managed local sandboxes or isolated VMs.
Yes. In addition to interactive developer workflows, CodeMender can operate as a headless agent. For automated pipelines, the CodeMender binary can be packaged inside a custom container.
Under the Google AI Threat Defense system CodeMender works with Wiz:
Absolutely. CodeMender enforces a strict human-in-the-loop governance model. The agent does not automatically apply patches to your version control system or push code directly to production repositories. All suggested patches are provided as local code diffs, and changes are only committed to the repository after a developer has manually reviewed and approved them.
Your proprietary source code remains entirely private and secure. CodeMender is architected from the ground up with strict data privacy perimeters:
Hosted securely on the Gemini Enterprise Agent Platform, CodeMender provides the following enterprise guardrails: