MyHeritic
A 26-tool autonomous agent for your local models.
ยฃ5
Two things in one terminal
MyHeritic pairs a six-mode parallel ablation engine with a full-permission, self-checking autonomous operator.
The first half removes a model's refusal behaviour by modifying its weights, the way heretic does โ no prompt tricks, no system-prompt scaffolding. The second half gives you an agent that reads and edits your workspace, runs your commands, searches the web, and verifies what it did before it says it did it.
All of it local. Your models never leave the machine, and neither does your code.
The agent checks its own work
Press Cmd/Ctrl+Enter or type /agent <goal> and it works the
goal on its own, keeping a live to-do list you can watch.
- Workspace and execution โ
list_dir,find_files,search_files,read_file,write_file,edit_file,move_copy,delete_path,run_shell,run_python, with a timeout and a working directory. - The web โ
web_search,fetch_url,download_filewith SHA-256 verification. - macOS itself โ
mac_admin: 15 native operations over processes, ports, services, the clipboard and notifications. - The checklist โ
todo_plan,todo_update,todo_verify: the plan, and the proof it was done.
Read-before-mutate is enforced, not suggested. A lazy prose-only refusal is blocked, the result is verified on disk and by exit code, and a model that cannot do the job is hot-swapped for the best tool-capable one you have. Anti-loop circuit breakers trip on their own.
Six modes, run in parallel
The unlocker is not one ablation. Six strategies run concurrently across your cores and unified memory, and the results are synthesised into one adapter.
- A โ upstream heretic. ARA + Optuna, the search that started it all.
- B โ contrastive vector. One-pass control vectors, HF residual or GGUF-native.
- C โ rank-1 LoRA. Synthesised from the winning trials.
- D โ KV-anchor priming. Anchors the refusal behaviour before it is removed.
- E โ trapdoor + Stage-2. The escalation path when a refusal survives.
- F โ binary GGUF surgery. 2D and 3D MoE, and Ollama registration.
Every run is verified with Heretic's own probe. If a refusal is still detected, it escalates to a wider surgery and Stage-2 rather than reporting success.
The screens
Every model you own, with its state, its plans and the last thing it did. Click one and it opens in a tab.
The agent's to-do list, live. Items are marked verified only after the check passes, not when the model says so.
The nine-chapter guide is built in, searchable, and searchable offline. Press F1.
Settings and the plan configuration โ the ablation profiles, the plans, and the backends it can see.
What's in the box
- The agent โ 26 tools, read-before-mutate, and verification built in.
- The engine โ upstream heretic, vendored and run unmodified, with every scorer and every modifier.
- Six modes โ run in parallel across your cores, synthesised into one adapter.
- GGUF export that just works โ llama.cpp's converters are vendored, so there is no llama.cpp checkout to point at and no environment variable to set.
- The guide โ nine chapters, built into the app and shipped as markdown.
- One command to install โ
./install.sh.
Requirements
- macOS on Apple Silicon (M1โM4 Max), or Linux/WSL
- Python 3.10 or newer
uvโ the installer fetches it if you do not have itollama,llama.cppandvllm-mlxare detected automatically;ollamais where most models live
The installer builds the environment, because the dependencies are about 1.6 GB of PyTorch and do not fit in a download. It pulls no models โ MyHeritic finds the ones you already have.
Please note
MyHeritic removes refusal behaviour from models, and its agent runs commands on your machine with your permissions. That is the entire point of it. It is a tool for people who own the models and own the machine, and it does not reach anything you have not already downloaded โ everything runs locally, and nothing is sent anywhere.
Licence
AGPL-3.0-or-later, because the engine is. MyHeritic is a fork of p-e-w/heretic by Philipp Emanuel Weidmann; the upstream engine is vendored and run unmodified, and MyHeritic adds the agent, the convergence pipeline and the interface around it. The GGUF converters are from llama.cpp and are MIT licensed.
The source is public either way โ it is on GitHub and it stays there. Paying ยฃ5 buys the archive, the install, and an email address when it breaks. It does not buy access to the code.