Overview
The parallel-agents skill enables coordinating multiple specialized agents through Antigravity’s native agent system. It provides patterns for orchestrating agents to handle complex tasks requiring multiple expertise domains or comprehensive analysis from multiple perspectives.What This Skill Provides
- Native agent invocation: Using Antigravity’s built-in Agent Tool
- Orchestration patterns: Proven patterns for multi-agent coordination
- Sequential and parallel execution: When to run agents in sequence vs parallel
- Context passing: Sharing findings between agents
- Synthesis protocols: Combining results from multiple agents
- 17 specialized agents: Available agents and their expertise domains
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
- Simple, single-domain tasks
- Quick fixes or small changes
- Tasks where one agent suffices
Native Agent Invocation
Single Agent
Sequential Chain
With Context Passing
Resume Previous Work
Orchestration Patterns
Pattern 1: Comprehensive Analysis
Pattern 2: Feature Review
Pattern 3: Security Audit
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” |
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 |
Synthesis Protocol
After all agents complete, synthesize:Best Practices
- Choose relevant agents - 17 specialized agents available
- 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
Use Cases
- Comprehensive codebase analysis
- Multi-domain feature implementation
- Security audits with multiple perspectives
- Full-stack application building
- Code quality reviews from multiple angles
- Performance optimization across layers
- Migration planning and execution
Related Skills
- App Builder - Uses agent coordination for building apps
- Intelligent Routing - Automatic agent selection
- Behavioral Modes - Agent behavior adaptation
- Plan Writing - Planning multi-agent work
Which Agents Use This Skill
- orchestrator - Primary orchestrator agent that coordinates other agents
- Other agents can invoke specialist agents when needed
Sequential vs Parallel Execution
Sequential (dependencies)
Parallel (independent)
Context Passing Techniques
- Explicit context: “Based on the security findings…”
- File references: “Review the files identified by explorer-agent”
- Shared artifacts: Reference files created by previous agents
- Issue tracking: Pass list of issues to next agent
- Decision logs: Share architectural decisions
Error Handling in Orchestration
- If an agent fails, log error and continue with other agents
- Critical dependencies should block subsequent agents
- Provide partial synthesis even if some agents fail
- Document which agents completed successfully
- Offer to retry failed agents with different parameters
