Skip to main content
Challenge

Real-time Adaptive Gaming UI Agent

Develop a cutting-edge, real-time adaptive gaming UI agent using the Vercel AI SDK. Inspired by the Windows 11 Xbox mode and the concept of dynamic interfaces for new form factors like foldable phones, this challenge focuses on generating contextual UI elements or providing real-time in-game assistance. The agent will leverage the ultra-low latency inference capabilities of Groq Cloud and scalable model serving via Vast.ai. GPT-5 Pro will handle complex UI generation logic and strategic advice, while Gemini 3 Flash will provide rapid understanding of game state and user intent. The agent will adapt its suggestions and interface elements based on real-time game events and player actions, with Argus integrated for monitoring performance and user engagement.

Workflow AutomationHosted by Vera
Challenge brief

What you are building

The core problem, expected build, and operating context for this challenge.

Build a real-time adaptive gaming UI agent using Vercel AI SDK, GPT-5 Pro, Gemini 3 Flash, Groq Cloud, Vast.ai, and Argus for dynamic experiences.

Delivery guide

How work is evaluated

Evaluation

The evaluation will assess the agent's real-time responsiveness, accuracy of UI generation, relevance of in-game assistance, and performance optimization through Groq Cloud and Vast.ai.

Datasets

Challenge datasets

Public datasets, plus the private datasets you have access to.

Evaluation rubric

How submissions are scored

These dimensions define what the evaluator checks and which criteria separate a passable run from a strong one.

Dimensions
4 scoring checks
Binary
4 pass or fail dimensions
Ordinal
0 scaled dimensions
Dimension 1

Sub200msLatency

Real-time assistance responses must have an end-to-end latency below 200ms using Groq Cloud.

Binary check

This dimension contributes its full weight only when the submission satisfies the requirement. Partial credit is not awarded.

Dimension 2

UIGenerationValidity

Generated HTML/CSS must be syntactically valid and renderable.

Binary check

This dimension contributes its full weight only when the submission satisfies the requirement. Partial credit is not awarded.

Dimension 3

UIGenerationRelevance

Average relevance score of dynamically generated UI elements to the game context. • target: 0.9 • range: 0-1

Binary check

This dimension contributes its full weight only when the submission satisfies the requirement. Partial credit is not awarded.

Dimension 4

AssistanceAccuracy

Percentage of in-game advice that is factually correct and strategically sound. • target: 0.95 • range: 0-1

Binary check

This dimension contributes its full weight only when the submission satisfies the requirement. Partial credit is not awarded.

Learning goals

What you should walk away with

  • Master the Vercel AI SDK for building streaming, real-time AI applications with serverless functions and edge deployments.

  • Implement prompt engineering strategies for GPT-5 Pro to dynamically generate HTML/CSS for adaptive UI components based on game state and user preferences.

  • Integrate Gemini 3 Flash via Vercel AI SDK to quickly analyze player actions and game events, providing immediate contextual suggestions or warnings.

  • Configure Groq Cloud as an inference endpoint for the AI SDK, specifically for models requiring extreme low latency responses during critical game moments.

  • Deploy and manage multiple AI models (GPT-5 Pro, Gemini 3 Flash) efficiently using Vast.ai for scalable and cost-effective serving.

  • Develop custom tools for the Vercel AI SDK agents that can interact with a simulated game API to fetch game state and apply UI changes.

  • Integrate Argus to monitor the performance of the real-time UI agent, tracking latency, UI generation accuracy, and user engagement metrics in a gaming environment.

Resources and assets

Reference links and supporting material

Dataset notes

Sample data for 2 tasks

Challenge setup

The evaluation will assess the agent's real-time responsiveness, accuracy of UI generation, relevance of in-game assistance, and performance optimization through Groq Cloud and Vast.ai.

Challenge input

{ "game_state": "dict", "user_action": "string", "expected_ui_element_type": "string" }

GPT-5 Pro

Models · Large Language Models

Google Gemini

Google's multimodal AI model

GPT-5

Policy Serving in the agent workflow.

Evaluated output

{ "generated_html_css": "string", "ui_element_type": "string", "relevance_score": "float" }

Evaluation checks
  • Real-time assistance responses must have an end-to-end latency below 200ms using Groq Cloud.
  • Generated HTML/CSS must be syntactically valid and renderable.
  • Average relevance score of dynamically generated UI elements to the game context. • target: 0.9 • range: 0-1
Configured evaluation evidence
  • UIGenerationRelevance target: 0.9
  • 2 public reference cases
Configured runtime
  • JavaScript execution harness

Summary shows the first task, up to three tools, and up to three evidence items. Open the technical recipe to view all configured items.

View technical recipe

Configured tools

Action Space
  • GPT-5 Pro · Required
  • Google Gemini · Optional
Policy Serving
  • GPT-5 · Optional

Evaluation contract

  • Sub200msLatency · Weight 1
  • UIGenerationValidity · Weight 1
  • UIGenerationRelevance · Weight 1
  • AssistanceAccuracy · Weight 1

Metrics

  • UIGenerationRelevance · Target 0.9
  • AssistanceAccuracy · Target 0.95

Reference cases

  • 2 public reference cases

Workflow tasks

  1. Task 1

    Input: { "game_state": "dict", "user_action": "string", "expected_ui_element_type": "string" }

    Output: { "generated_html_css": "string", "ui_element_type": "string", "relevance_score": "float" }

    Execution harness: JavaScript

  2. Task 2

    Input: { "game_state": "dict", "player_query": "string", "expected_advice_category": "string" }

    Output: { "advice_text": "string", "category": "string", "latency_ms": "integer" }

    Execution harness: JavaScript

Recipe freeze marker

No recipe freeze time is recorded.

Frequently Asked Questions about Real-time Adaptive Gaming UI Agent