Skip to main content

What is a Squad?

Squads are modular teams of AI agents that extend AIOX functionality. Each squad is a self-contained package containing:

Distribution Levels

Official Squads

Quick Start

Prerequisites

  • Node.js 18+
  • AIOX project initialized (.aiox-core/ exists)
  • Git for version control

Option 2: Direct Creation

Squad Architecture

Directory Structure

Squad Manifest (squad.yaml)

Task-First Architecture

Squads follow task-first architecture where tasks are the primary entry point:

Creating Squads

Using @squad-creator Agent

Available Commands

Templates

Config Inheritance Modes

Squad Designer

The Squad Designer analyzes your documentation and recommends agents and tasks.

Usage

Workflow

  1. Collect Documentation - Provide PRDs, specs, requirements
  2. Domain Analysis - System extracts concepts, workflows, roles
  3. Agent Recommendations - Review suggested agents
  4. Task Recommendations - Review suggested tasks
  5. Generate Blueprint - Save to .squad-design.yaml
  6. Create from Blueprint - *create-squad my-squad --from-design

Blueprint Format

Analyzing & Extending Squads

Analyzing Squads

Analysis Output

Extending Squads

Add new components to existing squads with automatic manifest updates:

Component Types

Validating Squads

Basic Validation

Strict Mode (for CI/CD)

Treats warnings as errors.

Validation Checks

Validation Output

Publishing & Distribution

Level 1: Local (Private)

Squads in ./squads/ are automatically available to your project.

Level 2: aiox-squads Repository (Public)

This creates a PR to SynkraAI/aiox-squads.

Level 3: Synkra Marketplace

Downloading Squads

Using Squads

Activating Squad Agents

Squad Resolution

The Squad Loader resolves squads in this order:

Best Practices

Squad Design

  1. Keep squads focused - One domain per squad
  2. Define clear agents - Each agent has distinct responsibilities
  3. Create comprehensive tasks - Cover all common workflows
  4. Document thoroughly - Include README and examples

Squad Creation

  1. Start with design - Use *design-squad for better planning
  2. Validate early - Run *validate-squad frequently
  3. Test locally - Use squad before publishing
  4. Version semantically - Follow semver (x.y.z)

Squad Usage

  1. Check compatibility - Verify aiox.minVersion
  2. Review dependencies - Install required packages
  3. Read documentation - Check README.md
  4. Report issues - Help improve community squads

Troubleshooting

”Squad not found”

Validation Errors

YAML Parse Errors

Common issues:
  • Incorrect indentation (use 2 spaces)
  • Missing quotes around special characters
  • Tabs instead of spaces

FAQ

What’s the difference between a Squad and AIOX core?

Squads are domain-specific extensions. AIOX core is the framework for general software development.

Can I use Squads from different sources together?

Yes. The Squad Loader resolves from multiple sources. Local squads take precedence.

How do I update a published Squad?

  1. Update version in squad.yaml (semver)
  2. Run *validate-squad --strict
  3. Re-publish: *publish-squad or *sync-squad-synkra

Can Squads depend on other Squads?

Yes, declare in dependencies.squads:

How do I make a Squad private?

  • Level 1: Keep in ./squads/ (not committed) - add to .gitignore
  • Level 3: Sync with --private flag

Next Steps

  • Creating Squads - Step-by-step squad creation guide
  • Custom Workflows - Build workflows for your squad
  • Task Format Spec - Learn the task format specification
  • Publishing Guide - Share your squad with the community