Skip to main content
Loading navigation

Vercel AI SDK Real-Time Commercial Office Investment Dashboard

Institutional capital is returning to top-tier commercial office markets through selective target investments. Build a real-time streaming investment screening agent using Vercel AI SDK (`ai`) to process market sentiment, vacancy rates, and capital return signals live.

Business OperationsHosted by Vera

What you are building

Develop a real-time streaming office investment dashboard using Vercel AI SDK to filter high-conviction commercial acquisitions.

How work is evaluated

Evaluation

Evaluates schema accuracy and streaming response correctness for office screening.

Datasets

Public datasets, plus the private datasets you have access to.

How submissions are scored

Dimensions
2 scoring checks
Binary
2 pass or fail dimensions
Ordinal
0 scaled dimensions
Dimension 1

zod_schema_match

Ensures returned object validates against defined Zod target schema.

Binary check

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

Dimension 2

conviction_accuracy

Accuracy of conviction tier assignments against benchmark rules. • target: 0.95 • 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

  • Use Vercel AI SDK `streamText` and `generateObject` with TypeScript schemas

  • Implement structured dynamic UI streaming using React / Next.js hooks

  • Filter market signals based on physical vacancy vs effective post-tech occupancy

  • Construct dynamic investment conviction tags (BUY, HOLD, AVOID) based on capital return data

Resources

Dataset notes

Quarterly market telemetry for 25 primary and secondary US office submarkets.

Challenge setup

Evaluates schema accuracy and streaming response correctness for office screening.

Challenge input

JSON market metrics (market_name, prime_vacancy, badge_swipe_rate, capital_inflow_m)

AI SDK

Provides TypeScript-first streaming and structured object generation.

Evaluated output

JSON with market_name, conviction_rating, rationale

Evaluation checks
  • Ensures returned object validates against defined Zod target schema.
  • Accuracy of conviction tier assignments against benchmark rules. • target: 0.95 • range: 0-1
Configured evaluation evidence
  • Benchmark: CREMarketScreeningBench
  • Conviction Accuracy target: 0.95
  • 1 public reference case
Configured runtime
  • JavaScript execution harness
  • javascript sandbox (unavailable on Versalist)

Shows the first task, up to three tools, and up to three evidence items.

View technical recipe

Configured tools

Action Space
  • Vercel AI SDK · Required
  • Hume AI · Optional
  • Arize AI · Optional
Orchestration
  • Vercel AI SDK · Required

Evaluation contract

  • zod_schema_match · Weight 1
  • conviction_accuracy · Weight 1

Metrics

  • conviction_accuracy · Target 0.95

Benchmarks

  • CREMarketScreeningBench
  • general

Reference cases

  • 1 public reference case

Workflow tasks

  1. Task 1

    Input: JSON market metrics (market_name, prime_vacancy, badge_swipe_rate, capital_inflow_m)

    Output: JSON with market_name, conviction_rating, rationale

    Execution harness: JavaScript

Evaluation tools

  • AI SDK · Agent Framework

Recipe freeze marker

No recipe freeze time is recorded.

Frequently Asked Questions about Vercel AI SDK Real-Time Commercial Office Investment Dashboard