Skip to content

Jev directory

Jev Eval Agent

A personal-assistant agent with 100 mocked tools that measures how many steps a task takes when the LLM picks the tool versus when Jev picks it before every model step.
Stars
108
Language
HTML
Reading time
3 min
Published by
Community
Author
vinilana
Last verified
Sep 2026

About this project

🇺🇸 English · 🇧🇷 Leia em português. A personal-assistant agent built with eve (Vercel), with 100 mocked tools, served through OpenRouter. The repository exists to answer one question: how many steps does the agent need to finish the same task when the LLM picks the tool itself vs. when Jev (TypeSafe's classifier) picks it? Everything lives on main; the mode is a single environment variable. Instructions, catalog, evals and UI are identical in both modes.

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

Highlights

  • AGENT_MODE switches between llm-direct, where the LLM sees all 100 tools each step, and jev-classifier, where Jev picks before every model step.
  • Confidence-gated routing: if Jev picks respond_to_user but done is below JEV_DONE_THRESHOLD (0.5), the reply is blocked and the next-best tool is exposed.
  • Six tasks (three basic, three complex) include look-alike distractor tools; calling one counts as a wrong tool in the report.
  • Per-run metrics include modelSteps, toolCalls, distractorCalls, completion, efficiency, token usage, and estimated OpenRouter cost.

Quickstart

bash
cp .env.example .env.local     # OPENROUTER_API_KEY and TYPESAFE_API_KEY
npm install
EVAL_MODEL=deepseek-v4.1-flash npm run eval

Watch out

No license file, so reuse terms are unclear. Needs Node.js, an OPENROUTER_API_KEY and a TYPESAFE_API_KEY, and the benchmark prompts are in Portuguese.

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: Tool calling as classify plus action, back to twelve-factor agents

X: A chat bot with no LLM

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