Who it is forA developer tuning or debugging tool routing who needs to know why a message went to one tool and not another.
The problemWhen a routed reply is wrong, it is hard to tell whether the classifier, the spell check or the policy caused it.
The outcomeA clear record for any reply showing the request, each question, each probability and the action the code took.
What you need first
- Node 24 or later and pnpm 11 (run corepack enable to pick up the pinned version)
- A TypeSafe API key in TYPESAFE_API_KEY, since Jev is a paid API and the app shows error replies without it
- A terminal and a local browser on the same machine, because the API only listens on 127.0.0.1
Steps
- Run
pnpm devand open http://localhost:5173. - Send an ambiguous message, such as a short request that could fit two tools.
- Open the inspector pane for that reply.
- Check the original message, any spell or follow-up changes, and the probabilities for each tool choice.
- Run
pnpm testto confirm the unit tests still pass after any change.
Prompt for your agent
In the jev-chat repo, run pnpm dev, send the message <test-message> to the chat at http://localhost:5173, and open the inspector for the reply. Report the tool choice probabilities and the policy action. Verify that the inspector shows the original message and the answer to each question.
Caveat. The inspector shows what Jev answered and what the code did with it, but it does not change how Jev classifies a message.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for w3cj/jev-chat and "Trace why the chat bar picked a tool"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer