Skip to content

Latest commit

 

History

History
733 lines (523 loc) · 28 KB

File metadata and controls

733 lines (523 loc) · 28 KB

AIOX Squad: Artificial Intelligence Orchestration eXperience

🌍 English | Português

NPM Version License: MIT Node.js Version CI codecov Documentation Open Source Contributions Welcome Code of Conduct

Giving people back the power to create — Open source AI orchestration framework that gives control back to those who dare to build. Specialized agents, workflows, and CLI First experience for any domain.

Start Here (10 Min)

If this is your first time with AIOX, follow this linear path:

  1. Install in a new or existing project:
# new project
npx aiox-core init my-project

# existing project
cd your-project
npx aiox-core install
  1. Choose your IDE/CLI and the activation path:
  • Claude Code: /agent-name
  • Gemini CLI: /aiox-menu/aiox-<agent>
  • Codex CLI: /skillsaiox-<agent-id>
  • Cursor/Copilot/AntiGravity: follow the limits and workarounds in docs/ide-integration.md
  1. Activate 1 agent and confirm the greeting.
  2. Run 1 initial command (*help or equivalent) to validate first-value.

First-value definition (binary): agent activation + valid greeting + initial command with useful output in <= 10 minutes.

IDE Hook Compatibility (AIOX 4.2 Reality)

Many advanced AIOX features depend on lifecycle events (hooks). The table below shows the actual parity between IDEs/platforms:

IDE/CLI Hook Parity vs Claude Practical Impact
Claude Code Complete (reference) Maximum context automation, guardrails, and auditing
Gemini CLI High (native events) Strong coverage of pre/post tool and session automations
Codex CLI Partial/limited Some automations depend on AGENTS.md, /skills, MCP, and operational flow
Cursor No equivalent lifecycle hooks Less pre/post tool automation; focus on rules, MCP, and agent flow
GitHub Copilot No equivalent lifecycle hooks Less session/tooling automation; focus on repository instructions + MCP in VS Code
AntiGravity Workflow-based (not hook-based) Integration via workflows, not via hook events equivalent to Claude

Detailed impacts and mitigation: docs/ide-integration.md.

Overview

Architectural Premise: CLI First

AIOX follows a clear priority hierarchy:

CLI First → Observability Second → UI Third
Layer Priority Focus Examples
CLI Highest Where the intelligence lives. All execution, decisions, and automation happen here. Agents (@dev, @qa), workflows, commands
Observability Secondary Observe and monitor what happens in the CLI in real time. SSE Dashboard, logs, metrics, timeline
UI Tertiary Ad-hoc management and visualizations when needed. Kanban, settings, story management

Derived principles:

  • The CLI is the source of truth - dashboards only observe
  • New features must work 100% via CLI before having a UI
  • The UI should never be a requirement for system operation
  • Observability serves to understand what the CLI is doing, not to control it

The Two Key Innovations of AIOX:

1. Agentic Planning: Dedicated agents (analyst, pm, architect) collaborate with you to create detailed, consistent PRD and Architecture documents. Through advanced prompt engineering and human-in-the-loop refinement, these planning agents produce comprehensive specifications that go far beyond generic AI task generation.

2. Engineering-Contextualized Development: The sm (Scrum Master) agent then transforms these detailed plans into hyper-detailed development stories that contain everything the dev agent needs - complete context, implementation details, and architectural guidance embedded directly in the story files.

This two-phase approach eliminates both planning inconsistency and context loss - the biggest problems in AI-assisted development. Your dev agent opens a story file with full understanding of what to build, how to build it, and why.

📖 See the complete workflow in the User Guide - Planning phase, development cycle, and all agent roles

Prerequisites

  • Node.js >=18.0.0 (v20+ recommended)
  • npm >=9.0.0
  • GitHub CLI (optional, required for team collaboration)

Installation issues? See the Troubleshooting Guide

Platform-specific guides:

Multilingual documentation available: Português | Español

Quick Navigation

Understanding the AIOX Workflow

