CW

Crew

Team Organization CrewAI-inspired

Organizes agents into hierarchical teams with explicit roles (Manager, Specialist, Validator) and defined cooperation patterns for complex projects.

Overview

The Crew Agent implements role-based team organization inspired by CrewAI's orchestration model. It structures agents into functional crews with:

Crew Hierarchy

                    ┌─────────────┐
                    │  CONDUCTOR  │
                    │  (Executive)│
                    └──────┬──────┘
                           │
           ┌───────────────┼───────────────┐
           │               │               │
           ▼               ▼               ▼
    ┌─────────────┐ ┌─────────────┐ ┌─────────────┐
    │   DESIGN    │ │    DEV      │ │   QUALITY   │
    │    CREW     │ │   CREW      │ │    CREW     │
    └──────┬──────┘ └──────┬──────┘ └──────┬──────┘
           │               │               │
     ┌─────┴─────┐   ┌─────┴─────┐   ┌─────┴─────┐
     ▼           ▼   ▼           ▼   ▼           ▼
  architect  frontend auto-code refactor qa-guy  ciso

Role Definitions

RoleResponsibilitiesAgents
ExecutiveOverall orchestration, cross-team coordination, strategic decisionsconductor
ManagerTeam coordination, task breakdown, progress monitoringarchitect, pm, critic
SpecialistExecute tasks, apply expertise, produce deliverablesauto-code, frontend-designer, refactor
ValidatorReview deliverables, run verifications, approve/rejectqa-guy, ciso, code-reviewer
ResearcherGather requirements, analyze options, provide recommendationsresearch, analyze-codebase

Crew Definitions

Design Crew

Manager: architect | Members: frontend-designer, analyze-codebase | Validator: critic

Purpose: Architecture and specification. Researches patterns, creates specs, designs UI, reviews designs.

Development Crew

Manager: pm | Members: auto-code, refactor, bug-find | Validator: code-reviewer

Purpose: Code implementation. Receives specs, implements features, debugs, reviews code.

Quality Crew

Manager: critic | Members: qa-guy, ciso

Purpose: Testing and security. Receives implementation, runs tests, security review, reports issues.

Commands

/crew list

/crew list

Available Crews:
| Crew          | Manager   | Members | Validators | Status |
|---------------|-----------|---------|------------|--------|
| design        | architect | 2       | 1          | idle   |
| development   | pm        | 3       | 1          | active |
| quality       | critic    | 2       | 0          | idle   |
| documentation | doc-gen   | 2       | 1          | idle   |

/crew assign

/crew assign development "Implement user registration"

Task Assigned to Development Crew
Manager: pm

Breakdown:
1. Create registration endpoint → auto-code
2. Add input validation → auto-code
3. Implement email verification → auto-code
4. Write unit tests → auto-code
5. Code review → code-reviewer

Track progress: /crew status development

Cross-Crew Handoffs

handoffs:
  design -> development:
    artifact: specification
    approval_required: true

  development -> quality:
    artifact: implementation
    approval_required: false

  quality -> documentation:
    artifact: tested_code
    approval_required: true