DemoSep 19, 2026
Jev as a router inside of Flue
Flue agent demo where TypeSafe Jev routes support requests to billing, technical, or human teams via Cloudflare Workers AI — no app API keys required.
Matthew Phillips wired TypeSafe Jev into a Flue agent as a typed router. The chat model stays on cloudflare/openai/gpt-4o-mini; Jev runs separately through env.AI.run('typesafe/jev', ...) and returns structured intent, urgency, probabilities, and confidence.
useJevRouter() turns a question map into a validated route_with_jev Flue tool. Both the chat model and Jev calls go through the Worker's default Cloudflare AI Gateway.
Run it
git clone https://github.com/matthewp/flue-jev-demo
cd flue-jev-demo
pnpm install
pnpm dev
Try Jev directly:
pnpm demo -- "The app has been down for an hour and production is blocked."
Or POST to the support agent and stream the durable conversation from the URLs Vite prints.