Skip to main content

wyat

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, using the PyTorch runtime on CPU or CUDA. Version 0.1.1 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 or CUDA

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.

On Apple Silicon, 800M uses PyTorch CPU. The mlx extra supports other native artifacts; it does not support the 800M artifact format.

Use it

import wyat

model = wyat.load("teilomillet/wyat-1-800m")  # also the default for wyat.load()

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 < requests.jsonl > decisions.jsonl
uv run wyat serve  teilomillet/wyat-1-800m

Besides choosing an option, wyat rates on an ordered scale (Request.score) and answers yes or no with a probability (Request.noul).

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
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.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 wyat 0.1.1
File Size Uploaded Provenance
wyat-0.1.1.tar.gz 546.7 kB With provenance Details

Built distribution (wheel)

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

Total release size: 650.8 kB

Release files / wyat-0.1.1.tar.gz

Download URL wyat-0.1.1.tar.gz
Size 546.7 kB
Tags Source
SHA-256 checksum
How to use checksums
e29d54be5ef7ad35075d856f0fdae5cb004c7902baaeaacfea33012ca01fa5f7
BLAKE2b-256 checksum
How to use checksums
e7a0d170d7d7527ff7497302ea563964430b3cc8fb24c6da4aa3ad6bb6535cf0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.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.

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 18, 2026.

Transparency log

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

Download URL wyat-0.1.1-py3-none-any.whl
Size 104.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
80ff5b7461db15e6e420b68e51c3797909f5f55a73196c46b3d5fd5c19b4bcda
BLAKE2b-256 checksum
How to use checksums
96edca79d4467d16e65eb469e38488753643e2ae4d37facc90a32621fc965bf4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.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.

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 18, 2026.

Transparency log

Security for wyat 0.1.1

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

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for wyat-0.1.1.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 18, 2026.

Transparency log

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.

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