Cycle Investment
Token consumption, time and squad efficiency for ECP Pay (payment gateway). EST = proportional estimate REAL = verified from artifacts.
Total Development Time EST
~55min
Agent Execution (pure)
Estimated sum of ~18 agent durations
~1h 40min
Lead Time without HITL
Agents + orchestration + explore + docs
~2h 05min
Lead Time with HITL
Includes ~25min human review (~11 HITLs)
Total Token Consumption EST
~710,000
Total Tokens
~170
Tool Uses
~18
Agents Executed
141
Available Skills
Note on estimates: Scale factor 0.91x vs ECP Emps (proportional to 6,763 LoC / 76 files / 17 features vs 8,257 LoC / 80 files / 15 features). ECP Pay is the most compact product in the ecosystem, but with the highest complexity density per LoC (37.9 BCP/1K LoC) — each line carries more rules due to the Provider Factory pattern and dual-mode operation.
Consumption by Phase EST
PhaseDistributionTokens%Time
Setup / Explore
~99K
14%
~13min
01 — Strategic
~128K
18%
~10min
02 — Discovery
~241K
34%
~18min
03 — Delivery
~178K
25%
~18min
04 — Operations
~64K
9%
~9min
Distribution by Agent EST
~710K
TOTAL TOKENS
- Product Manager (4 sub)18%
- Product Owner (2 sub)9%
- Product Designer (3 sub)16%
- Trio PM+Designer+PO5%
- Software Architect7%
- Backend Developer9%
- Frontend Developer10%
- AI Engineer10%
- Ops + QA10%
- Explore / Overhead6%
Generated Artifacts REAL
77
Files created
6,763
Lines of code
24
API Endpoints
~11
HITLs approved
Product Delivery (Phase 03)
API modules (payment)7
Admin modules6
Providers implemented2 (Internal + Asaas)
Admin frontend pages8
UI Components11 (7 base + 4 new)
SQLite tables10
Indexes16
Architectural ADRs6
Product Discovery (Phase 02)
Opportunities mapped15
Solution hypotheses7
User Stories24
Epics2
Key Results (KRs)5
WSJF top priorities5
Business rules defined19
Feature flags configured3
Differential: Dual-Mode Operation REAL
Provider Factory patternYes (interface + factory)
Internal ModeQR mock + auto-approve + rules
External Mode (Asaas)Real API + real webhooks
Hot-swap via feature flagYes (no restart)
Card vault (tokenization)Cross-app, last4 only
Callback retry (backoff)30s / 2min / 10min
Registered apps (seed)3 (bank + emps + food)
Seed transactions20 (7 pix + 8 card + 5 boleto)
Operations (Phase 04)
Frontend build (Vite)PASS (5.44s)
TypeScript checkPASS (0 errors)
Bundle size (JS gzip)173.90 KB
Bundle size (CSS gzip)4.97 KB
SLOs defined3
DORA metrics tracked4
A/B tests planned3
Agents involved9 distinct roles
Efficiency Metrics
Tokens per Artifact EST
Tokens / file created~9,221
Tokens / API endpoint~29,583
Tokens / line of code~105
Tokens / business rule~37,368
Tokens / HITL~64,545
Comparison with Human Team
AI squad time (with HITL)~2h 05min
Human team estimate (3-4 devs)~5-7 sprints
Acceleration factor~90x
Token cost (est. Opus 4.6)~US$ 14
Human team cost (est.)~R$ 90K+
Cross-reference: BCP
256
Total BCP
17
Features
15.1
Average BCP
37.9
BCP / 1K LoC