Before diving in, review these critical workflow diagrams that explain how AIOX works:

  1. Planning Workflow (Web Interface) - How to create PRD and Architecture documents
  2. Core Development Cycle (IDE) - How the sm, dev, and qa agents collaborate through story files

⚠️ These diagrams explain 90% of the confusion about the AIOX Agentic Agile workflow - Understanding PRD+Architecture creation and the sm/dev/qa workflow and how agents pass notes through story files is essential - and it also explains why this is NOT taskmaster or just a simple task runner!

What would you like to do?

Important: Keep Your AIOX Installation Updated

Stay up to date effortlessly! To update your existing AIOX installation:

npx aiox-core@latest install

This will:

  • ✅ Automatically detect your existing installation
  • ✅ Update only the files that have changed
  • ✅ Create .bak backup files for any custom modifications
  • ✅ Preserve your project-specific settings

This makes it easy to benefit from the latest improvements, bug fixes, and new agents without losing your customizations!

Quick Start

🚀 Installation via NPX (Recommended)

Install AIOX with a single command:

# Create a new project with modern interactive wizard
npx aiox-core init my-project

# Or install in an existing project
cd your-project
npx aiox-core install

# Or use a specific version
npx aiox-core@latest init my-project

✨ Modern Installation Wizard

AIOX now includes a cutting-edge interactive installation experience, inspired by modern tools like Vite and Next.js:

Interactive Installer Features:

  • 🎨 Modern Interface: Colorful and visual prompts with @clack/prompts
  • Real-Time Validation: Instant feedback on invalid inputs
  • 🔄 Progress Indicators: Spinners for long operations (file copying, dependency installation)
  • 📦 Multi-Component Selection: Choose which components to install with an intuitive interface
  • ⚙️ Package Manager Choice: Select between npm, yarn, or pnpm
  • ⌨️ Cancellation Support: Ctrl+C or ESC to exit gracefully at any time
  • 📊 Installation Summary: View all settings before proceeding
  • ⏱️ Duration Tracking: See how long the installation took

The installer offers:

  • ✅ Download of the latest version from NPM
  • ✅ Modern interactive installation wizard
  • ✅ Automatic IDE configuration (Codex CLI, Cursor, or Claude Code)
  • ✅ Configuration of all AIOX agents and workflows
  • ✅ Creation of necessary configuration files
  • ✅ Meta-agent system initialization
  • ✅ System health checks
  • Cross-Platform Support: Tested on Windows, macOS, and Linux

That's it! No cloning, no manual configuration - just one command and you're ready to go with a modern, professional installation experience.

Prerequisites: Node.js v18+ required (v20+ recommended) | Troubleshooting

Updating an Existing Installation

If you already have AIOX installed:

npx aiox-core@latest install
# The installer will detect your existing installation and update it

Configure Your IDE for AIOX Development

AIOX includes pre-configured IDE rules to enhance your development experience:

For Cursor:

  1. Open Cursor settings
  2. Navigate to User Rules
  3. Copy the contents of .cursor/global-rules.md
  4. Paste in the rules section and save

For Claude Code:

  • ✅ Already configured! The .claude/CLAUDE.md file is loaded automatically
  • Dedicated agent sync: npm run sync:ide:claude
  • Dedicated validation: npm run validate:claude-sync && npm run validate:claude-integration

For Codex CLI:

  • ✅ First-class integration in AIOX 4.2 (shared activation and greeting pipeline)
  • ✅ Already configured! The AGENTS.md file at the root is loaded automatically
  • Optional: sync auxiliary agents with npm run sync:ide:codex
  • Recommended in this repository: generate and version local skills with npm run sync:skills:codex
  • Use npm run sync:skills:codex:global only outside this project (to avoid duplication in /skills)
  • Dedicated validation: npm run validate:codex-sync && npm run validate:codex-integration
  • Skills/paths guardrails: npm run validate:codex-skills && npm run validate:paths

