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.
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.
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.
Challenge setup
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)
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
- 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
Metrics
- extraction_accuracy · Target 0.98
Benchmarks
- WebArena / FormBench
- general
Reference cases
- 1 public reference case
Workflow tasks
- Task 1
Input: JSON containing base64 string or plain text of a child birth certificate / grant application
Output: JSON matching expected citizen attributes with execution_time_ms
Execution harness: JavaScript
Evaluation tools
- AI SDK · Framework
- Bolt.new · AI Engineering Tooling
Recipe freeze marker
No recipe freeze time is recorded.