Jev AI tool · Agent tooling

omp-jev-compaction

omp-jev-compaction is a Jev AI ecosystem project that helps with shrinking omp agent context without rewriting user text or wrecking provider prompt caches. Verbatim Jev-scored context reduction for Oh My Pi (omp), over TypeSafe or OpenRouter — drop stale tool payloads, keep dialogue intact.

9 starsTypeScriptUpdated 2026-09-25@jerryfane

What omp-jev-compaction does

omp-jev-compaction is an omp plugin that reduces long agent sessions by scoring tool calls and tool results with Jev (TypeSafe System One or OpenRouter’s decisions path) and truncating only what the model marks as no longer needed. User and assistant prose pass through unchanged — nothing is summarized or paraphrased — which matters when you need byte-stable prefixes for provider prompt caching. Sticky mode remembers prior rewrite decisions so the covered prefix stays identical across many requests; a cache guard can skip reduction when a session is already mostly served from cache. The scoring core is vendored from fast-jev-compaction and adapted to omp’s plugin surface. Install is a single omp plugin command; continuous reduction defaults on with tunable growth thresholds. Reach for this when omp sessions bloat with tool noise and you want Jev to decide what to park rather than blindly truncating the oldest messages.

Where it fits in the Jev stack

  • Long omp coding sessions with hundreds of tool results
  • Protecting prompt-cache hit rates while still dropping dead tool payloads
  • Comparing TypeSafe vs OpenRouter as the decision backend for compaction

Browse more in Agent tooling, or return to the Jev AI tools directory.

Install & try

Needs TYPESAFE_API_KEY or OPENROUTER_API_KEY. Disable with OMP_JEV_CONTEXT=0.

omp plugin install jerryfane/omp-jev-compaction

Source repository

Full docs, issues, and release history live on GitHub. This directory page is an independent overview for discovery inside the Jev AI tools catalog.

github.com/jerryfane/omp-jev-compaction

This site is an independent third-party directory of Jev AI tools and is not affiliated with, endorsed by, or operated by TypeSafe AI.