Google Open-Sources Mantis: Toolkit for Coding Agents
Google releases Mantis, an open-source modular skills toolkit enabling coding agents to find, reproduce, and patch software vulnerabilities securely.

Stock photo for illustration only, not from the actual event
- Mantis is a set of slash commands for coding agents rather than a passive scanner.
- Features staged workflows from code history mining to payload reproduction and patching.
- Integrates directly with Gemini CLI, Google ADK, and comparable agent frameworks.
- Utilizes gVisor or isolated virtual machines with disabled networking for safe execution.
Google has officially introduced Mantis, an open-source modular skills toolkit engineered to empower coding agents with end-to-end security capabilities. The framework is designed to help AI agents discover, analyze, reproduce, and patch vulnerabilities within source code repositories. Rather than functioning as a standard automated scanner that runs independently, Mantis operates as a collection of specialized slash commands integrated with strict execution boundary rules for existing coding agents.
Regarding deployment feasibility, development teams can clone the repository today and run it locally or for internal evaluation using the Gemini CLI, Antigravity CLI, Google ADK, or any equivalent agent framework, though it is not yet production-ready.

Stock photo for illustration only, not from the actual event
Mantis structures its workflow by publishing individual stages as discrete skill directories. These are invoked sequentially via slash commands, while a supervisor skill known as /mantis-meta-agent can orchestrate the entire loop during a continuous session. The workflow pipeline is categorized into distinct phases:
- Early Stages (Target Discovery): Includes
/mantis-historyfor mining past security fixes from version control,/mantis-summarizefor directory mapping,/mantis-architecturefor constructing Markdown knowledge bases,/mantis-threat-modelfor establishing trust boundaries, and/mantis-planto generate a targeted roadmap. - Middle Stages (Filtering): Utilizes
/mantis-researcherto sweep files against the active plan, followed by/mantis-dedupe,/mantis-review, and/mantis-criticto eliminate duplicate findings and discard issues irrelevant to production releases. - Late Stages (Reproduction and Remediation): Employs
/mantis-reproduceto execute payloads securely inside gVisor or a network-isolated VM,/mantis-chainto assemble multi-step exploit chains,/mantis-patchto apply and verify fixes,/mantis-calibrateto assign a risk score from 1 to 10,/mantis-reflectto log insights for future passes, and/mantis-reportto generate human-readable review packets.
Additionally, a newer skill designated as /mantis-advise reverses the traditional workflow. It queries accumulated threat models, historical bug lineages, and verified patch patterns prior to code authoring, ensuring developers do not introduce identical vulnerability classes twice.
The decision by Mantis to publish explicit inter-stage contracts represents a significant engineering achievement. By moving away from relying entirely on LLMs to freely orchestrate shell commands, Mantis enforces deterministic harnesses around its skill modules. Combined with safe sandboxing environments like gVisor, this structure drastically mitigates the risks associated with autonomous code execution.
Source: MarkTechPost
Found something wrong in this article? Report an issue with this article
Comments
Leave a Comment