Technical
How DebateDaddy uses Grok AI
We use xAI's Grok models as the debate judge. At the end of a round, the debate transcript is sent to our judging endpoint, and the model returns a structured decision.
Judging flow
- We collect the debate topic, sides, and submitted messages.
- We build an impartial adjudication prompt for the model.
- We call the xAI Responses API using our server-side API key.
- The model returns JSON with winner side, a headline, and bullet-point feedback for both sides.
Model and API details
The judge implementation is in our server code and uses the xAI endpoint at https://api.x.ai/v1/responses. By default, we run grok-4.20-reasoning unless we override the model through environment configuration.
Reliability and guardrails
- Judging runs server-side so API credentials are not exposed in the browser.
- We require valid JSON output and reject malformed responses.
- If feedback bullets are missing, we apply safe fallback reasoning text.
- Verdicts are gameplay output and should not be treated as professional advice.