wyat
Decisions, made locally.
wyat.io · wyat-1-800m · Documentation
wyat chooses between options your application defines. You provide a message and a set of candidates. A small local model returns the ID of one of them. The model was trained on French and English decisions. Nothing leaves your machine, and nothing runs until you act on the result.
The model is wyat-1 800M.
It runs with PyTorch on CPU, CUDA or Apple MPS, or with MLX on Apple Silicon.
Version 0.2.0 also loads wyat-2 1.4B
from a downloaded model/ directory.
Version 0.2.0 downloads its pinned
release and verifies every file before loading.
Try it
No model required. The demo uses fixed scores to show the interface.
git clone https://github.com/teilomillet/wyat && cd wyat
uv run python examples/quickstart/main.py --demo
# Selected: cancel
Install
Python 3.12 or newer, with uv.
uv add wyat --extra inference # PyTorch: CPU, CUDA or Apple MPS
uv add wyat --extra mlx # MLX on Apple Silicon
Add --extra server to serve over HTTP. The core alone (uv add wyat) has
no dependencies. Model weights are separate from the package. wyat.load()
downloads and verifies wyat-1 800M on first use, then reuses the verified cache.
Run uv run wyat download to fetch it ahead of time. Inference itself never
uses the network.
The default backend is PyTorch on CPU. On Apple Silicon, install the mlx
extra and select backend="mlx" in Python or --backend mlx on the CLI to use
the Apple GPU. The examples below do this explicitly.
Use it
On Apple Silicon with the mlx extra:
import wyat
model = wyat.load("teilomillet/wyat-1-800m", backend="mlx")
decision = model.decide(wyat.Request(
query="Choose the requested booking action.",
context="Please cancel my booking.",
candidates=[
wyat.Candidate(id="create", text="Create a booking"),
wyat.Candidate(id="cancel", text="Cancel the booking"),
],
))
decision.selected # one of your IDs, such as "cancel"
Load once. Decide many times. The same request and result work in Python, JSONL, and HTTP:
uv run wyat decide teilomillet/wyat-1-800m --backend mlx < requests.jsonl > decisions.jsonl
uv run wyat serve teilomillet/wyat-1-800m --backend mlx
For PyTorch with the inference extra, use backend="torch" in Python or
--backend torch on the CLI. It uses CPU by default; add device="cuda" or
--device cuda for CUDA, or device="mps" / --device mps for Apple MPS.
Besides choosing an option, wyat rates on an ordered scale (Request.score)
and answers yes or no with a probability (Request.noul).
Workflow examples
Start with the workflow examples and integration guide: ten runnable examples show how inputs become decisions and application actions. Use the included sample data, then supply your own JSON with the file-input runner. The guide explains setup, output fields, and how to reuse each function in your application; the recorded model results include both successes and failures.
Documentation
| Quickstart | Your first decision, step by step |
| Embedded demo | A coding agent acting on wyat's choice |
| Python API | Requests, results, batching, serving, evaluation |
| Workflows | Routing, review, recovery |
| Explaining decisions | Reading scores and owning policy |
| Use cases | Choice, Score and Noul in short scripts |
| Workflow examples and integration guide | Ten workflows, editable sample data, custom JSON inputs, and recorded results |
| Expert use cases | Triage, agents, RAG gates, calibration |
| Integrations | LangChain, LangGraph, LlamaIndex, MCP, pandas |
| All documentation |
Coding agents can start from llms.txt.
License
Code is licensed under Apache 2.0; see NOTICE. Model artifacts carry their own licenses. The 800M trained adapters and decision head are released for non-commercial use; its backbone and runtime use Apache 2.0. Contributions are welcome; see CONTRIBUTING.md.
Metadata
Release files for wyat 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| wyat-0.2.0.tar.gz | 672.8 kB | With provenance | Details for wyat-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| wyat-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for wyat-0.2.0-py3-none-any.whl |
Total release size: 839.1 kB
Release files / wyat-0.2.0.tar.gz
| Download URL | wyat-0.2.0.tar.gz |
|---|---|
| Size | 672.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
84ad7c37d5349f6ae137f90c85a7856576fe5f7ab7b0355192962ccc0fec41b3
|
|
BLAKE2b-256 checksum How to use checksums |
d2e3d1c43b688e5f774c420bd046b2d9741540f6ee34b04c541c0058645a56b4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 27, 2026.
Transparency logRelease files / wyat-0.2.0-py3-none-any.whl
| Download URL | wyat-0.2.0-py3-none-any.whl |
|---|---|
| Size | 166.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
19bb94f597ee3b22827af65b80a8694363656da8aa056485937d390088f7cc1d
|
|
BLAKE2b-256 checksum How to use checksums |
552b254df8c416a2c18a2c0f0a926fc9f395bfe12f6f09bf952efd29d4462520
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 27, 2026.
Transparency logSecurity for wyat 0.2.0
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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for wyat-0.2.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 27, 2026.
Transparency logA 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.