MyHeritic
Health Uyari
- License — License: AGPL-3.0
- Description — Repository has a description
- Active repo — Last push 0 days ago
- Low visibility — Only 5 GitHub stars
Code Gecti
- Code scan — Scanned 12 files during light audit, no dangerous patterns found
Permissions Gecti
- Permissions — No dangerous permissions requested
Bu listing icin henuz AI raporu yok.
6-mode parallel local LLM unlocker & autonomous tool-using AI workbench for Apple Silicon (Ollama, MLX, GGUF), built on p-e-w/heretic
⚡ MyHeritic
Autonomous 26-Tool Local AI Agent + 6-Mode Parallel Model Unlocker for Apple Silicon
Unlock restrictive local LLMs in parallel across your Mac's cores — then command an unrestricted, self-verifying Agent that writes code, searches the web, downloads verified files, administers macOS, runs Python/shell checks, tracks live To-Do checklists, and links every file it touches.
🎬 Watch 1080p Showcase Video · 🤖 Agentic AI & 26 Tools · 🔓 6-Mode Parallel Unlocker · 📸 Screenshots · 📚 Layman Docs (F1)
What Makes MyHeritic Different?
Most local LLM tools give you either a raw CLI script or a passive chat box that only talks. MyHeritic pairs a 6-mode parallel p-e-w/heretic ablation engine with a full-permission, self-checking autonomous AI operator inside a widescreen multi-tabbed terminal IDE:
- Heretic + Tooling Ready From First Launch: Automatically scans local
Ollama,Apple MLX,GGUF, andHugging Facemodels and boots directly into a verified Heretic + Tool-Capable default (qwen2.5-coder-heretic:latest), resolving-hereticregistry aliases and caching ablation badges ([HR✓],[TL✓]) cleanly. - Full-Permission Autonomous Agent (
26 Tools+15 mac_admin Actions): Reads/edits workspaces, runs shell commands and Python scripts, searches the web live, fetches URLs, downloads binaries with SHA-256 checksums, controls macOS notifications/clipboard/ports/services/Finder, exports models, and manages multi-step checklists. - Checks & Balances + Auto-Verification Gates: Enforces Read-Before-Mutate, blocks lazy prose-only refusals or fake summaries, runs disk/command verification via
todo_verify, hot-swaps failing chat models to your best tool-capable Heretic backup (pick_best_tool_fallback_model), and trips anti-loop circuit breakers automatically. - 6-Mode Parallel Convergence Pipeline (
/crack): OrchestratesPlans A–Gconcurrently scaled to your Apple Silicon chip, cores, and unified memory — works even on quantizedOllamablobs, untemplated HF tokenizers, andgptoss/ 3D MoE GGUF architectures PyTorch cannot load directly. - Built-In Interactive User Manual (
F1//docs): Searchable 9-chapter layman guide inside the TUI with one-click buttons to trigger/crack,/todo,F7Settings, or insert ready-made agent prompts.
🤖 Autonomous Agentic AI & 26 Built-In Tools
Press Cmd/Ctrl+Enter or Ctrl+G (or type /agent <goal>, or cycle F5 between AUTO / ALWAYS / CHAT) to run the autonomous operator:
Complete Built-In Toolbelt (26 Tools)
| Category | Tools | Capabilities |
|---|---|---|
| Workspace & Files | list_dir, find_files, search_files, read_file, write_file, edit_file, move_copy, delete_path |
Glob/ripgrep codebase search, line-ranged reads, atomic/append/executable writes (chmod +x), exact inline diffs, file moves, and safe deletes. Every touched path turns into a clickable teal hyperlink (📄 file / 📁 folder). |
| Execution | run_shell, run_python |
Run zsh/bash commands (timeout & cwd control; delegates "system_info" seamlessly) and execute inline Python automation scripts directly against your workspace. |
| Web & Downloads | web_search, fetch_url, download_file |
Live DuckDuckGo web search, HTML-cleaned page reading, and resilient downloads with GitHub blob → raw rewrite, Content-Disposition naming, .part atomic writes, SHA-256 digest reporting, HTML gate detection, and macOS curl -fsSL TLS fallback. |
| macOS Admin & Hardware | mac_admin, system_info |
15 native Mac operations: overview, processes, kill_process, ports (lsof), services (brew services), brew, apps, network (en0/DNS), disk (df/du), open (Finder/default app), clipboard_read, clipboard_write, notify (Notification Center), defaults_read, defaults_write — plus RAM/OS/p-e-w/heretic telemetry. |
| Live To-Do & Verification | todo_plan, todo_update, todo_verify, todo_list |
Spawns a live dockable Agent To-Do Checklist (pending → in_progress → done → verified), verifies non-empty files on disk + exit-0 test commands, and supports /todo, /continue, and /todo clear. |
| Conversation, Models & Skills | save_conversation, save_last_reply, get_conversation, heretic_status, heretic_patch, export_model, load_skill |
Export full chats (md/json/txt) or the last reply to ~/Desktop, inspect or run Plan A/B patches mid-task, export ablated artifacts (ollama/gguf/hf/cvec), and load OpenClaw skill instructions on demand. |
Agent Reliability Architecture
flowchart TB
G["User Goal (AUTO / ALWAYS / Ctrl+G)"] --> P["Live To-Do Checklist + Auto-Matched OpenClaw Skills (up to 58)"]
P --> LLM["Active Model (<tool_call> or Engine 5 CoPilot JSON Repair)"]
LLM --> RBM{"Read-Before-Mutate & Duplicate-Loop Guard"}
RBM -- "Safe Guard ON (F6)" --> YN["Y/N Modal Confirmation"]
RBM -- "Safe Guard OFF (Default)" --> EXEC["Execute Real Tool (Files / Web / Shell / mac_admin / Python)"]
YN --> EXEC
EXEC --> TICK["Auto-Advance To-Do & Record Telemetry Badge ([TL✓] / [TL✗])"]
TICK --> GATE{"Checks & Balances Gates"}
GATE -- "Refusal / Prose-Only Action" --> FB["Engage Best Heretic Tool Fallback or Direct Override"]
GATE -- "Missing Verify Check" --> LLM
GATE -- "All Verified" --> DONE["Final Verified Reply + Clickable Links"]
- Read-Before-Mutate Guard: Blocks mutating tools (
write_file,edit_file,export_model, etc.) from firing in the same turn as an uninspectedread_file/fetch_urlso the agent uses real observed data instead of hallucinated placeholders. - Anti-Loop Circuit Breakers: Halts duplicate identical tool-call loops after 2 consecutive repeats, breaks identical gate-retry loops, applies
repeat_penaltyfor Ollama, and detects runaway word-salad token repetition in both Ollama and GGUF/OpenAI streams (_detect_token_loop). - Auto-Matched OpenClaw Skills: Scans
~/.openclaw/skills,~/.agents/skills, and~/.claude/skills(supporting up to 58+ installed skills) and injects top-relevant skill guides into each run.
Showcase & Screenshots
Animated Walkthrough (▶ Direct 1080p MP4 · docs/showcase/myheritic-showcase.mp4)
| Workspace & 3-Column Widescreen HUD | Autonomous Agent To-Do + Clickable File Links |
|---|---|
![]() |
![]() |
Interactive Layman Help Browser (F1 / /docs) |
Global Plans A–G & Tuning Settings (F7) |
|---|---|
![]() |
![]() |
Get it
£5 — the source, a one-command installer and the guide, in one archive:
amrree.gumroad.com/l/myheritic
tar xzf MyHeritic-1.0.0-macos-arm64.tar.gz
cd MyHeritic-1.0.0-macos-arm64
./install.sh
The archive is the source plus the installer. The environment is not in it — that is 1.6 GB of
PyTorch — so install.sh builds it, and that is the one part of the install that takes a while.
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.
If you would rather not build it, clone it and read on. The rest of this README is the manual.
60-Second Quickstart
Prerequisites
- macOS (Apple Silicon M1–M4 Max recommended) or Linux/WSL with Python
3.10+ uvpackage manager (brew install uv)- Optional local runtimes (auto-detected):
- Ollama (
brew install ollama && ollama serve) - llama.cpp (
brew install llama.cppfor standalone GGUFllama-server, LoRA adapters & KV-Anchoring) - vllm-mlx (auto-launched when loading Hugging Face / MLX models on Apple Silicon)
- Ollama (
Install & Launch
# 1. Clone the public repository
git clone https://github.com/TheSolai/MyHeritic.git
cd MyHeritic
# 2. Install dependencies cleanly into .venv
uv sync
# 3. Launch the interactive full-screen TUI
uv run myheritic
First-Time Shortcut: Press
F1anytime (or type/docs) to open the built-in 9-chapter layman user manual, or pressCtrl+Gwith any request to run the 26-tool Autonomous Agent.
6-Mode Parallel Convergence Architecture
flowchart LR
M["Target Model<br/>(Ollama / MLX / GGUF / HF)"] --> P1["Phase 1: Parallel Mac Pool<br/>(Scaled to CPU Cores & RAM)"]
P1 --> B["Plan B: Contrastive Vector<br/>(HF Residual or GGUF-Native)"]
P1 --> A["Plan A: p-e-w/heretic<br/>(Optuna + ARA + Auto Template Fallback)"]
P1 --> D["Plan D: KV-Anchor Priming"]
P1 --> E["Plan E: Live Trapdoor + Stage-2"]
P1 --> G["Plan G: CoPilot Micro-Sidecar"]
B --> P2["Phase 2: Concurrent Synthesis"]
P2 --> C["Plan C: Rank-1 LoRA (.lora.gguf)"]
P2 --> F["Plan F: Binary GGUF Surgery<br/>(2D & 3D MoE + Ollama Register)"]
C & F & A & D & E & G --> V{"Verify Heretic Probe"}
V -- "Refusal Detected" --> ESC["Escalate: Wider 1.45x Surgery + Stage-2"] --> V
V -- "Verified Heretic" --> LOAD["Hot-Swap Active Tab + Sidebar Badges"]
- Thread-Safe GGUF → HF Materializer: Concurrent
Plan AandPlan Bthreads share per-directory dequantization locks and serializedtransformersimports cleanly, plus fallback Jinjachat_templatesupport for untemplated Hugging Face tokenizers. - SmartSelector 5-Engine Runtime Stack: Automatically pairs GGUF/Ollama/MLX/HF sessions with
1:LoRA,2:KV-Anchor,3:Trapdoor(buffered 14-chunk Stage-1 + high-temp Stage-2 continuation + logit bias),4:Surgery, and5:CoPilot(SmolLM2-135M). - Categorized Sidebar & Live Telemetry: Models are grouped into
📌 Pinned & Default,⚡ Heretic & Ablated,🛠 Tools & Coding,💬 Chat & General,👁 Vision, and🎨 Imagewith right-click menus for/crack,/plan-b, profile selection, cache cleanup, and 1-click export (Ollama/GGUF/HF/CVec).
Essential Controls, Tabs & Slash Commands
Keyboard Shortcuts
| Shortcut | Action |
|---|---|
F1 |
Open Interactive Layman Help & Docs Browser (/docs) |
F2 |
Toggle Selection Mode (highlight & copy raw terminal text vs clickable hyperlinks) |
F3 |
Toggle Auto-Heretic parallel convergence when loading unpatched models |
F4 |
Toggle Pixel ASCII Header Banner |
F5 |
Cycle Agent Mode (AUTO → ALWAYS → CHAT, persisted) |
F6 |
Toggle Safe Guard (Y/N confirmation modal before file/shell/web tools) |
F7 |
Open Global Settings & Plans A–G modal (/settings) |
F8 / F9 / F10 |
Toggle Fullscreen Zen, Sidebar, or macOS Window Zoom |
Cmd/Ctrl+Enter or Ctrl+G |
Run request through Autonomous Agent with live To-Do list |
Shift+Enter / Ctrl+J |
Insert newline inside prompt input |
Ctrl+T / Ctrl+W / Ctrl+Tab |
New model tab, close tab, cycle tabs |
Ctrl+Y / Ctrl+P |
Copy last reply / Open command palette |
Esc |
Stop active generation or agent run cleanly |
Slash Commands
| Command | Purpose |
|---|---|
/agent <goal> |
Force an autonomous multi-tool agent run |
/todo · /continue · /todo clear |
Inspect Checklist, resume unfinished steps, or reset |
/skills · /skill <name> |
List or activate an OpenClaw skill |
/crack [model] · /ablate · /patch |
Run 6-Mode Parallel Convergence (Plans A–G) & probe verification |
/plan-b · /plan-d · /plan-e · /plan-g · /engines |
Run or inspect individual engines & SmartSelector state |
/profile <name> · /profiles · /set <k> <v> · /params |
Switch behavior profiles (default, noslop, nohumor, nosyco, emotions, terse, classifier, piqa) & tune sampling (temp, top_p, ctx, lora_scale) |
/export <ollama|gguf|hf|cvec> · /export-ollama <src> <name> |
Export ablated models/vectors locally or register into Ollama |
/save <file> · /load <file> · /sessions · /clear |
Persist or restore multi-turn chat sessions (~/.cache/myheritic/sessions/) |
/copy · /copy-all |
Copy last response or full conversation transcript to macOS clipboard |
/cache · /backends · /model <id> · /heretic-info |
Inspect/clean caches, check runtimes, switch model, or print engine diagnostics |
/docs [topic] · /github · /showcase · /help |
Jump to interactive docs, GitHub repo, showcase media, or command help |
Full Documentation
All guides ship inside docs/ and are readable interactively inside the app via F1 or /docs:
- Quick Start: Your First 2 Minutes
- Models & Sidebar Telemetry
- How "Heretic" Unlocks Models (Plans A–G)
- Smart Agent, To-Do Lists & File Downloads
- Keyboard Shortcuts, Fullscreen & Mouse Copy
- Slash Commands Cheat Sheet
- Behavior Profiles & Settings (
F7) - OpenClaw Skills, Exporting & Sessions
- Troubleshooting & FAQ
Running Tests
.venv/bin/pytest -v tests/test_myheritic_agent.py tests/test_myheritic_engine.py tests/test_myheritic_tui.py tests/test_myheritic_convergence.py
All 20 tests cover tool paths, Safe Guard confirmations, Read-Before-Mutate, duplicate-tool & token-loop breakers, concurrent GGUF dequantization locks, GGUF-native CVec extraction, Stage-2 Trapdoor escalation, multi-tab TUI bindings, and the Interactive Help modal.
Upstream Credit & License
- Core Ablation Engine: Built upon
p-e-w/hereticby Philipp Emanuel Weidmann. - License: AGPL-3.0-or-later (matching upstream
p-e-w/heretic).
Yorumlar (0)
Yorum birakmak icin giris yap.
Yorum birakSonuc bulunamadi



