Skip to main content

jigor — System One decision gateway

Ask System One decision models with noul, choice and score questions: one JSON wire in, typed JSON answers out. von and laya run locally as ONNX — no API key; jev runs remote on OpenRouter Decisions.

This package installs the jigor console script. It is a Rust binary, not a Python module — there is nothing to import; call it from the shell, subprocess, or run it as a service (jigor serve).

Install

uvx jigor --help        # one-off, no install
uv tool install jigor   # ~/.local/bin/jigor
pip install jigor       # or: pipx install jigor

Quick start

uvx jigor ask --model von <<'JSON'
{
  "state": { "error": "Disk volume /var/log at 98% capacity." },
  "questions": {
    "requires_intervention": {
      "type": "noul",
      "instructions": "Does this disk space condition require operational intervention?"
    }
  }
}
JSON
{"answers":{"requires_intervention":{"noul":0.7822,"type":"noul"}},"backend":"local","model":"von-1.0.0"}

Every question carries instructions plus an optional criteria (object or list) that spells out how to judge the state. Answer shapes are the same on every backend:

  • noul → {"type":"noul","noul":0.7822} — probability of yes in [0, 1]
  • choice → {"type":"choice","choice":"refund","confidence":0.91,"probabilities":{...}}
  • score → {"type":"score","score":1.0,"confidence":0.7,"probabilities":{...},"legend":{...}}
{
  "state": "Invoice charged twice for order #4471.",
  "questions": {
    "domain": {
      "type": "choice",
      "instructions": "Classify the root cause domain.",
      "criteria": { "billing": "Invoices, payments, refunds", "infrastructure": "Database, network, hardware" }
    },
    "severity": {
      "type": "score",
      "instructions": "Assess degradation level.",
      "criteria": ["Nominal operation", "Degraded performance", "Critical risk"]
    }
  }
}

From Python: the HTTP gateway

jigor serve --host 127.0.0.1 --port 8000
import requests

r = requests.post("http://127.0.0.1:8000/v1/systemone", json={
    "model": "von-1.0.0",
    "state": {"error": "Disk volume /var/log at 98% capacity."},
    "questions": {
        "requires_intervention": {
            "type": "noul",
            "instructions": "Does this disk space condition require operational intervention?",
        }
    },
})
r.json()["answers"]["requires_intervention"]["noul"]   # 0.7822

GET /healthz returns {"status":"ok"}; POST /v1/systemone takes the same body as jigor ask.

Models

--model takes an alias (von, laya, jev, jev-latest) or a full id (von-1.0.0, typesafe/jev-1.13); jigor models lists every provider × model pair. The local ONNX models download from Hugging Face to ~/.cache/huggingface on first use and are cached afterwards; the remote jev backend needs OPENROUTER_API_KEY.

Platforms

  • macOS — macosx_11_0 universal2 wheel (Apple Silicon + Intel) and Windows x86_64 — prebuilt binary, nothing to compile.
  • Linux — sdist only: pip builds the Rust binary at install time (needs rustup, a few minutes; ONNX Runtime prebuilts are downloaded during the build). No manylinux wheel yet — the ort prebuilt requires glibc ≥ 2.38.

The wheels carry no Python dependencies (py3-none-<platform> tags).

Source, Rust crates and npm packages: https://github.com/Partysun/jigor

Metadata

Release files for jigor 0.1.14

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for jigor 0.1.14
File Size Uploaded Provenance Actions
jigor-0.1.14.tar.gz 123.7 kB Without provenance Details for jigor-0.1.14.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for jigor 0.1.14
File Interpreter ABI Platform Actions
jigor-0.1.14-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details for jigor-0.1.14-py3-none-win_amd64.whl
jigor-0.1.14-py3-none-macosx_11_0_x86_64.macosx_11_0_arm64.macosx_11_0_universal2.whl Python 3 none macOS 11.0+ x86-64, macOS 11.0+ universal2 (ARM64, x86-64), macOS 11.0+ ARM64 Details for jigor-0.1.14-py3-none-macosx_11_0_x86_64.macosx_11_0_arm64.macosx_11_0_universal2.whl

Total release size: 25.2 MB

Release files / jigor-0.1.14.tar.gz

Download URL jigor-0.1.14.tar.gz
Size 123.7 kB
Tags Source
SHA-256 checksum
How to use checksums
4407e4c88266972e3dda650b773b50fe82104b57d5093e647c6c99bbb94a0b0f
BLAKE2b-256 checksum
How to use checksums
f257037a061ebc406677deb159dd28bb74b7f7f32cf341fedb38127db21bd8dc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.4 {"installer":{"name":"uv","version":"0.13.4","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / jigor-0.1.14-py3-none-win_amd64.whl

Download URL jigor-0.1.14-py3-none-win_amd64.whl
Size 8.5 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
0cb585c9f7717e177608f6b8719f219d10fb6805382c021b65ca6cb93dab284f
BLAKE2b-256 checksum
How to use checksums
ae42e92ba3e35ae84ccff5f1b3bf09ba963f6770e41b619170430bf41f0599f9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.3 {"installer":{"name":"uv","version":"0.12.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / jigor-0.1.14-py3-none-macosx_11_0_x86_64.macosx_11_0_arm64.macosx_11_0_universal2.whl

Download URL jigor-0.1.14-py3-none-macosx_11_0_x86_64.macosx_11_0_arm64.macosx_11_0_universal2.whl
Size 16.6 MB
Tags Python 3 macOS 11.0+ ARM64 macOS 11.0+ universal2 (ARM64, x86-64) macOS 11.0+ x86-64
SHA-256 checksum
How to use checksums
65b2ac6d06fb1b3fbbc6244d4d3f4b03a58f9570e880d0a6f293b8dbb0ed8685
BLAKE2b-256 checksum
How to use checksums
d02be1a12528a40597172a0fda3898734d70833d93888362d612450cf8b01d75
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.21 {"installer":{"name":"uv","version":"0.12.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for jigor 0.1.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page