#!/bin/bash
# Spawn a subagent with DeepSeek V4 Flash
# Usage: ./spawn-agent.sh <agent_name> "<task>"
AGENT=$1
TASK=$2
if [ -z "$AGENT" ] || [ -z "$TASK" ]; then
  echo "Usage: ./spawn-agent.sh <agent_name> \"<task>\""
  echo "Agents: scout, builder, reviewer, planner, tester, red-team, ranger, paladin, etc."
  exit 1
fi
echo "Spawning $AGENT with deepseek-v4-flash..."
echo "Run this in Pi: subagent_create(name=\"$AGENT\", task=\"$TASK\", model=\"deepseek-v4-flash\")"
