Skip to content

About

πŸ›°οΈ Ultra-specialized Subagents & Multi-Agent Swarms for Google Antigravity (AGY CLI, IDE & Antigravity 2.0)

Topics

Resources

Contributing

Stars

1 star

Watchers

0 watching

Forks

Latest commit

Β 

History

4 Commits

Folders and files

Repository files navigation

πŸ›°οΈ Antigravity Subagents

Production-Grade Specialized Subagents & Multi-Agent Swarms for Google Antigravity

License: MIT Antigravity Python 3.9+ Subagents CI Status GitHub Stars


Antigravity Subagents Hero Banner



πŸš€ Quick Install Β β€’Β  πŸ€– Agent Catalog Β β€’Β  🐝 Swarm Patterns Β β€’Β  πŸ’» CLI Reference Β β€’Β  πŸ“– Orchestration Guide


🌟 Overview

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.


⚑ Multi-Agent Orchestration Architecture

Autonomous AI Multi-Agent Orchestration Architecture
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚               CENTRAL ANTIGRAVITY ORCHESTRATOR              β”‚
β””β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
       β”‚              β”‚              β”‚              β”‚
       β–Ό              β–Ό              β–Ό              β–Ό
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚  Codebase    β”‚β”‚   Security   β”‚β”‚   Surgical   β”‚β”‚     Test     β”‚
β”‚ Investigator β”‚β”‚   Auditor    β”‚β”‚  Refactorer  β”‚β”‚   Sentinel   β”‚
β”‚ (Model:flash)β”‚β”‚ (Model:pro)  β”‚β”‚(Model:inheritβ”‚β”‚(Model:inheritβ”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

πŸ€– Subagent Catalog

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.

πŸš€ Quick Installation

Option 1: One-Line Auto Installer (Recommended)

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 | bash

To install into the current project workspace only (.agents/):

curl -fsSL https://raw.githubusercontent.com/Pikaswelt/antigravity-subagents/main/install.sh | bash -s -- --workspace

Option 2: Python CLI & Package Install

# 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 --workspace

Option 3: Manual Drop-In

Simply 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/

🐝 Swarm Orchestration Patterns

1. The Verified Triplet Pipeline (Locate β†’ Refactor β†’ Test)

  1. Scout: codebase-investigator maps the target functions and callers.
  2. Build: surgical-refactorer applies clean, atomic code changes.
  3. Verify: test-sentinel adds 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"
        }
    ]
)

2. The Hardening Sprint (Parallel Security & Performance Audit)

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"
        }
    ]
)

πŸ’» CLI Management Suite

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 validate

πŸ—οΈ Directory Structure

antigravity-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

🀝 Contributing

We welcome contributions of new subagents, custom swarm configurations, and optimizations! Please see our Contributing Guide for details.

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/new-subagent)
  3. Add your agent manifest under agents/<name>.json
  4. Run validation tests (python3 -m unittest discover -s tests)
  5. Commit and open a Pull Request!

πŸ“„ License

This project is open source and available under the MIT License.

Made with πŸ’œ for the Google Antigravity Developer Community by Pikaswelt

About

πŸ›°οΈ Ultra-specialized Subagents & Multi-Agent Swarms for Google Antigravity (AGY CLI, IDE & Antigravity 2.0)

Topics

Resources

Contributing

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages