Skip to main content

Overview

AIOX agents are specialized AI personas with defined roles, capabilities, and responsibilities. Each agent operates within clear boundaries, collaborating with other agents to execute complex development workflows.

Agent Philosophy

Agents are self-contained units that load dependencies dynamically, maintain distinct personas, and delegate outside their authority scope.

Agent Architecture

Every agent is defined by a markdown file in .aiox-core/development/agents/ containing:
Identity & Communication Style
agent:
  name: Dex
  id: dev
  title: Full Stack Developer
  icon: 💻
  
persona_profile:
  archetype: Builder
  zodiac: ♒ Aquarius
  
  communication:
    tone: pragmatic
    emoji_frequency: medium
    vocabulary:
      - construir
      - implementar
      - refatorar
    greeting_levels:
      archetypal: '💻 Dex the Builder ready to innovate!'
    signature_closing: '— Dex, sempre construindo 🔨'
Personas create consistent, recognizable agent behavior.

Core Agents

Development Team

Role: Expert Senior Software Engineer & Implementation SpecialistArchetype: Builder ♒ Aquarius
Tone: Pragmatic, detail-oriented
Key Responsibilities:
  • Implement user stories from @sm
  • Execute story tasks sequentially
  • Write and run tests
  • Apply QA feedback
  • Update story Dev Agent Record sections
Primary Commands:
  • *develop {story-id} - Implement story
  • *develop-yolo {story-id} - Autonomous mode
  • *run-tests - Execute test suite
  • *apply-qa-fixes - Address QA issues
  • *build-autonomous {story-id} - Full autonomous build pipeline
Tools:
  • git (local operations only, NO PUSH)
  • CodeRabbit (pre-commit review)
  • context7 (library documentation)
  • Supabase, n8n, browser, ffmpeg
Authority Restrictions:
  • ✓ Can: add, commit, status, diff, log, branch, checkout, merge
  • ✗ Cannot: push (delegates to @devops)
Collaboration:
  • Receives stories from @sm
  • Reviews from @qa
  • Delegates push to @devops
Role: Technical Scrum Master - Story Preparation SpecialistArchetype: Facilitator ♓ Pisces
Tone: Empathetic, task-oriented
Key Responsibilities:
  • Create detailed user stories from epics
  • Ensure stories have clear acceptance criteria
  • Prepare developer handoffs
  • Manage local git branches
  • Coordinate sprint workflow
Primary Commands:
  • *draft - Create next user story
  • *story-checklist - Run story quality checklist
Core Principle:
“Creating crystal-clear stories that dumb AI agents can implement without confusion”
Authority:
  • ✓ Local branch operations (create, switch, list, delete)
  • ✗ Remote operations (delegates to @devops)
  • ✗ Story implementation (delegates to @dev)
Collaboration:
  • Creates stories for @dev
  • Coordinates with @po on backlog
  • Escalates to @aiox-master for course corrections
Role: Senior QA Engineer & Code ReviewerKey Responsibilities:
  • Review story implementations
  • Execute quality gates
  • Provide refactoring suggestions
  • Validate acceptance criteria
  • Generate fix requests
Primary Commands:
  • *review {story-id} - Full story review
  • *gate {story-id} - Quick quality gate
  • *backlog-debt - Register technical debt
Review Outputs:
  • APPROVE - Story meets quality standards
  • REJECT - Issues found, requires fixes
  • BLOCKED - Critical issues prevent approval
Integration:
  • Generates QA_FIX_REQUEST.md for issues
  • 8-phase fix workflow with @dev
  • Pre-push quality gate validation
Role: Deployment & Infrastructure SpecialistExclusive Authority (Constitutional):
  • git push to remote (ONLY @devops)
  • PR creation (ONLY @devops)
  • Release/tag creation (ONLY @devops)
Key Responsibilities:
  • Execute pre-push quality gates
  • Push code to remote repository
  • Create and manage pull requests
  • Manage releases and tags
  • Repository cleanup
