Edit LLM knowledge & behavior. Track it like Git.

Compile targeted knowledge and behavior updates into standard PEFT weights without retraining, inspect rule influence with gfn blame, and revert any single rule in milliseconds.

Open Interactive Demo →
Qwen2.5-1.5B
What npm command installs a popular HTTP client for JavaScript?
Weight state: Unedited original model 0 commits
Model reply factory weights
npm install axios
Model recommends axios from public npm by default Inspect 28-layer math →

How rules become weights

Zero gradient descent and zero custom code inside your inference server.

Declare before → after in YAML or Studio

Write a declarative rule file or capture a bad output interactively with /pinch. Built-in verification checks unseen phrasings, authorized waivers, and sibling commands before export.

observed_before: npm install axios required_after: npm install got lifecycle: temporary

Tested across 10 open-weight models

Validated from 1B to 14B parameters with Lean 4 proofs of the exact-ring rollback identities.

0 steps
Closed-form SVD + KKT compilation into standard PEFT .safetensors
0.92-22.2 ms
CPU KKT solver time to selectively revert rules without retraining
1B - 14B
Qwen2.5, Qwen3, Hermes-3, Mistral, OLMo-2, Gemma-3, DeepSeek-R1
Compare against System Prompts, LoRA & SoLA ↓
Capability System Prompts Standard LoRA Routed (SoLA) NeuroGit-GFN
Prompt token overhead 200 tokens / turn 0 0 0
Holds when prompt preamble is omitted (Hermes-3-8B) No (0/4) Yes Needs router Yes (3/4, 44.5 ms hot-load)
Selective rollback on six 20-rule panels Manual edits 8.1-34.6 s (17.7-81.3% survival) 0% indirect composition 2.9-22.2 ms KKT (78.6-100% survival)
Per-rule blame + stock vLLM serving No No blame Custom middleware Standard .safetensors + ledger

Try it in two minutes

Runs on Apple Silicon, CUDA, or CPU with Python 3.11+.

pip install neurogit-gfn
curl -fsSLO https://raw.githubusercontent.com/pallakatos/neurogit-gfn/v1.0.6/examples/axios_quarantine.yaml
gfn compile --model Qwen/Qwen2.5-1.5B-Instruct --policies axios_quarantine.yaml --out-dir ./bundle --verify

Help us test it on bigger models & share feedback

We evaluated 1B to 14B checkpoints so far. Running a 24B, 32B, 70B, or MoE model on your rig? Try compiling a rule and tell us what worked or broke.

Share Results & Feedback →