π Quick Install Β β’Β π€ Agent Catalog Β β’Β π Swarm Patterns Β β’Β π» CLI Reference Β β’Β π Orchestration Guide
Antigravity Subagents is a modular collection of 15+ hyper-specialized subagents, multi-agent swarms, skills, and orchestration rules engineered specifically for Google Antigravity (CLI agy, Antigravity IDE, and Antigravity 2.0).
Instead of relying on a single monolithic model context, Antigravity Subagents empowers you to decompose complex software tasks across specialized, bounded agent personas with isolated tool permissions, optimal model tiers (flash, inherit, pro), and structured communication contracts.
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β CENTRAL ANTIGRAVITY ORCHESTRATOR β
ββββββββ¬βββββββββββββββ¬βββββββββββββββ¬βββββββββββββββ¬ββββββββββ
β β β β
βΌ βΌ βΌ βΌ
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Codebase ββ Security ββ Surgical ββ Test β
β Investigator ββ Auditor ββ Refactorer ββ Sentinel β
β (Model:flash)ββ (Model:pro) ββ(Model:inheritββ(Model:inheritβ
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
| Subagent | Category | Role | Model Tier | Write Tools | Description |
|---|---|---|---|---|---|
π codebase-investigator |
Exploration | Codebase & Symbol Explorer | flash |
β No | Rapidly finds symbols, callers, references, schemas, and configurations without context bloat. |
π architecture-mapper |
Architecture | System Flow & Topology Mapper | pro |
β No | Generates clean Mermaid diagrams, module topology, ERDs, and component dependency trees. |
π web-researcher |
Research | Live Docs & RFC Researcher | flash |
β No | Performs targeted research on framework documentation, official API specs, and breaking changelogs. |
π¨ surgical-refactorer |
Engineering | Atomic Code Refactoring Specialist | inherit |
β Yes | Clean, zero-regression code refactorings, applying SOLID patterns and type safety. |
π api-craftsman |
Engineering | REST, GraphQL & gRPC Designer | inherit |
β Yes | Scaffolds robust API endpoints, OpenAPI schemas, validation pipelines (Pydantic, Zod), and fixtures. |
ποΈ database-architect |
Engineering | Database Schema & Query Architect | inherit |
β Yes | Designs relational schemas, migrations, composite indexes, and ACID transactional integrity. |
π¨ ui-ux-stylist |
Frontend | Modern UI/UX & Tailwind Artisan | inherit |
β Yes | Builds accessible, responsive, modern UIs with Tailwind CSS, React, Vue, and slick micro-interactions. |
π§ͺ test-sentinel |
Quality | QA & Test Suite Automation Engineer | inherit |
β Yes | Authors rock-solid unit, integration, edge-case, and property test suites (PyTest, Vitest, Go, Cargo). |
π bug-hunter |
Debugging | Root-Cause Forensics Detective | pro |
β Yes | Stack trace forensics, memory leak tracking, race condition isolation, and deterministic bug fixes. |
β‘ performance-optimizer |
Optimization | Runtime, Memory & Query Optimizer | pro |
β Yes | Eliminates N+1 queries, optimizes memory overhead, reduces latency, and slashes bundle sizes. |
π‘οΈ security-auditor |
Security | AppSec & Vulnerability Sentinel | pro |
β No | Static code security audit for OWASP Top 10 risks, hardcoded secrets, SQLi, SSRF, RCE, and auth flaws. |
π¦ dependency-inspector |
Security | Supply Chain & Dependency Auditor | flash |
β Yes | Scans lockfiles for CVE advisories, peer dependency conflicts, breaking changes, and license risks. |
π³ docker-devops |
DevOps | Multi-Stage Docker & Compose Expert | flash |
β Yes | Crafts lightweight multi-stage Dockerfiles, non-root users, layer caching, and docker-compose setups. |
π€ ci-cd-architect |
DevOps | CI/CD Pipeline & Actions Engineer | flash |
β Yes | Builds GitHub Actions workflows for matrix testing, caching, automated releases, and deployments. |
π docs-artisan |
Documentation | Technical Documentation Specialist | flash |
β Yes | Writes stunning READMEs, JSDoc/Sphinx docs, API specifications, and Architectural Decision Records. |
Run this command in your terminal to automatically detect your Antigravity installation and install all subagents, skills, plugins, and rules:
curl -fsSL https://raw.githubusercontent.com/Pikaswelt/antigravity-subagents/main/install.sh | bashTo install into the current project workspace only (.agents/):
curl -fsSL https://raw.githubusercontent.com/Pikaswelt/antigravity-subagents/main/install.sh | bash -s -- --workspace# Clone and install locally
git clone https://github.com/Pikaswelt/antigravity-subagents.git
cd antigravity-subagents
pip install -e .
# Install subagents into global Antigravity config
subagents install --global
# Or install to current project workspace
subagents install --workspaceSimply copy or symlink the directories into your Antigravity configuration:
# For Workspace-level usage (current project):
mkdir -p .agents
cp -r skills/ plugins/ rules/ .agents/
# For Global usage (all projects):
mkdir -p ~/.gemini/config
cp -r skills/ plugins/ rules/ ~/.gemini/config/- Scout:
codebase-investigatormaps the target functions and callers. - Build:
surgical-refactorerapplies clean, atomic code changes. - Verify:
test-sentineladds test assertions and runs automated test suites.
# Programmatic AGY orchestration
invoke_subagent(
Subagents=[
{
"TypeName": "codebase-investigator",
"Role": "Codebase Investigator",
"Prompt": "Locate where user session tokens are parsed and validated.",
"Model": "flash"
}
]
)Run independent audit agents in parallel without blocking:
invoke_subagent(
Subagents=[
{
"TypeName": "security-auditor",
"Role": "Security Auditor",
"Prompt": "Audit auth/jwt.py for signature bypass and secret exposure.",
"Model": "pro"
},
{
"TypeName": "performance-optimizer",
"Role": "Performance Optimizer",
"Prompt": "Profile auth/jwt.py for cryptographic bottlenecks or memory leaks.",
"Model": "pro"
}
]
)The included subagents CLI makes it easy to inspect, validate, export, and manage your agent collection:
# List all 15 available subagents
subagents list
# Inspect detailed prompt and configuration for a subagent
subagents show security-auditor
# Export ready-to-run define_subagent() snippets
subagents export --format python
# Validate all agent manifests and schemas
subagents validateantigravity-subagents/
βββ agents/ # Master JSON manifests & Markdown specifications
β βββ index.json # Catalog index of all 15 subagents
β βββ codebase-investigator.json
β βββ architecture-mapper.json
β βββ security-auditor.json
β βββ ...
βββ skills/ # Antigravity Skills package
β βββ subagents/SKILL.md # Master orchestrator skill
β βββ subagent-generator/ # Dynamic agent creator skill
β βββ swarm/SKILL.md # Multi-agent swarm coordinator
β βββ security-auditor/ # Direct security audit skill
β βββ architecture-mapper/ # Architecture visualization skill
βββ plugins/ # Antigravity Plugins package
β βββ antigravity-subagents/ # Complete bundled plugin
βββ rules/ # Delegation rules
β βββ AGENTS.md # Contextual agent routing guidelines
β βββ GEMINI.md # Workspace rules
βββ cli/ # Python CLI management engine
βββ assets/ # High-resolution visual diagrams and hero banner
βββ references/ # In-depth architectural documentation
βββ tests/ # Automated validation & unit test suite
βββ install.sh # One-line bash installer
βββ setup.py # Python package setup
βββ README.md # Project documentation
We welcome contributions of new subagents, custom swarm configurations, and optimizations! Please see our Contributing Guide for details.
- Fork the repository
- Create your feature branch (
git checkout -b feature/new-subagent) - Add your agent manifest under
agents/<name>.json - Run validation tests (
python3 -m unittest discover -s tests) - Commit and open a Pull Request!
This project is open source and available under the MIT License.
