Skip to content

Jev directory

Hono Jev Router

Experimental Hono router that matches an incoming HTTP request to a plain-language route description: one yes/no Jev question per description is evaluated in a single call, and the first registered route above the threshold wins.
Stars
52
Language
TypeScript
License
MIT
Reading time
3 min
Published by
Community
Author
yusukebe
Last verified
Sep 2026

Route HTTP requests by meaning. A semantic router for Hono powered by Jev.

Forks
4
Last pushed
Updated Sep 2026

Repo stats from the GitHub API, cached Oct 2026.

About this project

hono-jev-router is an experimental router for Hono. Instead of a method and a path, you describe a request in plain words, and Jev by TypeSafe AI decides which description fits the incoming request. Do not use it for authentication or authorization. The request is the input of the model, so whoever sends the request can try to steer the answer. 'suspicious automated traffic' is a heuristic, not a security boundary.

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

Highlights

  • Registers semantic routes with app.on('jev', '<description>', handler) alongside normal Hono paths.
  • One yes/no Jev question per description is evaluated in parallel in a single call.
  • The first registered route above the threshold wins; unmatched requests fall through to notFound().
  • Authorization, Cookie, and API-key header values are redacted before the request goes to Jev.
  • Can run on Cloudflare Workers AI through the AI binding instead of an API key.

Quickstart

ts
import { Hono } from 'hono'
import { JevRouter } from 'hono-jev-router'

const app = new Hono({
  router: new JevRouter({ apiKey: process.env.TYPESAFE_API_KEY }),
})
app.on('jev', 'a request from an AI agent', (c) => {
  return c.text('# Documentation', 200, { 'Content-Type': 'text/markdown' })
})

export default app

Watch out

MIT-licensed and explicitly experimental. Every semantically routed request is a paid model call that adds latency, the answer is a probability rather than a guarantee, and it must not be used for authentication or authorization.

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.

Facebook: Intake Router keeps diagnosis out of the answer space at the front desk.

FacebookClinicnotes

X: OpenRouter Decision Model Rankings

X: herdr + jev, an agent router

X: A group chat bot with decision room routing

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