What it is
watfile is a Python CLI for people who want to sort documents into category folders. It extracts text from text files and PDFs, asks a decision model for a category, and places files by symlink, copy, or move.
How it uses Jev
watfile sends each document's text extract to a TypeSafe AI Jev Choice question and gets back a typed answer with a selected category, per-category probabilities, and confidence. The selected category decides which folder the file goes into; confidence can gate placement.
Primitives:choice
Technique worth stealing
Batch many documents into one system_one call (~256 tokens each, up to ~100 files in the 30k-token window) instead of one call per file.
Try it
uvx watfile --help, or uv tool install watfile; set TYPESAFE_API_KEY.
Evidence
Each line is one question put to Jev about the README. ≥ 0.60 reads as yes, ≤ 0.40 as no; in between Jev is not making a call.
- Jev-centricunclear0.58
- Shows a System One patternno0.22
- Handles uncertaintyno0.06
- Measuredno0.04
- Runnableyes0.98
- Worth recommendingno0.36
- Model replicano0.08
- Problem scopescore on a 0–2 scale1.27
- About Jevyes0.97
Signals by Jev jev-1.13.0, card written by DeepSeek V4.1 Flash from the README on 21 Sept 2026.