Insane Jev Uses You Need To Use Right Now
Key Takeaway
Integrating the fast decision-making model Jev into Claude Code agent workflows speeds up compaction, skill selection, file searching, code reviews, and rule enforcement at a fraction of standard token costs.
Highlights
TypeSafe's Jev is a high-speed decision model that chooses from pre-defined options rather than generating text token-by-token.
Jev charges only for input tokens while returning decision outputs for free, drastically lowering API costs.
Replacing default Claude Code compaction with the Fast Jev Compaction plugin yields context summaries in under a second.
Using Jev as a file-ranking engine scores and orders 35 project files in 1.6 seconds to eliminate context window bloat.
An automated hook sends edits to Jev and halts file creation if Jev determines with at least 80% confidence that a rule was violated.
Timeline
Core Mechanics and API Setup of the Jev Decision Model
Unlike generative language models like Claude or GPT that produce answers token-by-token, Jev evaluates all given options simultaneously. This architectural difference provides sub-second evaluation times and eliminates generation costs. Access is managed via API gateways like OpenRouter or Vercel AI Gateway due to paused direct signups on TypeSafe.
- Jev operates as a non-text decision model that selects between binary choices, lists, or score ranges.
- Output includes a confidence value indicating how sure the model was in its choice.
- Input tokens incur charges, but returned decision responses are completely free.
Fast Jev Compaction for Agent Context Windows
Standard summarization consumes significant time and tokens as logs grow. Fast Jev Compaction evaluates previous conversation turns to filter out irrelevant history in under a second. The 25% threshold guardrail ensures API calls target sessions where compaction yields significant execution gains.
- Standard compaction sends entire conversation logs back to full models for summarization.
- The Fast Jev Compaction plugin replaces long summary prompts with rapid importance decisions.
- Sessions with less than 25% context usage bypass Jev and default to standard compaction.
Enforcing Test Coverage and Streamlining Skill Selection
Agents often fail to track documentation rules or struggle with context clutter when managing dozens of skills. By using Jev as a verification layer, missing tests get flagged immediately without relying on the main model to self-audit. For skill management, Jev reads system skill metadata and injects only the single relevant skill for a given user prompt.
- A post-edit hook asks Jev whether access control rule changes have corresponding tests.
- The skill picker hook matches prompts to skill descriptions before passing tasks to Claude.
- Pre-selecting skills prevents agents from evaluating every available skill inside the main context.
Accelerating File Discovery and Pre-Filtering Code Reviews
Replacing default sub-agents like Explore with a Jev-based skill prevents expensive models from filling context windows with unnecessary file reads. In code review workflows, Jev screens changes against core compliance questions. If all answers return negative, the system executes a brief review pass; positive or uncertain responses trigger full model inspection.
- A custom skill pairs standard keyword search with Jev batch scoring to locate project files.
- Jev ranks candidate files 20 at a time and evaluated 35 files in 1.6 seconds.
- A preliminary review gate uses seven yes/no questions to determine if code requires full audit.
Automated Browser Interaction and Rule Enforcement
Browser testing agents utilize Jev to decide which links or buttons to click next based on generated page element lists, leaving final verification to the main model. To prevent agents from straying from specification files, pre-edit hooks pass planned code changes to Jev alongside project rules. Attempted violations, such as client-side direct data reads, get blocked immediately with exact error feedback.
- Jev selects interactive UI elements during automated browser testing to reach target states.
- Pre-edit hooks evaluate file modifications against project rules defined in documentation.
- Edits flagged with at least 80% certainty of violating rules are blocked before file creation.
Description
Jev use cases for AI agents: Jev AI from TypeSafe AI picks decisions instead of writing like an LLM. Sponsored by Zapier! Zapier SDK levels you up, letting you build custom, code-based automations directly in your editor. Start building with Zapier SDK today: https://bit.ly/4AqADNm We tested Jev inside our own coding workflow and found seven places where it makes your agent faster and cheaper to run. Community with All Resources: https://ailabspro.io/?v=2nc_QMuNp18 The Roundup, our daily newsletter covering the AI stories that matter. Join now: https://www.theroundup.so/ Fast Jev Compaction plugin: https://github.com/tamaratran/fast-jev-compaction What Jev AI is - Jev is an AI model made by TypeSafe. It doesn't write answers out in text like Claude AI or GPT. It picks from a set of options: a yes or no, a list to choose from, or a score. - Along with every pick it gives you a confidence value, a number that shows how sure it was. - Each decision takes a fraction of a second, and you only pay for what you send. The answer it sends back is free. - Jev can't write code or use tools, so it doesn't replace the model in Claude Code. It sits inside Claude Code as the decision maker. How to setup Claude Code with Jev - New signups on TypeSafe's own platform are paused, but Jev is also on OpenRouter and Vercel AI Gateway. We used Vercel AI Gateway. - Create a key on the API Keys page inside AI Gateway and copy it right away, because Vercel only shows it once. - Save it with the export command as an environment variable, so when you open Claude in that same terminal, Claude Code can find the key. The seven Jev use cases we tested 1. Faster compaction: the Fast Jev Compaction plugin swaps the usual compaction summary for Jev decisions about what actually matters in your session. We adapted it to work with Vercel AI Gateway, and on our session compaction took under a second. 2. Jev as a judge: a hook runs whenever Claude edits the files that control who can access what, and asks Jev whether each rule in our docs has a test. Then Claude writes the missing tests from Jev's report. 3. Skill picker: a hook reads every one of your Claude Code skills and your prompt, then tells Claude which one skill to use, or none. 4. Faster Explore: a skill runs a keyword search, then Jev scores the files 20 at a time so Claude only opens the top few. It ranked 35 files in 1.6 seconds and put the right file first. 5. Cheap first pass before the review: Jev answers seven yes or no questions about a change. Small changes get one quick review round, and risky ones still get the full review. 6. Browser testing: a skill lists every button and link on the page and Jev picks the next click. We signed in as an admin, a manager and an employee to check each could only reach their own pages. 7. Rule enforcer: a hook sends Jev every edit along with the rules for that file. If Jev is at least 80% sure a rule is broken, the edit is blocked and Claude is told which rule it broke. Who this is for - Anyone vibe coding with Claude Code who wants their AI agents faster and cheaper to run. - Anyone learning how to use Claude Code beyond the basics, with hooks, Claude Code skills and a second model making the calls. - If you came here from a search like "Jev is insane! How to use it & crazy use cases", this covers what Jev does, how to get access, and seven Jev AI model use cases you can copy. More Jev AI use cases - These seven are the use cases Jev fit best in our own workflow, not the full list. Any step where your agent keeps choosing between options is a place to try Jev. - Every skill and hook from these Jev crazy use cases, plus the setup, is in AI Labs Pro. 00:00 Intro 00:36 What Is Jev 02:19 Setup 03:11 Faster Compaction 04:57 Docs Checker 05:49 Skill Picker 06:48 Sponsor 07:48 File Search 09:05 Code Review 09:57 Browser Testing 11:15 Rule Enforcement Hashtags: #jev #jevAi #aiAgents #jevUseCases #ai #claude #ClaudeCode #vibeCoding
