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.
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.
How work is evaluated
Measures catalog conflict resolution latency and accuracy under high update throughput.
Challenge datasets
Public datasets, plus the private datasets you have access to.
How submissions are scored
These dimensions define what the evaluator checks and which criteria separate a passable run from a strong one.
conflict_accuracy
Ensures latest timestamp record is preserved accurately
This dimension contributes its full weight only when the submission satisfies the requirement. Partial credit is not awarded.
latency_ms
End-to-end execution latency in milliseconds • target: 200 • 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 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
Reference links and supporting material
Synthetic time-stamped inventory mutations mimicking high-volume quick-commerce sales events.
Challenge setup
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
- Ensures latest timestamp record is preserved accurately
- End-to-end execution latency in milliseconds • target: 200 • range: 0-500
- Benchmark: Serverless Agent Sync Benchmark
- Latency Ms target: 200
- 1 public reference case
- JavaScript execution harness
- javascript sandbox (unavailable on Versalist)
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
- Blaxel · Required
- Vercel AI SDK · Optional
- Zed · Optional
- Vercel AI SDK · Optional
Evaluation contract
- conflict_accuracy · Weight 1
- latency_ms · Weight 1
Metrics
- latency_ms · Target 200
Benchmarks
- Serverless Agent Sync Benchmark
- general
Reference cases
- 1 public reference case
Workflow tasks
- Task 1
Input: JSON object with conflicting stock records
Output: JSON object with resolved master stock record
Execution harness: JavaScript
Evaluation tools
- AI SDK · TypeScript LLM SDK
- Blaxel · Agent Hosting Platform
Recipe freeze marker
No recipe freeze time is recorded.