shipwithjev

Catalog / Tools & apps

0107GitHub

pi-jev

A Pi extension: Jev picks the file excerpts, a local model writes the code.

madeye/pi-jevREADME ↗
# pi-jev

Speed-focused [Pi](https://pi.dev) extension combining a local coding model with hosted [TypeSafe Jev](https://docs.typesafe.ai/concepts/how-to-build-with-system-one) judgments. File retrieval reduces context sent to the generator; exact-result caching and an outage cooldown bound repeated network overhead. Qwen, DeepSeek, and other generators continue to write code and use Pi's tools.

**This does not accelerate model inference.** It targets end-to-end latency by retrieving focused excerpts and avoiding redundant hosted calls. Every uncached Jev call adds latency. Reading small files directly is often cheaper. See the retained positive and negative measurements in [VALIDATION.md](VALIDATION.md).

## Install into Pi

`pi-jev` is a Pi package that exposes one extension (`./src/index.ts`). Full instructions live in [docs/install.md](docs/install.md).

```sh
npm ci                              # install test/benchmark dependencies

# Try it for one session, nothing written to settings:
pi -e ./src/index.ts --model opencode-go/deepseek-v4.1-flash

# Register this checkout persistently (global settings):
pi install "$(pwd)"

# Or for one project only (writes .pi/settings.json):
pi install -l /absolute/path/to/pi-jev

# From git, pinned to a tag or commit:
pi install git:github.com/madeye/pi-jev@v0.1.0
```

Verify and manage the install with `pi list`, `pi config` (enable/disable resources),
`pi update --extensions`, and `pi remove <source>`. Inside a session, `/jev status`
shows whether the extension is active. The hosted key is read from the environment at
load time: `export TYPESAFE_API_KEY=...`. `TYPESAFE_BASE_URL` points the same requests at a
self-hosted Jev-compatible server instead, with `TYPESAFE_REQUEST_EXTENSIONS` and
`TYPESAFE_CONFIDENCE` for tuning it (

Also filed under Tools & apps

  1. 0616

    Jevstiller: distill Jev calls into a local model

    A self-hosted proxy that trains a local model on Jev's answers. It served 72% of Banking77 locally at 15 ms, with a 2% audit and a bound on disagreement.

    tomerglick57 · Tools & apps · 15 ms local

  2. 0611

    Scruple: code checks for what linters miss

    Semantic-aware linting with System One models: rules you can state in a sentence, checked against your code by Jev.

    @nalexpeae · Tools & apps

  3. 0606

    Algolia-style Postgres search with a Jev reranker

    Typo tolerance, typeahead, barcodes and facet counts in plain Postgres SQL, plus an optional Jev step that asks one question per top-10 result.

    @alex_forman1 · Tools & apps

  4. 0604

    Virtual Closet: outfits from closet videos

    built a virtual closet & outfit generator from raw closet videos. classification + semantic search thanks to jev 🥰. clueless closet dreams finally coming to life

    @maitreemervana · Tools & apps