Set Up Parallel AI Agent Orchestration in 5 Minutes
Install, plan your first epic, and dispatch parallel agents.
Prerequisites
Claude Code CLI
The AI coding assistant that powers SPOQ — installed in Step 1 below
Claude Account
A Claude account with an active subscription for Claude Code access
Git Repository
SPOQ operates within Git repositories for version control and change tracking
Installation
Download and install the Claude Code command-line interface.
curl -fsSL https://claude.ai/install.sh | bashPull down the repository so you have access to the bootstrap scripts and templates.
git clone https://gitlab.com/kenth56/spoq.git && cd spoqInitialize your project with SPOQ skills, documentation, and templates. See flag options below.
./scripts/spoq-init.sh --target /path/to/project --standardFlag Options
| Flag | Description |
|---|---|
--full | Skills, documentation, and example epic |
--standarddefault | Skills and documentation |
--minimal | Skills only |
Download and install the Claude Code command-line interface.
curl -fsSL https://claude.ai/install.sh | bashPull down the repository so you have access to the bootstrap scripts and templates.
git clone https://gitlab.com/kenth56/spoq.git && cd spoqUpdate an existing SPOQ installation to the latest skill definitions and templates without overwriting custom configuration.
./scripts/spoq-init.sh --upgrade --target /path/to/projectYour First Epic
SPOQ follows a four-stage pipeline. Here's how it works:
Plan
Decompose a high-level goal into atomic tasks with explicit dependencies, effort estimates, and acceptance criteria. SPOQ builds a directed acyclic graph (DAG) for parallel dispatch.
/epic-planning "Add config validation to CLI"Epic: config-validator
Tasks: 6 atomic units identified
Dependencies: 4 edges in task DAG
Waves: 3 parallel execution waves
Wave 1: [T01] Define schema types, [T02] Create validation utils
Wave 2: [T03] Build CLI parser, [T04] Add error formatters
Wave 3: [T05] Integration tests, [T06] Documentation
Output: spoq/epics/config-validator/epic.yamlValidate
Score the epic against 10 planning quality metrics. Both the average (>=95) and per-metric minimum (>=90) thresholds must pass before execution begins.
/epic-validation @spoq/epics/config-validatorPlanning Validation Results
─────────────────────────────
Vision Clarity 98/100
Architecture Qual. 96/100
Task Decomposition 97/100
Dependency Graph 95/100
Coverage Complete. 96/100
Phase Ordering 94/100
Scope Coherence 92/100
Success Criteria 95/100
Risk Identification 97/100
Integration Strat. 93/100
─────────────────────────────
Average: 95.3 Minimum: 92
Result: PASSExecute
Dispatch agent swarms across computed waves. Worker agents (Opus) execute tasks in parallel within each wave, respecting dependency ordering between waves.
/agent-execution @spoq/epics/config-validatorAgent Execution Started
═══════════════════════════════
Wave 1/3 - Dispatching 2 agents
[T01] Worker-A: Define schema types .... DONE (2m 14s)
[T02] Worker-B: Create validation utils DONE (3m 08s)
Wave 2/3 - Dispatching 2 agents
[T03] Worker-A: Build CLI parser ........ DONE (4m 22s)
[T04] Worker-B: Add error formatters .... DONE (2m 47s)
Wave 3/3 - Dispatching 2 agents
[T05] Worker-A: Integration tests ....... DONE (3m 55s)
[T06] Worker-B: Documentation ........... DONE (1m 33s)
All 6 tasks completed in 3 waves
Total wall-clock time: 11m 09s
Sequential estimate: ~58m
Speedup: 5.2xVerify
Score delivered code against 10 quality metrics. The average must reach 95 and no individual metric may fall below 80. Failed validations trigger targeted rework.
/agent-validationCode Validation Results
─────────────────────────────
Syntactic Correct. 98/100
Test Existence 96/100
Test Pass Rate 97/100
Requirements Fidel. 94/100
SOLID Adherence 92/100
Security 96/100
Error Handling 95/100
Scalability 97/100
Code Clarity 96/100
Completeness 98/100
─────────────────────────────
Average: 95.9 Minimum: 92
Result: PASS
All tasks validated. Epic complete.Ready for Persona-Specialized Teams?
You've seen how /agent-execution dispatches parallel swarms. Agent Teams takes it further with persona-specialized workers, inter-agent messaging, and proactive conflict detection.
Command Reference
| Command | Description | Example |
|---|---|---|
/epic-planning | Decompose goals into structured epics with atomic tasks, dependency graphs, and parallel execution waves | /epic-planning "Implement user authentication system" |
/epic-validation | Score epic quality against 10 planning metrics with 95 average and 90 per-metric thresholds | /epic-validation @spoq/epics/auth-system |
/agent-execution | Execute tasks with parallel agent swarms across topologically computed waves | /agent-execution @spoq/epics/auth-system |
/agent-validation | Score delivered code against 10 quality metrics with 95 average and 80 per-metric thresholds | /agent-validation |
/team-execution | Deploy persona-specialized agent teams with inter-agent messaging and conflict detection | /team-execution @spoq/epics/auth-system |
/journal-tracker | Record work sessions with timestamps, confidence scores, and file change provenance for explainability | /journal-tracker |