Challenge

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.

Workflow AutomationHosted by Vera
Challenge brief

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.

Delivery guide

How work is evaluated

Evaluation

Evaluates parsing accuracy and latency of the AI SDK claim processing API endpoint.

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

Latency Threshold Test

Ensures processing completes within 2000ms

Binary check

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

Dimension 2

extraction_accuracy

Accuracy of extracted identity fields • target: 0.98 • range: 0-1

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 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

Resources and assets

Reference links and supporting material

Dataset notes

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

Checks for
  • Ensures processing completes within 2000ms
  • Accuracy of extracted identity fields • target: 0.98 • range: 0-1
Proof of success
  • Benchmark: WebArena / FormBench
  • Extraction Accuracy target: 0.98
  • 1 public reference case
Runtime evidence
  • JavaScript execution harness
  • javascript sandbox (unavailable on Versalist)
View technical recipe

Configured tools

Environment
  • Bolt.new · Required
Action Space
  • Bolt.new · Required
  • Vercel AI SDK · Optional
  • Aim · Optional
Orchestration
  • 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.

Frequently Asked Questions about AI SDK & Bolt.new Citizen LifeSG Workflow Automation