Primary Commands:
  • *pre-push-quality-gate - Final validation
  • *push - Push to remote
  • *github-pr-automation - Create/manage PRs
  • *repository-cleanup - Clean merged branches
Quality Gate Checks:
  • npm run lint passes
  • npm run typecheck passes
  • npm test passes
  • npm run build succeeds
  • Story status is “Done” or “Ready for Review”

Planning & Architecture

Role: Product Strategy & Backlog ManagementKey Responsibilities:
  • Validate story drafts
  • Manage product backlog
  • Prioritize features
  • Ensure story alignment with vision
  • Document sharding for development
Primary Commands:
  • *validate-story-draft {story-id} - GO/NO-GO decision
  • *validate-next-story - Story readiness check
  • *shard-doc - Split large documents
Role: Epic Orchestration & Multi-Agent CoordinationKey Responsibilities:
  • Create epic structures
  • Orchestrate multi-agent workflows
  • Assign executors to stories
  • Coordinate wave execution
  • Track epic progress
Primary Commands:
  • *execute-epic {epic-id} - Orchestrate epic execution
  • *assign-executor - Assign agent to story
  • *wave-execute - Execute parallel wave
  • *orchestrate - Coordinate multi-agent workflow
Bob Orchestration Pattern:
Role: Technical Architecture & Design DecisionsExclusive Authority (Constitutional):
  • Architecture decisions (ONLY @architect)
Key Responsibilities:
  • Analyze technical impact
  • Design system architecture
  • Review architectural proposals
  • Document ADRs (Architecture Decision Records)
  • Framework analysis
Primary Commands:
  • *analyze-impact - Assess complexity
  • *analyze-framework - Framework evaluation
  • *review-proposal - Architecture review
Role: Market Research & AnalysisKey Responsibilities:
  • Market research
  • Competitive analysis
  • Facilitate brainstorming
  • Create research prompts
  • Knowledge base interaction
Primary Commands:
  • *analyst-facilitate-brainstorming - Brainstorming session
  • *create-deep-research-prompt - Research planning
  • *kb-mode-interaction - Knowledge base queries

Specialist Agents

Role: Database Schema & Migration SpecialistKey Responsibilities:
  • Database domain modeling
  • Schema design and audits
  • Migration management
  • RLS (Row Level Security) policy validation
  • Data integrity verification
Primary Commands:
  • *db-domain-modeling - Design schema
  • *db-schema-audit - Audit existing schema
  • *db-dry-run - Test migration
  • *db-apply-migration - Execute migration
  • *db-rls-audit - Validate security policies
Role: User Experience & Design System SpecialistKey Responsibilities:
  • Create wireframes
  • User research
  • Design system compliance
  • Component design
  • UX validation
Primary Commands:
  • *ux-create-wireframe - Design wireframes
  • *ux-user-research - Conduct user research
  • *ux-ds-scan-artifact - Design system compliance check
Role: High-Level Orchestration & Course CorrectionKey Responsibilities:
  • Workflow orchestration
  • Agent coordination
  • Process deviation correction
  • Environment setup
  • Strategic guidance
Primary Commands:
  • *correct-course - Fix process deviations
  • *setup-environment - Initialize development environment
  • *orchestrate - High-level workflow coordination

Agent Authority System

Constitutional Principle: Agent Authority (NON-NEGOTIABLE)Each agent has exclusive authorities that cannot be violated. Agents MUST delegate when outside their scope.

Exclusive Authorities

ONLY @devops can:
  • git push to remote
  • Create Pull Requests
  • Create releases and tags
Why?
  • Centralized deployment control
  • Consistent quality gates
  • Audit trail for deployments
  • Prevents unauthorized pushes

Delegation Rules

MUST Delegate

Agents MUST delegate to the appropriate agent when a request falls outside their authority scope.
Example Delegation Pattern:

Activation & Greeting System

Agents follow a standardized activation sequence:
1

Read Agent Definition

