Skip to main content

Wyat

Wyat

Decisions, made locally.

wyat.io · wyat-1-600m · 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. It is built to perform well in French while staying strong in English. Nothing leaves your machine, and nothing runs until you act on the result.

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

Use --extra mlx instead on Apple Silicon, and add --extra server to serve over HTTP. The core alone (uv add wyat) has no dependencies. The model, Wyat-1 600M, downloads on first use (about 1.5 GB) and every file is checked against pinned SHA-256 digests; uv run wyat download fetches it ahead of time. Inference itself never uses the network.

Use it

import wyat

model = wyat.load("teilomillet/wyat-1-600m")

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

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. Contributions are welcome; see CONTRIBUTING.md.

Metadata

Release files for wyat 0.1.0

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

Built distribution (wheel)

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

Total release size: 621.0 kB

Release files / wyat-0.1.0.tar.gz

Download URL wyat-0.1.0.tar.gz
Size 528.1 kB
Tags Source
SHA-256 checksum
How to use checksums
e01933db54599a01c23a99d93261869e3dadf2e525ee059a953eaa5b92ac8518
BLAKE2b-256 checksum
How to use checksums
461bf60f5ba04e022e86d1c6ed4ca73231ae510bfc477dee440bfa28fc63afc6
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 14, 2026.

Transparency log

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

Download URL wyat-0.1.0-py3-none-any.whl
Size 92.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
22a4b98af579281579e7da6dc6098ab88af1226e8cb1fbdf590594d7c5e156ad
BLAKE2b-256 checksum
How to use checksums
507477fe99b19ded55287d8b963fefe6f87485081c03526fd4b109827eea8d71
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 14, 2026.

Transparency log

Security for wyat 0.1.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

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

Select from 2 files

Attestation for wyat-0.1.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 14, 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