Native Parallel Agents
Orchestration through Antigravity's built-in Agent Tool
Overview
This skill enables coordinating multiple specialized agents through Antigravity's native agent system. Unlike external scripts, this approach keeps all orchestration within Antigravity's control.
When to Use Orchestration
✅ Good for:
- Complex tasks requiring multiple expertise domains
- Code analysis from security, performance, and quality perspectives
- Comprehensive reviews (architecture + security + testing)
- Feature implementation needing backend + frontend + database work
❌ Not for:
- Simple, single-domain tasks
- Quick fixes or small changes
- Tasks where one agent suffices
Native Agent Invocation
Single Agent
Use the security-auditor agent to review authentication
Sequential Chain
First, use the explorer-agent to discover project structure.
Then, use the backend-specialist to review API endpoints.
Finally, use the test-engineer to identify test gaps.
With Context Passing
Use the frontend-specialist to analyze React components.
Based on those findings, have the test-engineer generate component tests.
Resume Previous Work
Resume agent [agentId] and continue with additional requirements.
Orchestration Patterns
Pattern 1: Comprehensive Analysis
Agents: explorer-agent → [domain-agents] → synthesis
1. explorer-agent: Map codebase structure
2. security-auditor: Security posture
3. backend-specialist: API quality
4. frontend-specialist: UI/UX patterns
5. test-engineer: Test coverage
6. Synthesize all findings
Pattern 2: Feature Review
Agents: affected-domain-agents → test-engineer
1. Identify affected domains (backend? frontend? both?)
2. Invoke relevant domain agents
3. test-engineer verifies changes
4. Synthesize recommendations
Pattern 3: Security Audit
Agents: security-auditor → penetration-tester → synthesis
1. security-auditor: Configuration and code review
2. penetration-tester: Active vulnerability testing
3. Synthesize with prioritized remediation
Available Agents
| Agent |
Expertise |
Trigger Phrases |
orchestrator |
Coordination |
"comprehensive", "multi-perspective" |
security-auditor |
Security |
"security", "auth", "vulnerabilities" |
penetration-tester |
Security Testing |
"pentest", "red team", "exploit" |
backend-specialist |
Backend |
"API", "server", "Node.js", "Express" |
frontend-specialist |
Frontend |
"React", "UI", "components", "Next.js" |
test-engineer |
Testing |
"tests", "coverage", "TDD" |
devops-engineer |
DevOps |
"deploy", "CI/CD", "infrastructure" |
database-architect |
Database |
"schema", "Prisma", "migrations" |
mobile-developer |
Mobile |
"React Native", "Flutter", "mobile" |
api-designer |
API Design |
"REST", "GraphQL", "OpenAPI" |
debugger |
Debugging |
"bug", "error", "not working" |
explorer-agent |
Discovery |
"explore", "map", "structure" |
documentation-writer |
Documentation |
"write docs", "create README", "generate API docs" |
performance-optimizer |
Performance |
"slow", "optimize", "profiling" |
project-planner |
Planning |
"plan", "roadmap", "milestones" |
seo-specialist |
SEO |
"SEO", "meta tags", "search ranking" |
game-developer |
Game Development |
"game", "Unity", "Godot", "Phaser" |
Antigravity Built-in Agents
These work alongside custom agents:
| Agent |
Model |
Purpose |
| Explore |
Haiku |
Fast read-only codebase search |
| Plan |
Sonnet |
Research during plan mode |
| General-purpose |
Sonnet |
Complex multi-step modifications |
Use Explore for quick searches, custom agents for domain expertise.
Synthesis Protocol
After all agents complete, synthesize:
## Orchestration Synthesis
### Task Summary
[What was accomplished]
### Agent Contributions
| Agent | Finding |
|-------|---------|
| security-auditor | Found X |
| backend-specialist | Identified Y |
### Consolidated Recommendations
1. **Critical**: [Issue from Agent A]
2. **Important**: [Issue from Agent B]
3. **Nice-to-have**: [Enhancement from Agent C]
### Action Items
- [ ] Fix critical security issue
- [ ] Refactor API endpoint
- [ ] Add missing tests
Best Practices
- Available agents - 17 specialized agents can be orchestrated
- Logical order - Discovery → Analysis → Implementation → Testing
- Share context - Pass relevant findings to subsequent agents
- Single synthesis - One unified report, not separate outputs
- Verify changes - Always include test-engineer for code modifications
Key Benefits
- ✅ Single session - All agents share context
- ✅ AI-controlled - Claude orchestrates autonomously
- ✅ Native integration - Works with built-in Explore, Plan agents
- ✅ Resume support - Can continue previous agent work
- ✅ Context passing - Findings flow between agents
1---2name: parallel-agents3description: Multi-agent orchestration patterns. Use when multiple independent tasks4 can run with different domain expertise or when comprehensive analysis requires5 multiple perspectives.6allowed-tools: Read, Glob, Grep7risk: safe8source: community9license: MIT10metadata:11 source: https://skillmd.com/skills/jantoniofc/parallel-agents12---1314# Native Parallel Agents1516> Orchestration through Antigravity's built-in Agent Tool1718## Overview1920This skill enables coordinating multiple specialized agents through Antigravity's native agent system. Unlike external scripts, this approach keeps all orchestration within Antigravity's control.2122## When to Use Orchestration2324✅ **Good for:**25- Complex tasks requiring multiple expertise domains26- Code analysis from security, performance, and quality perspectives27- Comprehensive reviews (architecture + security + testing)28- Feature implementation needing backend + frontend + database work2930❌ **Not for:**31- Simple, single-domain tasks32- Quick fixes or small changes33- Tasks where one agent suffices3435---3637## Native Agent Invocation3839### Single Agent40```41Use the security-auditor agent to review authentication42```4344### Sequential Chain45```46First, use the explorer-agent to discover project structure.47Then, use the backend-specialist to review API endpoints.48Finally, use the test-engineer to identify test gaps.49```5051### With Context Passing52```53Use the frontend-specialist to analyze React components.54Based on those findings, have the test-engineer generate component tests.55```5657### Resume Previous Work58```59Resume agent [agentId] and continue with additional requirements.60```6162---6364## Orchestration Patterns6566### Pattern 1: Comprehensive Analysis67```68Agents: explorer-agent → [domain-agents] → synthesis69701. explorer-agent: Map codebase structure712. security-auditor: Security posture723. backend-specialist: API quality734. frontend-specialist: UI/UX patterns745. test-engineer: Test coverage756. Synthesize all findings76```7778### Pattern 2: Feature Review79```80Agents: affected-domain-agents → test-engineer81821. Identify affected domains (backend? frontend? both?)832. Invoke relevant domain agents843. test-engineer verifies changes854. Synthesize recommendations86```8788### Pattern 3: Security Audit89```90Agents: security-auditor → penetration-tester → synthesis91921. security-auditor: Configuration and code review932. penetration-tester: Active vulnerability testing943. Synthesize with prioritized remediation95```9697---9899## Available Agents100101| Agent | Expertise | Trigger Phrases |102|-------|-----------|-----------------|103| `orchestrator` | Coordination | "comprehensive", "multi-perspective" |104| `security-auditor` | Security | "security", "auth", "vulnerabilities" |105| `penetration-tester` | Security Testing | "pentest", "red team", "exploit" |106| `backend-specialist` | Backend | "API", "server", "Node.js", "Express" |107| `frontend-specialist` | Frontend | "React", "UI", "components", "Next.js" |108| `test-engineer` | Testing | "tests", "coverage", "TDD" |109| `devops-engineer` | DevOps | "deploy", "CI/CD", "infrastructure" |110| `database-architect` | Database | "schema", "Prisma", "migrations" |111| `mobile-developer` | Mobile | "React Native", "Flutter", "mobile" |112| `api-designer` | API Design | "REST", "GraphQL", "OpenAPI" |113| `debugger` | Debugging | "bug", "error", "not working" |114| `explorer-agent` | Discovery | "explore", "map", "structure" |115| `documentation-writer` | Documentation | "write docs", "create README", "generate API docs" |116| `performance-optimizer` | Performance | "slow", "optimize", "profiling" |117| `project-planner` | Planning | "plan", "roadmap", "milestones" |118| `seo-specialist` | SEO | "SEO", "meta tags", "search ranking" |119| `game-developer` | Game Development | "game", "Unity", "Godot", "Phaser" |120121---122123## Antigravity Built-in Agents124125These work alongside custom agents:126127| Agent | Model | Purpose |128|-------|-------|---------|129| **Explore** | Haiku | Fast read-only codebase search |130| **Plan** | Sonnet | Research during plan mode |131| **General-purpose** | Sonnet | Complex multi-step modifications |132133Use **Explore** for quick searches, **custom agents** for domain expertise.134135---136137## Synthesis Protocol138139After all agents complete, synthesize:140141```markdown142## Orchestration Synthesis143144### Task Summary145[What was accomplished]146147### Agent Contributions148| Agent | Finding |149|-------|---------|150| security-auditor | Found X |151| backend-specialist | Identified Y |152153### Consolidated Recommendations1541. **Critical**: [Issue from Agent A]1552. **Important**: [Issue from Agent B]1563. **Nice-to-have**: [Enhancement from Agent C]157158### Action Items159- [ ] Fix critical security issue160- [ ] Refactor API endpoint161- [ ] Add missing tests162```163164---165166## Best Practices1671681. **Available agents** - 17 specialized agents can be orchestrated1692. **Logical order** - Discovery → Analysis → Implementation → Testing1703. **Share context** - Pass relevant findings to subsequent agents1714. **Single synthesis** - One unified report, not separate outputs1725. **Verify changes** - Always include test-engineer for code modifications173174---175176## Key Benefits177178- ✅ **Single session** - All agents share context179- ✅ **AI-controlled** - Claude orchestrates autonomously180- ✅ **Native integration** - Works with built-in Explore, Plan agents181- ✅ **Resume support** - Can continue previous agent work182- ✅ **Context passing** - Findings flow between agents