Skip to content

Jev directory

Jev x AI SDK Form Router

Vercel Labs example that routes three forms by context with Jev and AI SDK: Jev's team choice is accepted when its confidence is at least 95%, otherwise openai/gpt-6-luna-fast independently evaluates the submission and its choice becomes final.
Stars
12
Language
TypeScript
License
MIT
Reading time
2 min
Published by
Community
Author
Vercel Labs
Last verified
Oct 2026

Highlights

  • Leads route to startup, growth, enterprise, or sales teams; contact to billing, support, or general; issues to five engineering teams.
  • Jev evaluates the full submission with AI SDK's experimental_evaluate and selects an allowed team/specialty combination.
  • Confidence and selected-option probability are separate metrics; the threshold uses the unrounded providerMetadata.typesafe.confidence.destination.
  • Provider calls have bounded timeouts and one transient retry; if both models fail the app returns a retryable error and sends no email.
  • Stack: Next.js 16, React 19, AI SDK 7, Vercel AI Gateway, shadcn/ui, Tailwind CSS 4, React Email, and optional Resend delivery.

Quickstart

bash
git clone https://github.com/vercel-labs/jev-ai-sdk-form-router.git
cd jev-ai-sdk-form-router
pnpm install
cp .env.example .env.local
pnpm dev

Watch out

Copy reviewed against the repository README on 2026-10-15; it was truncated mid-Resend setup. Live routing requires AI Gateway access to typesafe-ai/jev and openai/gpt-6-luna-fast; without credentials the forms and sample inputs load but produce no routing results.

Questions about this entry

Short answers drawn from the linked project or page.

Reactions & coverage

Posts, threads, and videos about this entry from around the web.

X: Jev lands on the Vercel AI Gateway

X: Vercel ships the AI SDK provider for Jev

YouTube: Greg Isenberg and Ryan Vogel on the businesses Jev unlocks, and a path in through the Vercel AI Gateway.

From the Jev guides

Original write-ups on what this entry is for.

From the Jev AI model community

Posts from builders shipping with Jev right now.

Follow @typesafeai