mantis
AGENTS.md2.3k starsChanged 3 months agoApache-2.0View on GitHub
Always run pre-commit run --all-files before creating or amending a commit. This ensures all markdown files conform to the pinned mdformat 0.7.21 formatter (--number --wrap 80 with gfm + frontmatter plugins). The hook installs its own isolated venv — do not run local mdformat directly. If the hook modifies files, stage the changes and amend your commit. Security invariants (INV-1 through INV-6) are enforced deterministically by the Google ADK Python runtime, Pydantic schemas, and tool wrappers rather than prompt fences:
Trending
More talk lately.about the whole repository
Who's talking about google/mantis
- @camilleroux.com“Mantis : toolkit open source de Google pour agents de coding, conçu pour trouver, reproduire et corriger …”Bluesky · Sep 15, 2026 · 3 likes
- @tech-trending.bsky.social“GitHub - google/mantis: A modular, stack-agnostic toolkit for AI coding agents to autonomously find, …”Bluesky · Oct 1, 2026 · 1 likes
- @netmarkjp.bsky.social“#ばばさん通信ダイジェスト 賛否関わらず話題になった/なりそうなものを共有しています。 GitHub - google/mantis: A modular, stack-agnostic toolkit for …”Bluesky · Sep 23, 2026 · 1 likes
- @javanrasokat.bsky.social“Three repos that are leading our path forward in scaling AppSec workflows: 1. github.com/google/mantis 2. …”Bluesky · Jul 3, 2026 · 1 likes
- sudosubin/agents.nix“agent-skills.github.google.mantis: 0-unstable-2026-10-04 → 0-unstable-2026-10-05”GitHub · Oct 5, 2026
The biggest 5 of 24 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 24
Talked about on GitHub and Bluesky (24 times).
On GitHub · 19
- Oct 5, 2026agent-skills.github.google.mantis: 0-unstable-2026-10-04 → 0-unstable-2026-10-05 — sudosubin/agents.nix0 reactions
- Oct 5, 2026agent-skills.github.google.mantis: 30447e1 → f5656dd — sudosubin/agents.nix0 reactions
- Oct 5, 2026agent-skills.github.google.mantis: f48a85e → 30447e1 — sudosubin/agents.nix0 reactions
- Oct 4, 2026Update skill: /google-mantis-patch (high risk) — aiskillstore/marketplace0 reactions
- Oct 4, 2026Update skill: /google-mantis-meta-agent (critical risk) — aiskillstore/marketplace0 reactions
14 more on GitHub
- Oct 4, 2026Update skill: /google-mantis-dedupe (high risk) — aiskillstore/marketplace0 reactions
- Oct 4, 2026Update skill: /google-mantis-threat-model (low risk) — aiskillstore/marketplace0 reactions
- Oct 4, 2026Update skill: /google-mantis-history (medium risk) — aiskillstore/marketplace0 reactions
- Oct 4, 2026Update skill: /google-mantis-structural-index (high risk) — aiskillstore/marketplace0 reactions
- Oct 4, 2026Update skill: /google-mantis-calibrate (high risk) — aiskillstore/marketplace0 reactions
- Oct 4, 2026agent-skills.github.google.mantis: 0-unstable-2026-09-28 → 0-unstable-2026-10-04 — sudosubin/agents.nix0 reactions
- Oct 3, 2026agent-skills.github.google.mantis: 0-unstable-2026-09-18 → 0-unstable-2026-09-28 — sudosubin/agents.nix0 reactions
- Sep 27, 2026agent-skills.github.google.mantis: init at 0-unstable-2026-09-18 — sudosubin/agents.nix0 reactions
- Sep 22, 2026fix(rust): patch parameter bounds validation bugs to avoid panic — morrowc/mrtparser0 reactions
- Sep 22, 2026fix(cpp): add minimal bound checks for packet lengths — morrowc/mrtparser0 reactions
- Sep 11, 2026mode — chogng/ash0 reactions
- Sep 8, 2026chore(security): instala skill kit Mantis (google/mantis) para auditoria de segurança via agente de IA — Marks-Mah/Birthub-3600 reactions · 1 comment
- Jul 27, 2026Integrate Google Mantis Skills as CRSs — ossf/oss-crs0 reactions
- Jul 3, 2026Add Google Mantis — agentic AI security review pipeline — ottosulin/awesome-ai-security0 reactions
On Bluesky · 5
- Sep 15, 2026Mantis : toolkit open source de Google pour agents de coding, conçu pour trouver, reproduire et corriger des vulnérabilités de façon… — @camilleroux.com3 likes and reposts · 1 reply
- Oct 1, 2026GitHub - google/mantis: A modular, stack-agnostic toolkit for AI coding agents to autonomously find, reproduce, and patch vulnerabilities.… — @tech-trending.bsky.social1 likes and repost
- Sep 23, 2026#ばばさん通信ダイジェスト 賛否関わらず話題になった/なりそうなものを共有しています。 GitHub - google/mantis: A modular, stack-agnostic toolkit for AI coding agents to autonomously… — @netmarkjp.bsky.social1 likes and repost
- Jul 3, 2026Three repos that are leading our path forward in scaling AppSec workflows: 1. github.com/google/mantis 2. github.com/anthropics/d... 3.… — @javanrasokat.bsky.social1 likes and repost
- Oct 1, 2026🤖 GitHub - google/mantis: A modular, stack-agnostic toolkit for AI coding agents to autonomously find,... 要約:… — @ai-bs-bot.bsky.social0 likes and reposts · 1 reply
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.
Of the AGENTS.md files we read, the 11,773 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository21 other files it gives its agents.
- mantis-adviseSkill
- mantis-architectureSkill
- mantis-calibrateSkill
- mantis-chainSkill
- mantis-criticSkill
- mantis-dedupeSkill
- mantis-historySkill
- mantis-meta-agentSkill
- mantis-patchSkill
- mantis-pipeline-adapterSkill
- mantis-planSkill
- mantis-reflectSkill
- mantis-reportSkill
- mantis-reproduceSkill
- mantis-researcherSkill
- mantis-reviewSkill
- mantis-structural-indexSkill
- mantis-summarizeSkill
- mantis-threat-modelSkill
- mantis-configureSkill
- mantis-launchSkill
The file
We split this AGENTS.md into the rules it gives an agent
1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 12
If the hook modifies files, stage the changes and amend your commit.
≈ “Common” is an estimate: at least 1 in 5 of the 16,595 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Agent Rules
Before committing
Always run pre-commit run --all-files before creating or amending a
commit.
This ensures all markdown files conform to the pinned mdformat 0.7.21 formatter
(--number --wrap 80 with gfm + frontmatter plugins). The hook installs its own
isolated venv — do not run local mdformat directly.
If the hook modifies files, stage the changes and amend your commit.
ADK Invariant Architecture & Deterministic Gates
Security invariants (INV-1 through INV-6) are enforced deterministically by the Google ADK Python runtime, Pydantic schemas, and tool wrappers rather than prompt fences:
- INV-1 & INV-2 (Evidence & Re-attack): Enforced by
sandbox_tools.pyreached-sink sentinel verification andschemas.pyvalidation. Objective third-party re-attack and strict separation-of-duties role separation are orchestrated bymantis-patchto eliminate self-grading confirmation bias. - INV-3 (Regression Tracking): Enforced by finding lineage schemas and snapshot-match rules.
- INV-4 (Target Immutability & Host Boundary): Enforced by
research_tools.pypath bounds checks (strictly read-only on the host target checkout; all mutations constrained toworkspace/or isolated guest sandboxes). - INV-5 (State Resumption & Monotonic Lineage): Enforced by
BudgetControllercheckpointing anddatabase.pymonotonic status preservation across process restarts via--resume <run_id>. Upstream repository synchronization and environment provisioning are managed externally before resuming Mantis. - INV-6 (Fail-Safe Backward Compatibility): Enforced by schema defaults and fail-closed degradation gates.
Skills must remain clean, dense domain guides focused on vulnerability analysis,
attack vectors, and remediation. Do not re-embed bash Git commands, manual file
locking, or ASCII block fences in skill prompts. All invariants are verified by
reference/tests/test_adk_invariants.py.
Reference files
Skills may split on-demand content into references/ subdirectories (e.g.
mantis-calibrate/references/calibration_rules.md). Before committing, verify
that every references/*.md link target in a SKILL.md file exists on disk and
is tracked by git (git ls-files --error-unmatch <path>).
Extraction criteria
Extract a block into a references/ file only if ALL three hold:
- Off the fail-closed safety-critical path — the extracted content is not
the sole authority for a security-critical invariant (e.g. the
VERIFIED_SECURE => reattack_status = failed_to_bypassgate). - Restates no invariant — the extracted content does not restate any rule that is also stated in the SKILL.md (no invariant may appear in both a SKILL.md and its reference; if a rule must be referenced, state it once and point to it).
- Clean fail-safe fallback — if the reference cannot be loaded, the skill falls back to safe behavior without the reference (e.g. patch rebasing falls back to fresh patch generation, verified by re-attack verification).
mantis-patch/references/patch_rebasing.md qualifies (pure mechanics, no
invariant restated, fails safe to Phase-1). Do not extract content that restates
a crown-jewel invariant — trim it inline instead.
Structural index spec
The structural index spec lives in one canonical location:
mantis-structural-index/SKILL.md. Locator resolution instructions and semantic
unit definitions appear only in this canonical skill.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

