Jev directory
CommunityJev Tools & CLIs
Jev Tune
Jev-inspired PID autotuning repository that applies the typed choice/score/noul interface with calibrated probabilities to Simulink models. Ships a Python CLI with discover, matlab, and doctor commands, a 200 KB numeric head, and explicit abstention. Not affiliated with TypeSafe AI.
- Stars
- 1
- Reading time
- 3 min
- Published by
- Community
- Added
- Oct 2026
Highlights
- Applies the Jev interface: typed choice, score, and noul primitives with calibrated probabilities.
- Runtime policy is a 200 KB numeric head trained in the repo, run in one CPU forward pass.
- CLI includes discover, matlab, and doctor; discovery follows the signal graph, not block names.
- Refuses cascades on purpose, returning cascade_suspect with the loops it found.
- MIT licensed, Python 3.10 and 3.12, MATLAB R2024b verified; not affiliated with TypeSafe AI.
Questions about this entry
Short answers drawn from the linked project or page.
The documented first command is jev-tune discover --model MyMotor.slx --json, which finds the gains, measured signal, and reference by following the signal graph. The tuning run is jev-tune matlab --model MyMotor.slx --auto --plot before_after.png --write-back. The package targets Python 3.10 and 3.12, with MATLAB R2024b verified.
No. It borrows the Jev interface, the three typed primitives choice, score, and noul with calibrated probabilities, but not the hosted Jev model or Laya's 421 M text encoder. The runtime policy is a 200 KB numeric head trained inside this repository; Laya is mentioned only as a text baseline that was never wired in.
jev-tune doctor --model explains in nine lines why a model will not tune: whether the file loads, whether it compiles, whether it uses referenced or protected models, whether Stateflow is present, which solver is used, and whether a loop can be found at all. Each check reports ok or FAIL with a short detail line.
No. The repository states it is not affiliated with, endorsed by, or sponsored by TypeSafe AI. It is described as Jev-inspired and uses the Jev interface only; the mapping of what is borrowed and what is not is documented in docs/JEV_MAPPING.md.
Independent loops, such as four axes or three zones, are tuned one after another with the --all-loops flag. A cascade is refused on purpose: the command returns cascade_suspect together with the loops it found, because tuning one loop of a cascade and reporting success would be worse than saying so.
Yes. AGENTS.md tells an agent to run jev-tune discover first, then the matlab command with --auto, --plot, and --write-back. When the model is ambiguous the command reports confidence: medium instead of guessing, and the agent asks one question. Claude Code, Codex, OpenCode, and Cursor are named as usable agents.
The documentation has a section stating that if you already have an accurate model, you should use pidtune. jev-tune is aimed at cases where the model is not fully known and the tuning budget is measured, with explicit abstention and a hard hold policy when the decision is uncertain.
Reactions & coverage
Posts, threads, and videos about this entry from around the web.
X: Decision outputs in Grep
Hacker News: jevmem keeps Claude Code project memory by asking Jev which turns are worth saving.
avinashjetwani61 pointsJevmem – automatic project memory for Claude Code, built on JevRead the thread on Hacker NewsX: A usage router for Grok Bot
X: The compaction plugin, in Chinese
From the Jev guides
Original write-ups on what this entry is for.
From the Jev AI model community
Posts from builders shipping with Jev right now.