Who it is forA developer running a Hermes agent on a frontier model who wants lower token costs without losing answer quality.
The problemAgents spend frontier-model tokens on small routing decisions such as which model should answer this turn.
The outcomeEach turn is routed to a model Jev judges good enough, and a shadow log shows what it would have done before anything switches.
What you need first
- Python 3.9 or newer (no dependencies)
- A TypeSafe key from console.typesafe.ai
- Hermes, Claude Code or Codex installed on the machine (the installer finds them)
Steps
- Run
python3 install.pyfrom the cloned repo folder. - Run
jev setup-key, paste your key into the page it opens, then runjev doctor. - Run
jev models suggest --writeto draft routing pools from price bands. - In Hermes, run
/jev routing shadowand review the log for a day. - When the log looks right, run
/jev routing on.
Prompt for your agent
Install the hermes-jev-skills repo from kerpopule on this machine, set up the key, and run `jev models suggest --write`. Enable `/jev routing shadow` for the <profile> profile and report the decisions logged so far, with tier, model and confidence for each. Verify that no model switch happened while in shadow mode.
Caveat. A plugin can swap the model but not the provider connection, and the routing commands are for Hermes only.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for kerpopule/hermes-jev-skills and "Cut per-turn model spend in a Hermes agent"
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