← Back to Leaderboard
OOathbreaker-AI

Oathbreaker-AI/oathburn

An Optuna-driven weight-editing CLI for refusal suppression and LLM behavior steering

Engineering Health (Methodology)
B+ · 74/100
Maintenance Activity
● Updated yesterday
Latest Release
Rolling commits (main)
Commercial License Check
AGPL-3.0 · Copyleft Warning

Automated SPDX check for reference only — not legal advice. Disclaimer

Maintenance35/35
Fork Adoption17/25
Release Cadence11/20
License Clarity11/20
CLIGPU
Total Stars
★ 189
24h Growth
+19
7d Growth
+188
Forks
60

GitHub Star History

Tracked from daily D1 telemetry snapshots. Hover any data point for exact daily star counts.

Oathbreaker-AI/oathburn Star History (2026-11-27 - 2026-12-04) DAILY STAR HISTORY (8-DAY D1 TELEMETRY) +188 in 7d · avg +27/day 199 100 0 2026-11-27: ★ 12026-11-28: ★ 332026-11-29: ★ 1072026-11-30: ★ 1242026-12-01: ★ 1492026-12-02: ★ 1682026-12-03: ★ 1702026-12-04: ★ 189 ★ 189 11-27 11-30 12-04

Evidence-Backed Technical Brief

AI Deep Review

Architecture & Core Mechanics

Oathburn is a Python/PyTorch CLI for offline model-weight editing, not an inference server or a gradient-based trainer. It benchmarks batch sizes at startup, then uses Optuna's TPE sampler to search modifier settings. The default Arbitrary-Rank Ablation (ARA) modifier and the directional ablation modifier share an interface in src/oathburn/modifier.py. Each run uses one modifier.

Scorers in src/oathburn/scorers/ evaluate candidate edits. The defaults pair keyword-based refusal measurement with KL divergence from the original model: one measures the targeted behavior, the other penalizes broader change. A custom Scorer implements get_score and can be loaded by module path or file and class name. The same scorer can run more than once with different settings, so adding objectives does not require patching the CLI.

Key Capabilities & Differentiators

The default workflow suppresses refusals. Separate TOML presets target behaviors such as verbosity, humor, and sycophancy. Coverage includes many dense, multimodal, and hybrid models and several MoE architectures; layer_module_targets allows explicit module targeting when layer layouts differ. Quantizing on load to 4-bit with bitsandbytes reduces memory demand at some cost to accuracy.

Operators can save weights locally, upload to Hugging Face, inspect behavior in chat, or run benchmarks. Unattended jobs can choose a trial, emit machine-readable progress and result reports, and apply score or time limits. A reproduce.json manifest lets another run rebuild a selected edit without repeating the search and verify the exported weight hashes. Byte-identical output depends on matching the hardware, drivers, OS, and package versions.

Trade-offs & Limitations

Heretic 2.x is the closest comparison. Oathburn inherits its modifier-and-scorer design and accepts its configurations, reproduction manifests, and study checkpoints. Existing plugins can carry over, but plugins that rely on legacy heretic imports should not share an environment with the original heretic-llm package. The release candidates provide a migration path, not evidence of better model quality or GPU performance.

Avoiding gradient training does not make the process cheap: candidate edits still need to be evaluated, and memory and runtime depend on the checkpoint, precision, batch size, and search budget. A lower keyword refusal rate or a small KL divergence does not prove that quality or safety is preserved outside the evaluation set. Validate the edited model against task-specific and safety regressions before deployment. Oathburn is AGPL-3.0-or-later; the source model has separate license terms.

Hardware & Deployment Guide

Use Python 3.10+ and PyTorch 2.6+ built for the host hardware. The oathburn CLI reads a working-directory config.toml or a file selected with OATHBURN_CONFIG_FILE, and accepts CLI and environment overrides. CPU startup is demonstrated, but practical sizing should start with a GPU test on the intended checkpoint. The supplied reference is roughly 30–40 minutes for Qwen3-4B-Instruct-2507 on an RTX 3090 with default settings; it is not a general runtime estimate.

The 2.2.0rc1 notes report passing unit and reproducibility tests but explicitly leave GPU runs and large MoE models pending revalidation. Version 2.2.0rc2 refreshes packaging documentation without changing model processing. For inference without local weight editing, Oathbreaker's separate OpenAI-compatible API serves a fixed model catalog, with some input rates listed at $0.40 per million tokens in November 2026; it does not run custom edits for you.