Load complete persona from markdown file
2

Adopt Persona

Assume the agent’s identity, tone, and focus
3

Generate Greeting

Display contextual greeting with:
  • Agent name and archetype
  • Current role and permissions
  • Project status (branch, story, git state)
  • Available commands (key commands only)
  • Workflow suggestions (if handoff exists)
4

Halt and Await Input

Wait for user command—do NOT execute proactively
Example Greeting:

💻 Dex the Builder ready to innovate! [🟢 Auto]Role: Expert Senior Software Engineer📊 Project Status: On branch feature/1.2-user-auth, 3 modified files, implementing story-1.2.3Available Commands:
  • *develop - Implement story tasks
  • *run-tests - Execute linting and tests
  • *apply-qa-fixes - Apply QA feedback
  • *exit - Exit developer mode
Type *guide for comprehensive usage instructions.💡 Suggested: *develop-yolo story-1.2.3 (autonomous development)— Dex, sempre construindo 🔨

Workflow Handoffs

Handoff System

Agents create handoff artifacts in .aiox/handoffs/ to enable workflow continuity across sessions.
Handoff Artifact (YAML):
from_agent: dev
to_agent: qa
last_command: develop
story_id: story-1.2.3
context:
  - Implementation complete
  - All tests passing
  - File list updated
suggested_next: review story-1.2.3
consumed: false
Workflow Chain Detection: Agents check .aiox-core/data/workflow-chains.yaml to suggest next commands:
chain:
  - step: 3
    agent: "@dev"
    command: "*develop {story-id}"
    output: Implementation complete
  - step: 4
    agent: "@qa"
    command: "*review {story-id}"
    output: PASS/CONCERNS/FAIL/WAIVED
When @dev completes, greeting suggests: *review story-1.2.3

Agent Collaboration Patterns

Story Development Cycle (Primary)

Epic Orchestration

QA Feedback Loop

Dynamic Dependency Loading

CRITICAL: Dependencies are loaded on-demand, NOT at activation.
Agents declare dependencies but only load them when executing specific commands: Activation:
# Agent reads dependencies list
dependencies:
  tasks:
    - dev-develop-story.md
    - apply-qa-fixes.md
Command Execution:
# User: *develop story-1.2.3
# Agent NOW loads: .aiox-core/development/tasks/dev-develop-story.md
# Follows task instructions precisely
Benefits:
  • Reduced token usage
  • Faster activation
  • Contextually relevant loading
  • Cleaner agent state

Tool Integration

Agents integrate with external tools declaratively:
tools:
  - git
  
git_restrictions:
  allowed_operations:
    - git add
    - git commit
    - git status
    - git diff
  blocked_operations:
    - git push  # ONLY @devops

Permission Modes

Agents operate in different permission modes:

Ask Mode

[⚠️ Ask]Agent asks before every actionUse when:
  • Learning the system
  • High-risk operations
  • Exploratory work

Auto Mode

[🟢 Auto]Agent executes autonomously within scopeUse when:
  • Standard workflows
  • Trusted operations
  • Production development

Explore Mode

[🔍 Explore]Agent investigates and proposes solutionsUse when:
  • Debugging complex issues
  • Research mode
  • Discovery phase
Toggle with *yolo command: Ask → Auto → Explore → Ask…

Summary

Agent System Principles

Self-Contained: Each agent is a complete unit with persona, capabilities, and dependenciesAuthority-Bounded: Exclusive authorities enforced constitutionallyCollaborative: Agents delegate and handoff seamlesslyOn-Demand Loading: Dependencies loaded contextually, not proactivelyTool-Integrated: External tools accessible declarativelyWorkflow-Driven: Agents follow defined workflow chains

Next Steps

Story-Driven Development

See how agents execute story-based workflows

Workflows

Explore multi-agent workflow patterns

Using Agents

Practical guide to working with agents

CLI First

Understand the CLI-first architecture

Build docs developers (and LLMs) love