Real-Time DPI API Monitoring Dashboard using Vercel AI SDK
Public digital infrastructure APIs experience regional spikes and latency degradations requiring rapid root-cause summaries. Build a streaming analytics agent using Vercel AI SDK that monitors DPI telemetry and streams actionable incident reports, delivering real-time diagnostic updates with under 100ms streaming latency.
What you are building
The core problem, expected build, and operating context for this challenge.
Develop a real-time streaming infrastructure monitoring agent using Vercel AI SDK and TypeScript for rapid DPI API anomaly reporting.
How work is evaluated
Evaluates streaming output response schema and time-to-first-token metric.
Shared data for this challenge
Review public datasets and any private uploads tied to your build.
How submissions are scored
These dimensions define what the evaluator checks and which criteria separate a passable run from a strong one.
stream_chunk_validity
Ensures streamed chunks parse cleanly into JSON.
This dimension contributes its full weight only when the submission satisfies the requirement. Partial credit is not awarded.
streaming_latency_ms
Time to first token chunk. • target: 100 • range: 0-500
This dimension contributes its full weight only when the submission satisfies the requirement. Partial credit is not awarded.
What you should walk away with
Implement real-time streaming text and object generations using Vercel AI SDK
Build TypeScript interfaces for consuming server-sent event streams
Process high-frequency API ping logs from public public infrastructure endpoints
Generate concise developer diagnostic briefs during active outages
Reference links and supporting material
Telemetry stream logs from 10 simulated national public infrastructure microservices.
How this agent runs
Evaluates streaming output response schema and time-to-first-token metric.
Challenge input
JSON containing api_endpoint, current_error_rate, average_latency_ms, and region.
AI SDK
Vercel AI SDK provides low-latency streaming abstractions for TS.
Evaluated output
JSON containing incident_severity ('LOW', 'HIGH', 'CRITICAL'), suspected_cause, and stream_validity (bool).
- Ensures streamed chunks parse cleanly into JSON.
- Time to first token chunk. • target: 100 • range: 0-500
- Benchmark: Real-time Telemetry Processing Benchmark
- Streaming Latency Ms target: 100
- 1 public reference case
- JavaScript execution harness
- javascript sandbox (unavailable on Versalist)
View technical recipe
Configured tools
- Vercel AI SDK · Required
- Agno · Optional
- Ax (Adaptive Experimentation) · Optional
- Vercel AI SDK · Required
- Agno · Optional
Evaluation contract
- stream_chunk_validity · Weight 1
- streaming_latency_ms · Weight 1
Recipe state
This is a preview. The configuration can change before the evaluation recipe is locked.