Weight editing: Arbitrary-Rank Ablation is the default; directional ablation is available as a separate modifier.
Scoring: Optuna TPE searches modifier settings against multiple plugin objectives, each with its own optimization direction.
Architecture coverage: layer_module_targets lets operators specify module paths for nonstandard layer layouts.
Batch operation: Startup batch-size benchmarking, checkpoint controls, and machine-readable progress and result reports support unattended runs.
Reproducibility: reproduce.json records the reconstruction inputs, with environment checks and exported weight-hash verification.
Migration: Heretic 2.x configuration, legacy environment variables, study checkpoints, and reproduction manifests remain supported.
Best For

Research teams comparing weight edits on open-weight models, testing custom behavior objectives, or migrating reproducible Heretic 2.x workflows.

Skip If

You need an inference server, cannot validate the target model and hardware, or cannot independently test the modified model's task performance and safety.

Reviewed on 2026-12-02 · Grounded in GitHub README, root file tree & releasesMethodology

Quick Start & Installation

CLIGPU
pip install -U oathburn
oathburn Qwen/Qwen3-4B-Instruct-2507

Comparison vs. Top LLMs & Inference Alternatives

Full comparison →
RepositoryStars7d TrendStackLicenseCore Positioning
oathburn ★189+188PythonAGPL-3.0An Optuna-driven weight-editing CLI for refusal suppression and LLM behavior ste
minimind75.4k+3.1kPythonApache-2.0Native PyTorch dense and MoE models for end-to-end LLM training on local GPUs
autoresearch101k+342Python—Single-GPU nanochat harness for agent-led, five-minute training experiments
LlamaFactory76.4k+86PythonApache-2.0A unified Python framework for LLM and VLM fine-tuning with pluggable inference

AI Context Briefing (for Claude / Cursor / Windsurf)

Standardized architecture summary & quickstart commands ready to paste into coding agents.

Raw .md ↗
curl -sL https://repoforai.com/repo/Oathbreaker-AI/oathburn.md

Embed Star History Chart & Badges in README.md

Full-history Star History SVGs and velocity cards on GitHub Camo: drop-in replacement for OSSInsight and Star History widgets.

Oathbreaker-AI/oathburn Star History on RepoForAI

Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).

Frequently Asked Questions about oathburn

Where do I integrate a custom behavior objective?

Use a scorer plugin to change what the search measures, or a modifier plugin to change how weights are edited. A scorer implements get_score on the Scorer base class and can be loaded by import path or by file path and class name. Multiple scorers can be active in a run, but only one modifier is used.

How much VRAM and runtime should I budget?

There is no universal VRAM minimum. Size for the checkpoint, numeric precision and batch size, then test the actual search workload. Startup benchmarking selects a batch size, and bitsandbytes 4-bit loading can ease memory pressure at some accuracy cost. The concrete reference is about 30–40 minutes for Qwen3-4B-Instruct-2507 on an RTX 3090 with default settings, not a throughput guarantee for other models.

Can we self-host it commercially or redistribute edited checkpoints?

Commercial self-hosting is not prohibited by AGPL-3.0-or-later. Distribution carries source obligations, and if you modify Oathburn and let users interact with the modified program over a network, you must offer those users its Corresponding Source. Review the base model's license separately for commercial use and redistribution of edited weights.

When should I choose Oathburn over Heretic or the hosted API?

For Heretic 2.x users, the strongest reason to switch is continuity: Oathburn accepts existing configurations, supports compatible plugins, and can resume study checkpoints. The release candidate does not establish better GPU performance or large-MoE compatibility. The hosted Oathbreaker API is an alternative only if you need inference against its catalog rather than control over the weight-editing run.

Upstream README & Documentation

This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.

Maintaining Oathbreaker-AI/oathburn? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature Oathbreaker-AI/oathburn on Homepage & Alternatives ($19)
WEEKLY BREAKOUT DIGEST

Top 10 Breakout Open-Source AI Repos, Every Thursday

Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.

Zero spam · 1-click unsubscribe · Privacy Policy

Saved in your browser · Export Markdown RFC tables or jump into /vs compare