Skip to main content

jev-compatible-server

Run open decision models behind a Jev-compatible API.

Documentation · API · Models · Contributing

Quickstart

Install uv, then start the server with the Transformers backend:

uvx --from 'jev-compatible-server[transformers]' \
  jev-compatible-server --model bosun-v3.1-0.6b

Send a decision request to POST /v1/systemone:

curl http://localhost:8000/v1/systemone \
  --header 'content-type: application/json' \
  --data '{
    "state": "A customer says they were charged twice.",
    "questions": {
      "route": {
        "type": "choice",
        "instructions": "Which team should own this ticket?",
        "criteria": {
          "billing": "Payment, invoice, or refund problems",
          "technical": "Product bugs and technical failures"
        }
      }
    }
  }'

--model pins one bundled registry entry, downloads it from Hugging Face when needed, and loads it before the server begins accepting requests. Requests may omit model; the server rejects a request that names a different model. See the API reference for all question and response types.

Installation

uvx installs the server into an isolated environment and runs it directly. Select the extra for the inference backend you need:

# Hugging Face Transformers models
uvx --from 'jev-compatible-server[transformers]' \
  jev-compatible-server --model bosun-v3.1-0.6b

# llama.cpp/GGUF models
DECISION_BACKEND=llama \
DECISION_MODEL_PATH=/path/to/model.gguf \
uvx --from 'jev-compatible-server[llama]' jev-compatible-server

Omit --model to run the bundled registry in multi-model mode. In that mode, each request may select a registry alias with its model field, and requests without one use the registry default (kev-4b). Custom GGUF models and registries require the environment described in the model recipe guide.

Description

jev-compatible-server is an open inference runtime for decision models. It accepts one shared state with one or more typed questions, runs the selected model through llama.cpp or Hugging Face Transformers, and returns normalized choice, score, and noul answers. Models that implement only part of that contract return an explicit unsupported result for each incompatible question without discarding compatible answers in the same request.

The HTTP interface implements Jev's POST /v1/systemone request and response shape so applications can move between hosted Jev and self-hosted models without replacing their decision API.

Goals

  • Provide a common runtime for open decision models, as llama.cpp does for language models.
  • Preserve the Jev API contract for straightforward application cutover.
  • Keep model behavior declarative when an existing backend and readout can run it.
  • Support multiple execution engines without coupling applications to model architecture.
  • Make batching, model coverage, and compatibility behavior explicit and testable.

Supported backends

Backend Model format Built-in readouts
llama.cpp GGUF token logits
Hugging Face Transformers Transformers checkpoints token logits, native Bosun decision tokens, pointer head, encoder-decoder margin, scalar sequence classifier, hidden-state probe

Backends execute the neural network; readouts convert model outputs into typed decision probabilities. See models and backends for supported checkpoints and the exact distinction.

Documentation

Contributing

Contributions for new backends, reusable readouts, model recipes, tests, and documentation are welcome. See CONTRIBUTING.md before making a change.

Acknowledgements

jev-compatible-server builds on llama.cpp, llama-cpp-python, Transformers, FastAPI, and uv. It also depends on the authors who publish open decision-model checkpoints and document their readout contracts.

Release files for jev-compatible-server 0.1.1

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

Source distribution (sdist)

Source distribution for jev-compatible-server 0.1.1
File Size Uploaded
jev_compatible_server-0.1.1.tar.gz 57.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for jev-compatible-server 0.1.1
File Interpreter ABI Platform
jev_compatible_server-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 131.6 kB

Release files / jev_compatible_server-0.1.1.tar.gz

Download URL jev_compatible_server-0.1.1.tar.gz
Size 57.5 kB
Tags Source
SHA-256 checksum
How to use checksums
f688196365fbfe74eceb5e57a3afee7bb2307d17d813e1a0bc2d67512f46b965
BLAKE2b-256 checksum
How to use checksums
26fe1ca1abd75b3849c5d143f79f9c452fd06eef9effbece95ca326c5ef3edcd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","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":null}

Release files / jev_compatible_server-0.1.1-py3-none-any.whl

Download URL jev_compatible_server-0.1.1-py3-none-any.whl
Size 74.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b70609ef4d4e954a311f00c4184939e87421c60e4e9f159972e51664bbd9a5ce
BLAKE2b-256 checksum
How to use checksums
10b23f8493a7de9d91f272dec53a493e29c3539b91fb03d60bd4af4970d364f7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","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":null}

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

2 release files

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