Skip to content

Flue Jev Demo

Standalone Flue example that routes support chat through Cloudflare Workers AI, using gpt-4o-mini for chat and Jev for typed intent and urgency routing.

Stars
11
Language
TypeScript
Published by
Community
Author
matthewp
Last verified
Oct 2026

matthewp/flue-jev-demo

User repository on GitHub

View on GitHub

Flue agent routing with TypeSafe Jev through Cloudflare AI Gateway

Forks
0
Last pushed
Updated Sep 2026

Repo stats from the GitHub API, cached Oct 2026.

About this project

A standalone Cloudflare-targeted Flue example. Application AI requests go through the Worker's AI binding and its default AI Gateway: Typed routing uses TypeSafe Jev (typesafe/jev). There are no application API keys or account-ID environment variables. This project uses the published npm packages @flue/[email protected] and @flue/[email protected]; it is not part of the Flue monorepo.

Quoted from the project's README. Read the full README.

Highlights

  • useJevRouter turns a typed question map into a validated route_with_jev Flue tool.
  • Chat uses cloudflare/openai/gpt-4o-mini while routing calls typesafe/jev via env.AI.run.
  • No application API keys; auth comes from Wrangler login and the Worker AI binding.
  • Includes /api/route and /api/health endpoints plus mocked tests and deploy script.

Watch out

Needs a Cloudflare login with AI Gateway credits for third-party models; multi-account machines may need account_id in wrangler.jsonc. Copy reviewed against the repository README on 2026-10-04, not from running it.

Questions about this entry

Short answers drawn from the linked project or page.

More Jev resources like this

0GitHub stars
SwarmRouter picks which agent or skill should handle a task and returns a confidence with the pick, drawn as a visual swarm map, with the choice made by TypeSafe Jev. Five handler types are named in the README.
Jev Demos & Experiments#community#jevbest#catalog-import
21GitHub stars
Pi guard plugin that checks inputs and tool calls with local rules plus Jev semantic judgements, with redaction and verification reminders.
Jev Demos & Experiments#community#jevbest#catalog-import
20GitHub stars
General-purpose System One agent where Jev chooses tools and arguments while Jot executes them and loops until it can reply.
Jev Demos & Experiments#community#awesomejev#catalog-import
Demo that turns free-text UI descriptions into real shadcn components using only Jev typed Choice, Noul, and Score answers, with no generated code on the decision path.
Jev Demos & Experiments#community#jevbest#catalog-import
4GitHub stars
TypeScript browser harness where an OpenRouter planner splits goals into subgoals, Jev picks each concrete action, OpenRouter fills text fields, and Playwright drives the page.
Jev Demos & Experiments#community#jevbest#catalog-import
5GitHub stars
An MCP server that lets Claude or Codex drive a real Chrome window: Claude plans the task and Jev picks each click, keystroke and scroll from a numbered element list, with irreversible actions held for confirmation.
Jev Demos & Experiments#community#awesomejev#catalog-import

From the Jev guides

Original write-ups on what this entry is for.

A game tick is a state plus a legal action list. How Clash Royale, Minecraft, and the earlier Mario, Pokémon, StarCraft, and drone loops ask Jev one step at a time.
Jev Demos & Experiments#gaming#agents#control
Read article
Back to all resources

From the Jev community

Posts from builders shipping with Jev right now.

Follow @typesafeai