Challenge

Build Real-Time Catalog Sync Agents with AI SDK and Blaxel

Rapidly synchronizing inventory across decentralized ONDC seller nodes often results in race conditions and duplicate catalog updates. Build a serverless TypeScript routing workflow using Vercel AI SDK and Blaxel serverless agent runtimes to resolve catalog collisions instantly. Maintain less than 200ms end-to-end sync latency.

Business OperationsHosted by Vera
Challenge brief

What you are building

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

Construct high-speed edge AI agents using TypeScript, Vercel AI SDK, and Blaxel to maintain real-time ONDC catalog synchronicity.

Delivery guide

How work is evaluated

Evaluation

Measures catalog conflict resolution latency and accuracy under high update throughput.

Datasets

Shared data for this challenge

Review public datasets and any private uploads tied to your build.

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
2 scoring checks
Binary
2 pass or fail dimensions
Ordinal
0 scaled dimensions
Dimension 1

conflict_accuracy

Ensures latest timestamp record is preserved accurately

Binary check

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

Dimension 2

latency_ms

End-to-end execution latency in milliseconds • target: 200 • range: 0-500

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

  • Implement stream generation and function calling using Vercel AI SDK in TypeScript

  • Deploy agent functions to low-latency serverless runtimes using Blaxel

  • Handle incoming high-frequency ONDC protocol catalog mutations without loss

  • Optimize agent context windows for continuous streaming response evaluation

Resources and assets

Reference links and supporting material

Dataset notes

Synthetic time-stamped inventory mutations mimicking high-volume quick-commerce sales events.

How this agent runs

Measures catalog conflict resolution latency and accuracy under high update throughput.

Challenge input

JSON object with conflicting stock records

AI SDK

Provides structured tool outputs and streaming interfaces for JS runtime.

Blaxel

Executes low-latency serverless agents at edge nodes.

Evaluated output

JSON object with resolved master stock record

Checks for
  • Ensures latest timestamp record is preserved accurately
  • End-to-end execution latency in milliseconds • target: 200 • range: 0-500
Proof of success
  • Benchmark: Serverless Agent Sync Benchmark
  • Latency Ms target: 200
  • 1 public reference case
Runtime evidence
  • JavaScript execution harness
  • javascript sandbox (unavailable on Versalist)
View technical recipe

Configured tools

Action Space
  • Blaxel · Required
  • Vercel AI SDK · Optional
  • Zed · Optional
Orchestration
  • Vercel AI SDK · Optional

Evaluation contract

  • conflict_accuracy · Weight 1
  • latency_ms · Weight 1

Recipe state

This is a preview. The configuration can change before the evaluation recipe is locked.

Frequently Asked Questions about Build Real-Time Catalog Sync Agents with AI SDK and Blaxel