Skip to main content

What are Squads?

Squads are modular teams of AI agents that extend AIOX functionality to any domain. Each squad is a self-contained package with specialized agents, workflows, and tools.
The AIOX framework works in any domain through natural language. Squads package domain expertise into reusable agent teams.

Squad Architecture

A squad is a complete package containing:

Agents

Domain-specific AI personas with specialized knowledge

Tasks

Executable workflows following TASK-FORMAT-SPEC-V1

Workflows

Multi-step orchestrations linking tasks together

Config

Coding standards, tech stack, directory structure

Templates

Document generation templates for common outputs

Tools

Custom integrations and utilities

Directory Structure

Squad Manifest

Every squad has a squad.yaml manifest file:

Task-First Architecture

Squads follow a task-first architecture where tasks are the primary entry point: Tasks must follow TASK-FORMAT-SPECIFICATION-V1.

Creating Squads

Quick Start

1

Activate Squad Creator

2

Create Squad

3

Validate

Available Templates

The Squad Designer analyzes your documentation and recommends agents and tasks:
1

Design from Documentation

2

Review Recommendations

The system analyzes your docs and suggests:
  • Agents (with confidence scores)
  • Tasks (linked to agents)
  • Workflows (multi-step processes)
3

Create from Blueprint

Blueprint Format

Analyzing & Extending Squads

Analyze Squad Structure

Analysis Output:

Extend Existing Squad

Component Types

Configuration Inheritance

Squads can inherit or override core AIOX configuration:

Inheritance Modes

Add squad rules to core AIOX rules
  • Core rules remain active
  • Squad rules supplement
  • Best for specialized extensions

Validating Squads

Basic Validation

Strict Mode (CI/CD)

Treats warnings as errors.

Validation Checks

Validates squad.yaml against JSON Schema:
  • Required fields present
  • Valid semver version
  • Correct AIOX type
Ensures required folders exist:
  • agents/
  • tasks/
  • Config files referenced in manifest
Verifies tasks follow TASK-FORMAT-SPEC-V1:
  • Required sections present
  • Valid YAML frontmatter
  • Agent linkage correct
Checks agents have required fields:
  • Name, role, commands
  • Valid persona structure
  • No circular dependencies

Squad Distribution

Squads can be distributed at three levels:

Level 1: Local (Private)

Squads in ./squads/ are automatically available:

Level 2: GitHub (Public)

Publish to the community:
Creates a PR to SynkraAI/aiox-squads.

Level 3: Marketplace

Sync to Synkra API:

Downloading Squads

Official Squads

Migration from Legacy

Migrate old squad formats to the new standard:
1

Detect Legacy Format

Legacy squads use config.yaml instead of squad.yaml
2

Preview Migration

3

Execute Migration

Automatic backup created in .backup/pre-migration-{timestamp}/
4

Validate Result

Rollback

Programmatic Usage

JavaScript API

Use Cases Beyond Development

Creative Writing

Agents for plot development, character design, world-building

Business Strategy

Market analysis, competitor research, strategic planning

Education

Curriculum design, lesson planning, assessment creation

Healthcare

Patient care workflows, medical documentation, research

Legal

Contract analysis, case research, document drafting

Entertainment

Casting coordination, production planning, script analysis

Best Practices

Let the system analyze your documentation and recommend structure:
Define what users want to accomplish (tasks) before creating agents.
Run after every significant change.
Follow semantic versioning:
  • MAJOR: Breaking changes
  • MINOR: New features
  • PATCH: Bug fixes
Include comprehensive README with:
  • Purpose and use cases
  • Installation instructions
  • Example workflows
  • Troubleshooting

Troubleshooting

Common fixes:
  • name: Must be kebab-case
  • version: Must be semver (x.y.z)
  • aiox.type: Must be “squad”
  • aiox.minVersion: Must be valid semver
Common issues:
  • Incorrect indentation (use 2 spaces)
  • Missing quotes around special characters
  • Tabs instead of spaces

Custom Agents

Learn to create custom agent definitions

ADE System

Integrate ADE capabilities into squads

IDE Integration

Set up squads in your IDE

Agent Commands

Full @squad-creator command reference