AI SDK & Bolt.new Citizen LifeSG Workflow Automation
Build a TypeScript web application using Vercel AI SDK and Bolt.new to automate citizen life-event claim submissions and document parsing for Singapore LifeSG services. Achieve under 2 seconds latency per claim verification with 98% field extraction accuracy.
What you are building
The core problem, expected build, and operating context for this challenge.
Construct an interactive full-stack AI tool with AI SDK and Bolt.new for streaming LifeSG document processing.
How work is evaluated
Evaluates parsing accuracy and latency of the AI SDK claim processing API endpoint.
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.
Latency Threshold Test
Ensures processing completes within 2000ms
This dimension contributes its full weight only when the submission satisfies the requirement. Partial credit is not awarded.
extraction_accuracy
Accuracy of extracted identity fields • target: 0.98 • range: 0-1
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 streaming tools and structured outputs with Vercel AI SDK in TypeScript
Accelerate web UI development using Bolt.new AI engineering tooling
Design document parsing pipelines for Singapore public sector forms (LifeSG)
Optimize frontend component rendering speed for real-time verification status
Reference links and supporting material
Synthetic dataset of Singapore LifeSG form records and mock Singpass identity payloads.
How this agent runs
Evaluates parsing accuracy and latency of the AI SDK claim processing API endpoint.
Challenge input
JSON containing base64 string or plain text of a child birth certificate / grant application
AI SDK
Vercel TypeScript AI library for structured output and streaming
Bolt.new
Rapid full-stack web UI prototyping environment
Evaluated output
JSON matching expected citizen attributes with execution_time_ms
- Ensures processing completes within 2000ms
- Accuracy of extracted identity fields • target: 0.98 • range: 0-1
- Benchmark: WebArena / FormBench
- Extraction Accuracy target: 0.98
- 1 public reference case
- JavaScript execution harness
- javascript sandbox (unavailable on Versalist)
View technical recipe
Configured tools
- Bolt.new · Required
- Bolt.new · Required
- Vercel AI SDK · Optional
- Aim · Optional
- Vercel AI SDK · Optional
Evaluation contract
- Latency Threshold Test · Weight 1
- extraction_accuracy · Weight 1
Recipe state
This is a preview. The configuration can change before the evaluation recipe is locked.