REPOSITORY ANALYSIS

kody

Optional second-stage search: widen the hybrid pool, then Score-rerank candidates with Workers AI typesafe/jev.

E2 · source reviewedPublic material or source evidence was reviewed. A fixed-version source review requires checking a pinned revision; this is not a reproduction, performance endorsement, or safety guarantee.
Stars
672
Forks
66
License
—
Last commit
2026-09-24

What Jev does here

Sends a Score question per candidate, reorders and drops low scores; the model id is typesafe/jev.

Attaches Jev rerank to existing MCP search instead of replacing retrieval. License is Fair Source FSL-1.1-ALv2, not OSI open source.

Pinned public source was reviewed. The license is FSL-1.1-ALv2. This site did not execute the project or independently measure performance or safety.

What task does this project fit?

Add an optional ambiguity-sensitive second stage to Kody’s hybrid MCP search.

Material analysed:

From input to action

  1. Eligibility and necessity code decides whether a candidate pool warrants Jev.
  2. Candidates become compact cards and Score questions in batches of eight.
  3. Low scores are filtered; failures or mean confidence below the local floor restore hybrid order.

Implementation details that matter

Not every search calls Jev

The source guards paid-plan/feature eligibility and skips small pools or clear winners. Comparing only reranked examples would omit the larger routing policy.

Inspect the supporting source ↗

A fallback is part of the product behavior

The source defines a 0.45 mean-confidence floor and a 1.5 keep-score threshold on a 0–3 rubric. These are Kody policy choices, not universal Jev thresholds.

Inspect the supporting source ↗

When to choose it

Useful when hybrid results are ambiguous and a compact candidate card contains enough evidence. Compare with memsearch when complete passage text matters more than small-card cost.

How to inspect it yourself

Read evaluateJevSearchNecessity and the batch constants in search-jev-rerank.ts. Follow a clear winner to the skip branch, then a malformed/incomplete batch to fallback rather than treating it as a successful rerank.

Limits of this review

  • No Workers AI or Gateway request was sent.
  • Kody’s FSL license is source-available, not an OSI open-source license.
Primary material used in this analysis