For Gemini CLI:

  • ✅ Rules and agents syncable with npm run sync:ide:gemini
  • Generated files in .gemini/rules.md, .gemini/rules/AIOX/agents/, and .gemini/commands/*.toml
  • ✅ Local hooks and settings in the installation flow (.gemini/hooks/ + .gemini/settings.json)
  • ✅ Quick activation via slash commands (/aiox-menu, /aiox-dev, /aiox-architect, etc.)
  • Dedicated validation: npm run validate:gemini-sync && npm run validate:gemini-integration
  • Multi-IDE parity in one command: npm run validate:parity

These rules provide:

  • 🤖 Agent command recognition and integration
  • 📋 Story-driven development workflow
  • ✅ Automatic checkbox tracking
  • 🧪 Testing and validation patterns
  • 📝 AIOX-specific code patterns

Fastest Start with Web Interface (2 minutes)

  1. Install AIOX: Run npx aiox-core init my-project
  2. Configure your IDE: Follow the setup instructions for Codex CLI, Cursor, or Claude Code
  3. Start Planning: Activate an agent like @analyst to begin creating your briefing
  4. Use AIOX commands: Type *help to see available commands
  5. Follow the flow: See the User Guide for more details

CLI Command Reference

AIOX offers a modern, cross-platform CLI with intuitive commands:

# Project Management (with interactive wizard)
npx aiox-core init <project-name> [options]
  --force              Force creation in non-empty directory
  --skip-install       Skip npm dependency installation
  --template <name>    Use specific template (default, minimal, enterprise)

# Installation and Configuration (with modern prompts)
npx aiox-core install [options]
  --force              Overwrite existing configuration
  --quiet              Minimal output during installation
  --dry-run            Simulate installation without modifying files

# System Commands
npx aiox-core --version   Display installed version
npx aiox-core --help      Display detailed help
npx aiox-core info        Display system information
npx aiox-core doctor      Run system diagnostics
npx aiox-core doctor --fix Automatically fix detected issues

# Maintenance
npx aiox-core update      Update to latest version
npx aiox-core uninstall   Remove AIOX

CLI Features:

  • Comprehensive Help System: --help on any command shows detailed documentation
  • Input Validation: Immediate feedback on invalid parameters
  • Colored Messages: Errors in red, successes in green, warnings in yellow
  • Cross-Platform: Works seamlessly on Windows, macOS, and Linux
  • Dry-Run Support: Test installations without modifying files

💡 Usage Examples

Full Interactive Installation

$ npx aiox-core install

🚀 AIOX Installation

◆ What is your project name?
│  my-awesome-project
│
◇ Which directory should we use?
│  ./my-awesome-project
│
◆ Choose components to install:
│  ● Core Framework (Required)
│  ● Agent System (Required)
│  ● Squads (optional)
│  ○ Example Projects (optional)
│
◇ Select package manager:
│  ● npm
│  ○ yarn
│  ○ pnpm
│
◆ Initialize Git repository?
│  Yes
│
◆ Install dependencies?
│  Yes
│
▸ Creating project directory...
▸ Copying framework files...
▸ Initializing Git repository...
▸ Installing dependencies (this may take a minute)...
▸ Configuring environment...
▸ Running post-installation setup...

✔ Installation completed successfully! (34.2s)

Next steps:
  cd my-awesome-project
  aiox-core doctor     # Verify installation
  aiox-core --help     # See available commands

Silent Installation (CI/CD)

# Automated installation without prompts
$ npx aiox-core install --quiet --force
✔ AIOX installed successfully

Installation Simulation (Dry-Run)

# Test installation without modifying files
$ npx aiox-core install --dry-run

[DRY RUN] Would create: ./my-project/
[DRY RUN] Would copy: .aiox-core/ (45 files)
[DRY RUN] Would initialize: Git repository
[DRY RUN] Would install: npm dependencies
✔ Dry run completed - no files were modified

System Diagnostics

$ npx aiox-core doctor

🏥 AIOX System Diagnostics

✔ Node.js version: v20.10.0 (meets requirement: >=18.0.0)
✔ npm version: 10.2.3
✔ Git installed: version 2.43.0
✔ GitHub CLI: gh 2.40.1
✔ AIOX: v4.2.11

Configuration:
✔ .aiox-core/ directory exists
✔ Agent files: 11 found
✔ Workflow files: 8 found
✔ Templates: 15 found

Dependencies:
✔ @clack/prompts: ^0.7.0
✔ commander: ^12.0.0
✔ execa: ^9.0.0
✔ fs-extra: ^11.0.0
✔ picocolors: ^1.0.0

✅ All checks passed! Your installation is healthy.

Get Help

$ npx aiox-core --help

Usage: aiox-core [options] [command]

AIOX: AI-Orchestrated System for Full Stack Development

Options:
  -V, --version                output the version number
  -h, --help                   display help for command

Commands:
  init <project-name>          Create new AIOX project with interactive wizard
  install [options]            Install AIOX in current directory
  info                         Display system information
  doctor [options]             Run system diagnostics and health checks
  help [command]               display help for command

Run 'aiox-core <command> --help' for detailed information about each command.

Alternative: Clone and Build

For contributors or advanced users who want to modify the source code:

# Clone the repository
git clone https://github.com/SynkraAI/aiox-core.git
cd aiox-core

# Install dependencies
npm install

# Run the installer
npm run install:aiox

Quick Team Setup

For team members joining the project:

# Install AIOX in the project
npx aiox-core@latest install

# This will:
# 1. Detect existing installation (if any)
# 2. Install/update AIOX framework
# 3. Configure agents and workflows

🌟 Beyond Software Development - Squads

The AIOX natural language framework works in ANY domain. Squads provide specialized AI agents for creative writing, business strategy, health and wellness, education, and more. Additionally, Squads can expand the AIOX core with domain-specific functionality that isn't generic for all use cases. See the Squads Guide and learn to create your own!

Available Agents

AIOX comes with 12 specialized agents:

Meta Agents

  • aiox-master - Master orchestration agent (includes framework development capabilities)
  • aiox-orchestrator - Workflow orchestrator and team coordination

Planning Agents (Web Interface)

  • analyst - Business analysis specialist and PRD creation
  • pm (Product Manager) - Product manager and prioritization
  • architect - System architect and technical design
  • ux-expert - User experience design and usability

Development Agents (IDE)

  • sm (Scrum Master) - Sprint management and story creation
  • dev - Developer and implementation
  • qa - Quality assurance and testing
  • po (Product Owner) - Backlog and story management
  • data-engineer - Database design and data modeling
  • devops - CI/CD, infrastructure, and git operations (exclusive push authority)

Documentation and Resources

Essential Guides

  • 📖 User Guide - Complete walkthrough from conception to project completion
  • 🏗️ Core Architecture - Deep technical dive and system design
  • 🚀 Squads Guide - Extend AIOX to any domain beyond software development

Additional Documentation

🤖 AIOX Autonomous Development Engine (ADE)

AIOX introduces the Autonomous Development Engine (ADE) - a complete system for autonomous development that transforms requirements into working code.

🎯 What is ADE?

ADE is a set of 7 Epics that enable autonomous development execution:

Epic Name Description
1 Worktree Manager Branch isolation via Git worktrees
2 Migration V2→V3 Migration to autoClaude V3 format
3 Spec Pipeline Transforms requirements into executable specs
4 Execution Engine Executes specs with 13 steps + self-critique
5 Recovery System Automatic failure recovery
6 QA Evolution Structured review in 10 phases
7 Memory Layer Persistent memory of patterns and insights

🔄 Main Flow

User Request → Spec Pipeline → Execution Engine → QA Review → Working Code
                                      ↓
                              Recovery System
                                      ↓
                               Memory Layer

⚡ Quick Start ADE

# 1. Create spec from requirement
@pm *gather-requirements
@architect *assess-complexity
@analyst *research-deps
@pm *write-spec
@qa *critique-spec

# 2. Execute approved spec
@architect *create-plan
@architect *create-context
@dev *execute-subtask 1.1

# 3. QA Review
@qa *review-build STORY-42

📖 ADE Documentation

🆕 New Commands per Agent

@devops:

  • *create-worktree, *list-worktrees, *merge-worktree, *cleanup-worktrees
  • *inventory-assets, *analyze-paths, *migrate-agent, *migrate-batch

@pm:

  • *gather-requirements, *write-spec

@architect:

  • *assess-complexity, *create-plan, *create-context, *map-codebase

@analyst:

  • *research-deps, *extract-patterns

@qa:

  • *critique-spec, *review-build, *request-fix, *verify-fix

@dev:

  • *execute-subtask, *track-attempt, *rollback, *capture-insights, *list-gotchas, *apply-qa-fix

Creating Your Own Squad

Squads allow you to extend AIOX to any domain. Basic structure:

squads/your-squad/
├── config.yaml           # Squad configuration
├── agents/              # Specialized agents
├── tasks/               # Task workflows
├── templates/           # Document templates
├── checklists/          # Validation checklists
├── data/                # Knowledge base
├── README.md            # Squad documentation
└── user-guide.md        # User guide

See the Squads Guide for detailed instructions.

Available Squads

Squads are modular AI agent teams. See the Squads Overview for more information.

External Squads

  • hybrid-ops - Human-agent hybrid operations (separate repository)

AIOX Pro

AIOX Pro (@aiox-fullstack/pro) is the premium module of AIOX, offering advanced features for teams and larger-scale projects.

Restricted availability: AIOX Pro is available exclusively to members of the AIOX Cohort Advanced. Learn more about the program.

Installation

npm install @aiox-fullstack/pro

Premium Features

  • Advanced Squads - Specialized squads with expanded capabilities
  • Memory Layer - Persistent memory of patterns and insights across sessions
  • Metrics & Analytics - Productivity dashboard and development metrics
  • Enterprise Integrations - Connectors for Jira, Linear, Notion, and more
  • Layered Configuration - L1-L4 configuration system with inheritance
  • Licensing - License management via aiox pro activate --key <KEY>

For more information, run npx aiox-core pro --help after installation.

Support

Git Workflow and Validation

AIOX implements a multi-layer validation system to ensure code quality and consistency:

🛡️ Defense in Depth - 3 Validation Layers

Layer 1: Pre-commit (Local - Fast)

  • ✅ ESLint - Code quality
  • ✅ TypeScript - Type checking
  • ⚡ Performance: <5s
  • 💾 Cache enabled

Layer 2: Pre-push (Local - Story Validation)

  • ✅ Story checkbox validation
  • ✅ Status consistency
  • ✅ Required sections

Layer 3: CI/CD (Cloud - Required for merge)

  • ✅ All tests
  • ✅ Test coverage (80% minimum)
  • ✅ Complete validations
  • ✅ GitHub Actions

📖 Detailed Documentation

Available Commands

# Local validations
npm run lint           # ESLint
npm run typecheck      # TypeScript
npm test              # Tests
npm run test:coverage # Tests with coverage

# AIOX Validator
node .aiox-core/utils/aiox-validator.js pre-commit   # Pre-commit validation
node .aiox-core/utils/aiox-validator.js pre-push     # Pre-push validation
node .aiox-core/utils/aiox-validator.js stories      # Validate all stories

Branch Protection

Configure master branch protection with:

node scripts/setup-branch-protection.js

Requires:

  • GitHub CLI (gh) installed and authenticated
  • Admin access to the repository

Contributing

We're excited about contributions and welcome your ideas, improvements, and Squads! 🎉

To contribute:

  1. Fork the repository
  2. Create a branch for your feature (git checkout -b feature/MyNewFeature)
  3. Commit your changes (git commit -m 'feat: Add new feature')
  4. Push to the branch (git push origin feature/MyNewFeature)
  5. Open a Pull Request

See also:

📄 Legal

Document English Português
License MIT License -
License Model Core vs Pro -
Privacy Privacy Policy -
Terms of Use Terms of Use -
Code of Conduct Code of Conduct PT-BR
Contributing Contributing PT-BR
Security Security PT-BR
Community Community PT-BR
Roadmap Roadmap PT-BR
Changelog Version History -

Contributors

Contributors

Built with ❤️ for the AI-assisted development community


⬆ Back to top