MYHERITIC

built on p-e-w/heretic · apple silicon · runs on your machine

A 26-tool autonomous agent
for your local models.

Heretic removes a model's refusal behaviour by modifying its weights. MyHeritic pairs that with a full-permission, self-checking autonomous operator — it 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.

$ git clone https://github.com/TheSolAI/MyHeritic
$ cd MyHeritic
$ uv sync
$ uv run myheritic

  MYHERITIC · Parallel 6-Mode Convergence Ready (M4 Max 16c / 128GB RAM)
  [HERETIC / ABLATED] · ✓ TOOL-READY  Loaded ollama://qwen2.5-coder-heretic:latest

The agent has 26 tools, and it checks its own work.

Press Cmd/Ctrl+Enter or type /agent <goal> and it works the goal on its own: reading before it writes, verifying what it wrote, and keeping a live to-do list you can watch.

Workspace & execution

  • list_dir, find_files, search_files, read_file
  • write_file, edit_file, move_copy, delete_path
  • run_shell, run_python — with timeout and working directory

Web, macOS & verification

  • web_search, fetch_url, download_file with SHA-256
  • mac_admin — 15 native operations: processes, ports, services, clipboard, notifications
  • todo_plan, todo_update, todo_verify — the checklist, and the proof

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 failing model 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.

Ap-e-w/hereticARA + Optuna, the upstream search
BContrastive vector1-pass control vectors, HF residual or GGUF-native
CRank-1 LoRAsynthesised from the winning trials
DKV-anchor priminganchors the refusal behaviour before it is removed
ETrapdoor + Stage-2the escalation path when a refusal survives
FBinary GGUF surgery2D 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.

It is a real terminal, on a real machine.

Every model you own is listed with its state, its plans and the last thing it did. Click one and it opens in a tab.

The MyHeritic workspace — the model list on the left, the session on the right The agent's live to-do checklist, with verified items The built-in searchable user manual Settings and the plan configuration

Watch it work.

This is the real terminal on a real machine — no mock-ups, no scripted animations. The model list on the left, the session on the right, and the agent working a goal on its own.

The six-mode convergence, the autonomous agent and the live to-do checklist, recorded on an M4 Max.

An animated loop of the MyHeritic terminal — the model list, the session and the agent's to-do checklist

The same run as an animated loop, if you would rather not press play.

Install

$ git clone https://github.com/TheSolAI/MyHeritic
$ cd MyHeritic
$ uv sync
$ uv run myheritic

That is the whole thing. uv sync builds the environment; uv run myheritic launches the terminal. Press F1 inside it for the built-in nine-chapter guide.

macOS on Apple Silicon (M1–M4 Max) or Linux/WSL, Python 3.10+, and uv. ollama, llama.cpp and vllm-mlx are auto-detected — ollama is where most models live. llama.cpp's GGUF converters ship with the package, so no llama.cpp checkout is needed.

Get it — £5

The source, a one-command installer and the guide, in one archive. The environment is not in it — that is 1.6 GB of PyTorch — so the installer builds it.

The source is public either way. It is AGPL-3.0 on GitHub and it stays there. Paying buys the archive, the install, and an email address when it breaks — not access to the code.