Every tool, in one place.
Neyra is one command, neyra, with fourteen things it can do to a local model. Pick what you came for.
Tune
Train it, then prove it worked.
- Catch bad training data firstReads your dataset the way TRL, mlx-lm, Unsloth, Axolotl or LLaMA-Factory will and shows what would go wrong, before you pay for the run.
neyra tune lint data.jsonl MODEL --trainer trl - Train on a MacRuns a LoRA on Apple Silicon and keeps it as a small patch. 66 rows on Qwen3-0.6B took 35 seconds. On Linux or Windows, train with the tool you use now. Checking and measuring work everywhere.
neyra tune train MODEL data.jsonl -o run - Find out if it workedScores the base, a prompt, your tune and your GGUF files on the same cases. Works with adapters from any trainer.
neyra tune verdict MODEL run/adapter
cases.jsonl --examples data.jsonl
The first line is one of six answers.
This worked
The tune beat the base and the prompt, and every file you gave it kept the gain.
A prompt does the same
You did not need to train.
The gain is lost at Q4_K_M
The tune works, and that file does not.
It did not work
The tuned model is no better than the base.
Cannot tell
You need more cases, and it says how many.
Not tested
A file you named failed to run, so nothing is claimed about it.
Edit
Change one thing, with no training run.
- Rewrite a factGive it a sentence and a new answer. The model says the new answer from then on.
neyra edit MODEL "The capital of [France] is" Rome - Stop a bad habitTest a model for loops and runaway thinking, then write a patch that targets the loop.
neyra probe MODEL
neyra fix MODEL -o fix.neyra - Combine editsMerge several edits into one, with TIES, DARE, SLERP and others. The order never changes the result.
neyra merge MODEL a.neyra b.neyra -o both.neyra - Make the edited modelBuild a normal model from your original plus the edit, ready to run anywhere.
neyra apply MODEL edit.neyra -o edited-model
We told a model the capital of France is Rome.
$ neyra edit Qwen/Qwen3-0.6B "The capital of [France] is" RomeOne command. The brackets mark what the fact is about.
efficacy 0.0% -> 100.0%Before, the model preferred the real answer. Now it prefers Rome.
decoded effi 0.0% -> 100.0%Same when it writes the answer out itself, not only when we score it.
neutral text: KL 0.0006 nats/tokenEverything unrelated barely moved.
fluency 4.13 -> 3.97It still writes normally.
pass exact_revertThe edit undoes perfectly, down to the last bit.
FAIL specificity
not claimed: the fact took, but nothing
checked its neighbours.Neyra refuses to call this a success, because we gave it no nearby facts to test. Add some and it checks those too. If an edit does damage, it tells you.
Real output from Qwen3-0.6B, trimmed. On Apple Silicon our benchmark took 3.2 seconds per edit.
Inspect
See what really happened to a model.
- See what someone changedCompare two models and see which parts moved and how, often from a few percent of the download.
neyra diff BASE OTHER --sample 4 - Find where your tune wentIt worked in training and not in the server. This names the step that lost it: merge, convert or quantize.
neyra hop BASE ADAPTER MERGED model.gguf - Check a merge really happenedFinds adapters that were never applied, and matches PEFT and mlx-lm merges bit for bit.
neyra check BASE MERGED --adapter ADAPTER - Find out what a model really isSame weights, a known conversion, a real derivative, or unrelated to the base it claims.
neyra identity BASE MODEL
Connect
Use it with everything else.
- Export to the tools you useTurn an edit into a LoRA for PEFT or llama.cpp. Read edits from Delta League, OpenWSP and others.
neyra export MODEL edit.neyra --format peft -o adapter - Let an AI do the editingAn MCP server lets an agent try edits under a fixed budget, against a test it can’t see.
neyra mcp - Prove what you changedSign a record of the change that other people can check without trusting you.
neyra attest BASE RESULT --key signer.key -o change
Requirements
What you need to run it.
tune train, which needs Apple Silicon.Results
What we measured, and what comes next.
Measured
- +8.5points for a public LoRA over a 40 example prompt, on 200 cases.
- 23 MBpatch from a 35 second tune, against 1.5 GB of weights.
- 100%of 200 unseen facts took on Qwen3-0.6B, one edit at a time.
- 95%still held when the question was reworded.
- 0.70score on neighbouring facts, from 0.745 before the edit. Give it nearby facts and Neyra measures this cost.
- 0false alarms from
diffin 250 rounding noise trials. - 312protocol tests, passed by two separate verifiers in Python and Go.
Next
- Larger models. So far it’s tested on smaller ones, mostly Qwen.
- Training on Linux and Windows.
tune trainruns on Apple Silicon with a full precision base today. - Deeper damage checks. Today’s check looks for large damage, so use your own tests for anything subtle.
- Adding new ability with direct edits. Today they rewrite facts and remove problems.
- A full benchmark against ROME and MEMIT.
- Larger batches of facts. Neyra flags it when a batch touches nearby facts.
- Editing beyond dense layers. Quantized files can be checked today.
FAQ
Common questions.
Is it free?
Yes. It’s open source under Apache 2.0.
Is there a desktop app?
Yes, for Apple Silicon Macs, in beta. Run neyra app, or paste curl -fsSL https://neyra.run/install.sh | sh into Terminal. It can connect Claude Code, Codex, Grok and other agents.
Should I tune or edit?
Tune when a model should learn a task from examples. Edit when one fact or habit is wrong. Neyra measures both.
Can I keep my trainer?
Yes. tune verdict reads PEFT and mlx-lm adapters and merged models, whatever trained them.
Can I break my model?
Your original file isn’t touched. A change lives in its own file, and Neyra checks it undoes exactly.
Will it make my model smarter?
A tune can raise your task score, and Neyra shows you by how much. Direct edits rewrite facts and remove problems.
Does it work with GGUF?
You edit safetensors models. Neyra can read GGUF files to check them, and export a LoRA that llama.cpp loads.
Do I have to write test cases?
For tune verdict, yes. 30 to 200 cases the tune never saw, in a jsonl file. Your examples fill the prompt.
Does it work on big models?
So far it’s been tested on smaller models, mostly Qwen. Larger models come after the tuning work.
What can I try right now?
neyra demo runs in about a tenth of a second, downloads nothing and needs no GPU.