New:Introducing Socket Scanning for VS Code Marketplace Extensions.Learn more →
Get Started

@apixly/jev-filter

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@apixly/jev-filter

Give AI agents the signal: typed decisions, traceable evidence and bounded execution. Native runtime included.

Source
npmnpm
Version
0.4.1
Version published
Weekly downloads
274
2944.44%
Maintainers
1
Weekly downloads
 
Created
Source

Jev Filter: give your agent the signal. Collect once, decide with context, return the proof.

CI Latest release npm version MIT license

简体中文 · Quick start · Documentation · Agent setup · Benchmarks · Releases

Give your agent the signal. Keep the evidence. Jev Filter turns large tool outputs into compact, typed decisions before they enter your agent's context. Commands, code, logs and page records stay inside the program; your agent receives relevant evidence and the IDs that need its attention.

91.6–97.2% less returned tool context. 24/24 exact ID sets. Measured on 24 real agent runs over three synthetic scenarios, two primary models and two repetitions per arm on 2026-10-04. Every original remains recoverable by ID. Live evidence and trade-offs →

More signal. Less work for your agent.

Focus the agentMake every decision traceableLet the program finish the job
Filter large batches against the task and supplied context. The primary model spends its attention on the selected evidence and difficult cases.Typed answers, source IDs, local originals and receipts. Missing facts, uncertain choices and partial failures stay visible.For short browser and desktop goals, Jev chooses from observed controls; the program owns execution, safety gates and final-state verification.

The result is a useful division of labor: programs collect and verify; Jev makes repeated semantic judgments; your agent plans, reasons and writes. Automatic batching reduces repeated input, up to 30 requests run concurrently, and no result cache hides a new observation.

Proven where your agent actually works

Put the signal in the conversation, keep the full trace within reach. In the fresh whole-operation A/B, the filtered agent completed 12/12 runs; raw context completed 11/12. All 24 runs returned the expected ID sets. This measures collection, real primary-agent tool use and continuation together.

Find more of the behavior you meant. Opt-in code recall plus native Jev filtering recovered 10/12 labeled matches, versus 4/12 for exact candidates, with zero false positives. Bounded diff triage selected all four target changes in both repetitions. Originals and source freshness remain independently checkable.

Use the route you already have. 13/13 paid interface checks passed across the Python CLI, a fresh published npm install, JavaScript, official MCP, local page extraction and survey. You get the same evidence contract without rebuilding your agent.

The context gain is the strongest result. Five of six whole-operation cells were slower; a cheap-model exec cell cost 1.1% more in the cold API-equivalent estimate. Smaller context does not guarantee lower latency or billing. Numbers, methods and negative results →

Agent integration examples → · Command reference →

Quick start

Node.js 22+ · macOS / Linux · Python included in the npm distribution. Windows: use WSL or install Python natively. Installation and doctor are offline; inference needs a TypeSafe Jev API key.

npm install -g @apixly/jev-filter
jev-filter doctor

Run this from any directory:

export TYPESAFE_API_KEY='your-key'

jev-filter query --input - --mode choose \
  --task 'Choose the CURRENT unresolved DNS failure' <<'JSON'
[
  {"id":"a","text":"DNS recovered; requests now succeed."},
  {"id":"b","text":"DNS lookup still fails before connection."}
]
JSON

Expected selection, with diagnostics omitted:

{"selected_ids":["b"],"review_ids":[],"complete":true}

For real batches, collect and filter in one call, before raw output reaches the conversation:

jev-filter exec --task 'Find unresolved network failures' \
  --analysis analysis.json -- your-collector --json

Start with the copyable analysis contract. Parse the packet even on exit 2: complete=false and review_ids need attention. Small examples teach the interface; exact paths, IDs, selectors, calculations and short outputs usually belong in native tools. Installation, keys and result handling →

Measured advantages

Fresh paid live evidence · 2026-10-04. Inputs, source hashes, per-run tokens, complete timing and failures are public. Each result belongs to its stated scope.

AdvantageObserved resultScope and trade-off
Keep the agent's context focused91.6–97.2% less returned tool context; filtered completion 12/12, raw 11/12; all 24/24 ID sets correct.24 real agent runs, three synthetic scenarios, two primary models, two repetitions per arm. Five/six cells slower by 0.1–18.4%; cold API-equivalent cost ranged from 23.2% lower to 1.1% higher. Subscription billing remains unknown. Data
Recover more relevant codeCorrect matches 4/12 → 10/12, zero false positives.Exact vs opt-in recall, both with native semantic filtering. Returned context grew 5,284 → 9,706 bytes; absent lexical overlap still misses. Data
Inspect the change that mattersAll 4/4 target changes selected in each repetition; returned context 23.9% lower than retaining every file.Eight synthetic files, two repetitions. Semantic triage adds model usage and increases median whole-operation time 503 → 1,465 ms. Data
Batch repeated judgments efficiently56.5% fewer Jev input tokens and 61.2% faster batch-parallel operation than single-record parallel.96 synthetic records × two predicates, three repetitions; all 12/12 runs exact. Jev stage only, not whole-agent speed; parallel worker cap 12. Data
Connect real interfaces13/13 paid E2E checks pass, including exact MCP evidence recovery and 64/64 survey topic labels.Python CLI, fresh npm 0.4.0 JS/native package, official MCP, local Chromium extraction and survey. Small synthetic fixtures; resolved model identity is unavailable from these public adapters. Data
Reach inside a scroll containerVerified nested-scroll completion 0/3 → 3/3 under the same strict 0.55 / 0.10 policy.Pinned browser source A/B; program adds observed container evidence. Six ordinary goal runs still need review. More successful work consumes more calls, context and time. Data
See the new whole-operation chart and reproduce the results

