Built with Language integrations

AnyDecisionModel

A Swift package for typed decisions from language models (probabilities, choices, and scores), with support for local MLX models and the TypeSafe Jev API.

46 ★ on GitHub

What it is

AnyDecisionModel is a Swift package for typed decisions: yes-or-no probabilities, choices among options, and scores on ordinal scales. The API follows the model-and-session pattern of Apple's Foundation Models framework and AnyLanguageModel.

Getting started

From the README:

dependencies: [
    .package(url: "https://github.com/mattt/AnyDecisionModel", from: "0.6.0")
]

Where the decision sits

AnyDecisionModel calls the hosted decision API rather than running its own weights. That keeps the project small and means its behaviour moves whenever the vendor ships a new model version. It also means an API key and a network round trip sit in the path of every decision.

Models it references: Jev, jev, laya, laya.

How active it is

Created 2026-09-21, last pushed 2026-10-17, 46 stars and 4 forks when we read it on 2026-11-02. Everything in this category is weeks old at most, so a stale push date means something different here than it would on a mature project. Check the repository before you depend on it.

Find out what your data actually supports

We turn your historical decisions into a frozen test set, then tell you which model, which threshold, and how much of it you can safely automate.