Skip to content

Power Mode

Power Mode enables parallel agent collaboration for complex tasks requiring multiple specialized agents working together.

Power Mode orchestrates multiple agents simultaneously to tackle complex workflows that would be too slow or cumbersome with a single agent.

Use Cases:

  • Large-scale refactoring across many files
  • Comprehensive security audits
  • Multi-component feature development
  • Architecture analysis and migration

Requirements: Claude Code 2.1.33+ (tested through 2.1.79)

Features:

  • Zero setup required
  • 5+ agents via Background Task tool
  • Event-driven agent lifecycle management
  • Graceful shutdown with configurable timeout
  • Action tracking for dashboard state
  • Best for most use cases

Activation:

Terminal window
/popkit-core:power start

Requirements: Redis server, Claude Code 2.1.33+ (tested through 2.1.79)

Features:

  • 10+ agents with persistent coordination
  • Best for very complex workflows
  • Requires Redis setup

Setup:

Terminal window
# Install Redis
# Configure connection in .popkit/config.json
/popkit-core:power start --redis

Requirements: None

Features:

  • 2 agents sequential
  • Fallback for older Claude Code versions
  • No external dependencies

Activation: Automatic fallback

Terminal window
/popkit-core:power status

This shows:

  • Current mode (Native/Redis/File)
  • Active agents
  • Performance metrics
Terminal window
/popkit-core:power start
Terminal window
# Feature development with multiple agents
/popkit-dev:dev "Implement OAuth2" --power
# Comprehensive security audit
/popkit-ops:security scan --power
# Architecture analysis
/popkit-core:project analyze --power
Terminal window
/popkit-core:power metrics

Shows:

  • Agents active
  • Tasks in progress
  • Completion status
Terminal window
/popkit-core:power stop
ModeAgentsSetupUse Case
Native Async5+NoneMost workflows (recommended)
Redis10+RedisVery complex workflows
File-Based2NoneSimple workflows, legacy
  1. Start with Native Async: Works for 95% of use cases
  2. Use Redis for Scale: Only when you need 10+ agents
  3. Monitor Performance: Check metrics to optimize
  4. Stop When Done: Free resources after completion

Symptom: power start fails

Solutions:

  • Check Claude Code version (need 2.1.33+, tested through 2.1.79)
  • Verify Redis is running (for Redis mode)
  • Check logs: /popkit-core:power status --verbose

Symptom: Tasks stuck in progress

Solutions:

  • Check individual agent logs
  • Restart Power Mode
  • Reduce agent count

Symptom: Slow responses

Solutions:

  • Switch to Native Async mode
  • Reduce concurrent agents
  • Check system resources