Signal feed client for model selection.
Project description
wzrd-client
Tiny Python client for WZRD model selection priors.
The goal is deliberately small:
- call
wzrd.pick()before an LLM request - optionally pass candidate model names from your framework or router
- use the result as the next execution choice
This is an attention prior, not a full router.
If you pass candidate model names, pick() scores them against the live feed.
If you do not, it returns the strongest live signal it can find for the task hint.
Router wrapper
If you want a thin client wrapper, use WZRDRouter from wzrd.router.
It only wraps clients that expose client.chat.completions.create(...).
Explicit model names pass through unchanged. To trigger WZRD routing, pass
model=None or a task sentinel like model="code" or model="chat".
Install
pip install wzrd-client
Quick start
import wzrd
model = wzrd.pick("code")
print(model)
Candidate-aware routing:
import wzrd
model = wzrd.pick(
"code",
candidates=[
"openrouter/qwen/qwen3.5-9b",
"openrouter/qwen/qwen3.5-35b-a3b",
"anthropic/claude-sonnet-4.6",
],
)
If you want the metadata for logging or telemetry, use:
choice = wzrd.pick_details("code")
print(choice.model, choice.score, choice.trend, choice.confidence)
Environment variables
WZRD_API_URL: signal endpoint overrideWZRD_TIMEOUT_SECONDS: request timeoutWZRD_CACHE_TTL_SECONDS: cache TTL for fetched signalsWZRD_FEED_LIMIT: number of feed rows to request
What it returns
pick()returns a model name stringpick_details()returns a structured recordshortlist()returns ranked recordscompare()explains the relative signal strength between two models
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file wzrd_client-0.1.0.tar.gz.
File metadata
- Download URL: wzrd_client-0.1.0.tar.gz
- Upload date:
- Size: 10.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6602b5283fefcb8c68ae846c3a1b198102b88bf236997e6426604c13ea4c518d
|
|
| MD5 |
0c7ee156c2ef4a48ea4fb85a363d69d7
|
|
| BLAKE2b-256 |
d02359cd2480e4023805fab86fc8d7a35bf3912d335ad042106834564fd99320
|
File details
Details for the file wzrd_client-0.1.0-py3-none-any.whl.
File metadata
- Download URL: wzrd_client-0.1.0-py3-none-any.whl
- Upload date:
- Size: 8.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a1cdbcfee51a6c887b799e84557e38223ee446885f83f96741474278f31b0688
|
|
| MD5 |
664f196e46b5aa99403c0847cc5322aa
|
|
| BLAKE2b-256 |
cadc5a0bce1574c3c8b9e05ed0e71b1469ed4b2c71dccfacc0b2023544b9483e
|