Jevvy

September 21, 2026 · View on GitHub

Jevvy

Fast probabilistic judgments inside coding-agent workflows

A plugin collection powered by TypeSafe's System One model.

Jevvy Permissions

npm version npm downloads

The permissions plugin auto-approves harmless shell permission requests. Anything uncertain continues through your agent's normal permission flow.

OpenCode (v2)

OpenCode demo showing git status asks without Jevvy Permissions, runs automatically with it, and rm -rf still asks

Claude Code

Claude Code demo showing a routine Bash command asks without Jevvy Permissions, runs after a one-action hook approval with it, and a risky command outside the project still asks

Quickstart

Node.js 22.19 or newer is required.

npx @jevvy/permissions init

Manual setup

OpenCode

opencode plugin add @jevvy/permissions

Claude Code

/plugin marketplace add PanAchy/jevvy
/plugin install jevvy-permissions@jevvy

How it works

Each coding agent evaluates its own permission policy first. Existing allow and deny decisions stay final. Jevvy Permissions reviews only unresolved shell approval requests. It approves only the current action when every inquiry passes. Otherwise it abstains, leaving the agent's remaining permission flow unchanged.

flowchart TD
    rules[Coding agent permission policy]
    rules -->|Allow| run[Run the command]
    rules -->|Deny| block[Block the command]
    rules -->|Approval request| review[Jevvy Permissions reviews]
    review -->|Every inquiry passes| approve[Approve this action]
    review -->|Anything else| remaining[Continue the remaining permission flow]
    approve --> proceed[Coding agent continues]
    proceed -->|No further check| run
    proceed -->|Prompt or check required| remaining

Configuration

Jevvy Permissions reads one global file at ~/.config/jevvy/jevvy.jsonc. Project repositories cannot override it. JSONC comments and trailing commas are supported. Keep $schema for editor validation and autocomplete.

{
  "$schema": "https://raw.githubusercontent.com/PanAchy/jevvy/main/config.schema.json",
  "provider": "typesafe",
}

Providers

ProviderproviderCredential sources
OpenCode Zenzenproviders.zen.apiKey or OPENCODE_API_KEY
TypeSafe AItypesafeproviders.typesafe.apiKey or TYPESAFE_API_KEY
OpenRouteropenrouterproviders.openrouter.apiKey or OPENROUTER_API_KEY
Vercel AI Gatewayvercelproviders.vercel.apiKey or AI_GATEWAY_API_KEY
Custom endpointcustomOptional providers.custom.apiKey

The plugin uses only the selected provider and never falls back to another one.

Custom System One endpoint

Select custom to use any HTTP endpoint that accepts the System One request shape and returns typed System One answers:

{
  "$schema": "https://raw.githubusercontent.com/PanAchy/jevvy/main/config.schema.json",
  "provider": "custom",
  "providers": {
    "custom": {
      "endpoint": "https://system-one.example.com/v1/decisions",
      "model": "your-model",
      "apiKey": "your-api-key",
    },
  },
}

Custom endpoints use the shipped approval policy unless you replace it. The shipped calibration evidence applies only when the route is verified to serve the calibrated Jev model.

Approval policy

By default, Jevvy Permissions requires all four shipped questions to pass:

QuestionWhat it checksPass condition
HarmfulCould the command cause meaningful harm that deserves review?Noul ≤ 0.35
SensitiveDoes the command risk exposing credentials, private data, or security-sensitive material?Noul ≤ 0.50
UntrustedDoes the command execute newly obtained, installed, generated, or concealed code?Noul ≤ 0.50
ObscuredIs the command's consequential behavior hidden, indirect, or materially uncertain?Noul ≤ 0.50

The four shipped questions, thresholds, and model identities were calibrated together against eval/commands.json. The set includes harmless controls and commands that must remain prompts; any must-ask auto-approval disqualifies a calibration run. Custom policies are not covered by this evidence.

Custom policies replace all shipped questions. Define a non-empty map of risk-oriented System One Nouls, each with a permission threshold:

{
  "permissions": {
    "questions": {
      "harmful": {
        "type": "noul",
        "instructions": "Could this command cause meaningful harm that deserves human review?",
        "criteria": {
          "false": "Routine or harmless",
          "true": "Potentially harmful",
        },
        "threshold": 0.35,
      },
    },
  },
}

A Noul answer is the probability that the answer is yes. Each Inquiry passes only when its answer is no greater than its threshold. See TypeSafe's Noul documentation.

Calibrate custom questions

Install the optional calibrate-permissions skill when you want an agent to design or validate a custom policy:

npx skills add PanAchy/jevvy --skill calibrate-permissions

The skill runs jevvy-calibrate against the plugin's bundled baseline. Focused command corpora are optional for risks the baseline does not represent. Calibration produces one append-safe JSONL artifact containing metadata, every raw score, and a final summary.