Skip to content
JevDirectory.org
CommunityTools & Integrations63 starsVerified 2026-09-22

save-token-jev

A Jev-guided context compaction library for coding agents: instead of summarizing old context, Jev decides which tool calls and results still matter while user and assistant text is kept verbatim.

Category
Tools & Integrations
Published by
Community
Author
IAmUnbounded
Added
2026-09-22
Tagscommunitytypescriptcompactioncoding-agentclaude-codecodex

Highlights

  • Each tool call is kept with its full result, kept with a bounded result, or removed together with its result; text blocks are never summarized or deleted.
  • Adapters cover Codex CLI, OpenCode V2, Claude Code, the Anthropic API, and OpenAI Responses or Chat Completions transcripts, plus a generic format.
  • Codex integration scores before built-in compaction and injects retained context at SessionStart; missing keys or low reduction fall back to native compaction.
  • Node 20 or newer is required and the runtime package has no third-party dependencies; on macOS the key can live in the Login Keychain.
  • The README notes token counts are estimates and that Jev probabilities are decisions, not proofs, so expensive sessions warrant a higher threshold.

Quickstart

bash
npm install
npm run check
export TYPESAFE_API_KEY="YOUR_API_KEY"
save-token-jev compact --format anthropic --input transcript.json --output compacted.json

Watch out

MIT-licensed. Needs Node.js 20+ and a TYPESAFE_API_KEY (or a macOS Keychain entry); integrations fail open to the host's native compaction.

More like this

22GitHub stars
An experimental local context-pruning proxy for Claude Code and Codex that asks Jev, through the Vercel AI Gateway, which history spans to omit, then forwards a rewritten request with omission markers.
Tools & Integrations#community#typescript#compaction
Communityyoshi
6.2kGitHub stars
A Claude Code plugin and npm library that replaces transcript summarization with Jev keep-or-drop judgments, deleting stale tool calls and results while kept text stays verbatim.
Tools & Integrations#community#typescript#claude-code
201GitHub stars
A local-first MCP server that gives Claude Code, Codex, Cursor, and OpenCode structured quality scores from Jev across correctness, complexity, tests, security, and other dimensions while the agent writes code.
Tools & Integrations#community#typescript#mcp
Communityjev-review
Back to all resources

From the community

Posts from builders shipping with Jev right now.

Follow @typesafeai

Classifying rows in DuckDB

A playable 16-judgment demo

AI multiple choice, not essay writing

Screening agent actions with Jev

Tested TypeSafe’s Jev (no-text, probability-only model) as an AI agent safety monitor. Checking each action first worked well caught most attacks with almost no false blocks, and much faster than Gemini.

Image
Image
Image
Diogo Almeida
Diogo Almeida
TypeSafe AI
@CompleteSkeptic

After co-inventing ChatGPT, I kept asking myself: why have superhuman chat models not led to AGI? I’ve spent the last 2 years in stealth building a new way to train models (RLCD), and a new type of frontier AI model that we are releasing today: Jev • 20-200x faster • 40-400x

Reply

Cua's small System One models

A 706K-parameter form filler

cua open sourced a 706k param model that fills a whole form in one 50ms pass the llm agent doing the same form took 23 turns and 39.6 seconds the specialists are going to eat the generalists from the bottom

Cua
Cua
@trycua

1/ Introducing CUA-S1: a family of System One Models, small, specialized, and built for computer use. Today we're open-sourcing CUA-S1-FORMS, the first in the family: github.com/trycua/cua

Image
Reply