Skip to content

Jev directory

Grok Bot Jev Router

A reference router and skill that put Jev in front of Grok Bot so each request is classified before expensive research, browser, retry, or subagent work, returning actions such as reuse_cache or ask_human.
Stars
112
Language
Python
License
MIT
Reading time
3 min
Published by
Community
Author
Bodila51
Last verified
Sep 2026

About this project

Connect TypeSafe Jev to Grok Bot as a cheap decision layer. Jev classifies the request before expensive research, browser, retry, or subagent work, so Grok Bot can reuse a fresh artifact, stop a failing retry, cap research, or ask for approval. This package is a small open-source reference implementation. It does not change Grok Bot's foundation model and does not route Cursor models. Visualization of Grok Bot + Jev at work: A Python router around the TypeSafe SDK's systemone call.

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

Highlights

  • Explicit actions include reuse_cache, stop_retry, run_deterministic, chat_only, research_capped, allow_subagent, and ask_human, with shadow and active modes.
  • A kill switch disables the router through enabled: false or a bypass jev marker, and src/secrets.py reads only TYPESAFE_API_KEY from the environment.
  • In a recorded local A/B across five tasks, flight browser opens fell from 1 to 0, same-approach retries from 3 to 0, and research pages from 10 to 4.
  • A separate 24-candidate timing run took 53.803 s for the uncapped arm and 4.125 s for the Jev-ranked top-five arm, with two Jev calls at about $0.000405.
  • It never sends, publishes, pays, deletes, or changes permissions without a human approval path, and it logs decisions without the API key.

Quickstart

bash
python3 -m venv .venv
.venv/bin/pip install -r requirements.txt
cp config.example.yaml config.yaml
export TYPESAFE_API_KEY=YOUR_API_KEY
.venv/bin/python scripts/dry_run.py

Watch out

MIT-licensed. Needs Python and a TYPESAFE_API_KEY; shadow mode enforces nothing, active mode depends on the pasted skill honoring decisions, and the A/B figures are one local run's proxy measurements.

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