Loading documentation...
Loading documentation...
A pre-built 9-step workflow that orchestrates multi-model debate with analysis, challenge, and consensus phases. Four models collaborate to refine ideas through structured iteration.
PingPong is a YAML workflow that runs your question through 4 AI models (Grok, Gemini, Qwen, Perplexity) in 3 phases: initial analysis, critical challenge, and final consensus. Each model builds on previous outputs to refine solutions through structured debate.
Execute the pingpong workflow using the workflow tool:
1workflow({2 name: "pingpong",3 query: "Should we use microservices or monolith?"4})Or via Claude Code MCP:
1workflow --name pingpong --query "Design a scalable authentication system"Each model analyzes your question independently from its unique perspective:
Models critique and refine each other's analyses:
OpenAI GPT-5.6 compares all perspectives and generates final recommendation with consensus analysis.
The workflow automatically saves all outputs to workflow-output/pingpong/<timestamp>/*.md:
The pingpong workflow requires all 4 provider API keys:
Use pingpong's output as input to other workflows, or chain multiple analyses:
1# Step 1: Run pingpong on your question2workflow --name pingpong --query "Should we use GraphQL or REST?"3 4# Step 2: Use the consensus.md output to guide implementation5# The consensus file contains the final recommendation with all perspectives6 7# Example: Chain with research for deeper validation8workflow --name custom-research --query "Based on pingpong analysis, validate GraphQL performance claims"Or create a custom workflow that includes pingpong as a step:
1# custom-architecture-review.yaml2steps:3 - name: initial-analysis4 tool: workflow5 input:6 name: "pingpong"7 query: "${query}"8 output: pingpong_results9 10 - name: implementation-plan11 tool: qwen_coder12 input:13 task: "generate"14 requirements: "Based on consensus: ${pingpong_results}"15 output: code_plan1workflow --name pingpong --query "Design a multi-tenant SaaS application: shared DB vs isolated DBs per tenant"2 3# What happens:4# - Phase 1 (Steps 1-4): Each model analyzes the tradeoffs independently5# - Phase 2 (Steps 5-8): Models challenge each other's assumptions and find edge cases6# - Phase 3 (Step 9): GPT-5.6 synthesizes all perspectives into final recommendation7#8# Check consensus.md for the final decision with supporting evidenceThe pingpong workflow makes 9 total API calls across 5 different providers:
Estimated cost: $0.10-0.30 per run depending on response lengths and provider pricing.
Enhance your multi-model orchestration