Fresh whole-operation context reduction, API-equivalent cost and latency changes

Method and all live results · Per-run JSON · CSV · Reproducible driver

Earlier evidence: offline contracts, batching and open-web limitations
ExperimentDated resultScope
Offline release contracts · 2026-10-043/13 → 13/13 expected behaviors; 3 → 0 false fixture actions.Scripted responses, no model calls; reviews and diagnostic context increase. Data
Jev batching · 2026-09-2256.5% fewer input tokens; batch + parallel 32.4% faster than single-record parallel.96 synthetic records × two predicates, two repetitions; Jev stage only. Data
Historical whole operation · 2026-09-2388–97% less returned tool context.48 runs over four synthetic scenarios; cost and latency vary. Data
Historical hosted fixtures · 2026-09-30Browser 15/15 Camofox, 18/18 CDP; desktop 12/12.Local fixtures under the then-current planner policy; not a current strict-policy or open-web completion guarantee. Data
Public websites · 2026-09-3016/48 read-only goals reached; 16/34 after excluding access walls and provider failures.24 goals in one environment. Custom widgets and verification were weak. Data

Full methods and historical data. The latest browser experiments retain failed pruning variants and unknown provider attempts; they do not turn a safe stop into a completed goal.

Watch the program turn a goal into a verified result

Recorded synthetic shop run: Jev selects observed controls, the program pauses before placing an order, and verification follows confirmation

Each step observes the page or window, lets Jev choose from program-enumerated operations and controls, rechecks the target, executes and verifies. Model output never becomes a selector, coordinate, command or unvetted text. Irreversible actions pause for confirmation.

jev-filter browse --url https://shop.example/ \
  --goal 'Find in-stock red shoes in size 42' \
  --value query='red shoes' --verify-text 'Search results'

Replace the example URL with your permitted test page and meaningful verifier. For browse and desktop, require status: done and an independent final-state check; extract and survey require ok and complete. A selected action or model-reported DONE alone is not proof of completion. A separate verified primary-planner reference reached 6/6 expected outcomes after strict review; it adds substantial model time and is not an automatic fallback shipped in the product.

Interactive replay: browser, desktop, survey · Recording method · Safety gates and limitations

One core, your existing agent

CLI · Python · JavaScript / TypeScript · MCP. Use the shell, embed jev_filter.batch.run, import createClient from @apixly/jev-filter, or expose four read-only MCP tools. Each route keeps evidence and partial results in the same core. JavaScript and MCP examples →

Install the supplied skill for Codex, Claude Code or another compatible harness:

# Codex; use ~/.claude/skills for Claude Code.
mkdir -p ~/.codex/skills
cp -R "$(npm root -g)/@apixly/jev-filter/skills/jev-filter" ~/.codex/skills/

Give the agent one routing rule:

Use jev-filter for many records that need a clear semantic judgment.
Pass the task, scope, exclusions, success criteria and sourced facts.
Keep collection → analysis → compact output inside one tool call.
Inspect unresolved IDs; use native tools for exact or short work.
Do not repeat settled judgments or wrap an existing Jev workflow again.

Jev does not inherit the agent's chat. Put shared facts in context, history on each record, and declare required fields. Keep authorization and execution verification in your host program. Five-minute setup → · Full integration guide →

Find the right entrypoint for your task
TaskCommand / APIGuide
Capture a trusted command's outputexecCollector recipe
Select or classify JSON candidatesqueryContext-aware selection
Locate code behaviorcode-searchComplete code symbols
Review a bounded Git changediff-reviewCLI reference
Triage related JSON/JSONL eventstriageCorrelated logs
Select a control on a local Camofox pagelocateBrowser selection
Complete a short web goal or extract page recordsbrowse · extractHosted browser guide
Complete a Windows/macOS app goaldesktopDesktop guide
Classify and summarize many recordssurveySurvey guide
Embed typed inference in Pythonjev_filter.batch.runPython integration
Measure labeled decisions offlineevalEvaluation example
Connect a Node.js program or an MCP hostcreateClient · mcpIntegration examples

Inspectable from input to release

  • Bounded, uncached inference. Automatic batching and at most 30 requests in flight; no result cache.
  • Local evidence and numeric telemetry. Private archives support original-by-ID recovery. An optional local dashboard shows usage, unknowns and negative net values; input-equivalent estimates are not invoice savings.
  • Explicit trust boundaries. Inference inputs go to TypeSafe. exec runs your trusted command and is not a sandbox. Hosted execution keeps freshness, origin and desktop safety gates. Security policy
  • Portable, verifiable releases. Python core, bundled npm platform packages, checksums and build provenance. Distribution and recovery

The legacy jev-context command and Python imports remain compatible. Jev Filter is independently maintained by Apixly / JIA-ss and is not affiliated with TypeSafe.

Contribute

git clone https://github.com/apixly-ai/jev-filter.git
cd jev-filter
python -m venv .venv && . .venv/bin/activate
python -m pip install -e '.[code,dev]'
sh scripts/check.sh
npm test

Contributing · Development and releases · Changelog · Report a bug · MIT license

FAQs

Package last updated on 04 Oct 2026

Related posts