Give AI agents a metric.
Keep only the wins that hold up.
Thermite is open-source autoresearch that runs on your own machines. Point AI agents at a number to push (tokens a second, accuracy, latency, memory, cost, a benchmark score), goals to meet, or a question to answer. They run experiments for hours or days, and a judge they can't touch measures every attempt and keeps only confirmed wins.
Or ask your AI agent to set it up:
Set up Thermite on this computer for me: follow https://usethermite.com/llm-setup.txtWhat you're looking at · every spark is a real attempt
- A spark is one change an agent submitted. It rises to the speed the judge measured: 131 in five days, from two lanes.
- Gold: 28 wins the judge confirmed on fresh runs and a hidden prompt.
- Ember: 48 changes slower than the champion. They sink as they cool.
- Grey: 39 with no real difference, and 4 inconclusive.
- Red: 12 that broke a guard, such as changed outputs. Thrown out, however fast.
- The line is the champion, the best confirmed version: Qwen3.8-27B-PN3 decode on one Tesla P100, 7.7 to 30.1 tokens a second.
How a campaign runs
Much of engineering is a loop: change something, measure it, keep it if it is better, try the next idea. Thermite runs that loop continuously, on many ideas at once, and keeps the grading for itself.
- You set the goal. What to improve, what must not get worse, which files the agents may change, and a kit that builds and measures your project.
- Agents try ideas side by side. Each works in its own lane, on its own copy. A planner hands each lane a different experiment, so the search stays wide.
- The judge decides. It times each change against the best so far, on the same hardware, in alternating blocks. A win must hold up again before it counts.
- Wins become the starting point. The best confirmed version is the champion. Losses are kept too, with the judge's reasons.
- You watch, steer and take the result. Follow every agent live, message them, pause the run, and download the champion as a patch.

Agents never grade their own work
An agent asked to push a number up will sometimes only make it look higher: it skips the slow case, moves the timer, or just reports a win. So in Thermite, agents only propose. Code they can't read or change measures and decides.
- The judge holds the clock. It times every change from outside, against the champion, on the same device.
- It knows its own noise. Once a day it times the champion against itself, and decides with statistics.
- A win gets a second look. Fresh runs, test cases the agents never saw and, on a rig with an auditor, a review of a surprisingly large gain.
- You decide what waits. Ask to approve every new champion yourself, or let confirmed wins through.
Thirteen changes whose right verdicts are known. Run it on your own computer in twenty minutes.
i-k-j loop order makes the inner loop contiguouswin confirmedfaster, and again on fresh runsrename the accumulatorneutralno real differenceskip half of the reductioninvalidits answers were wrongcall the reference implementationinvalidthe judge saw the reference runuse a large scratch buffercrashstopped at the memory limittime the kernel from insiderejecteda timer call: against the rulesmake the reference trivialrejectednot the agents' file to change
A 27B model, 3.9× faster on a $100 GPU.
With tensorless, four Thermite campaigns tuned an inference engine for Qwen3.8-27B on one Tesla P100, a 2016 card that sells used for about $100. Two goal campaigns made it work and gated its quality; two hill climbs made it fast. Every step held the model's answers where they started. The result ships in one command.
| Time (UTC) | Version | Gain | Tokens a second |
|---|---|---|---|
| 24 Oct, 02:50 | Starting point | 7.7 | |
| 24 Oct, 22:28 | Champion 2 | +48.97% | 11.5 |
| 26 Oct, 08:25 | Champion 11 | +8.94% | 20.8 |
| 27 Oct, 07:17 | Champion 20 | +2.73% | 26.4 |
| 29 Oct, 02:36 | Champion 28 | +1.21% | 30.1 |
Champion 20 was the first to pass Q3Floor, the best standard 3-bit file, at 26.3 tokens a second.
Three campaign modes
Each campaign is one of three modes, and code decides when each one is done, never an agent. Chain them: research first, then a goal campaign to make it work, then a hill climb to make it fast.
Hill climb
Push one number as far as it will go: speed, size, accuracy, a score. Guards hold everything else where it started. It runs until you stop it.
For example: tokens a second on your GPU.
Goal
List what the result must do, as checks: it builds, it loads the model, its answers match. Agents work until every goal passes, or the evidence shows it can't.
For example: support a new quantized format.
Research
Ask your questions. Agents read for hours or days, with no limit unless you set one, and code finds every quote, word for word, in the page it came from. You get a paper, and every page read as a corpus that later campaigns search.
For example: which papers improve 2-bit decoding?
Use cases across nine fields
Thermite applies wherever code can judge the work: code and models, simulations and genomes, crops, buildings, fleets and portfolios, and the questions behind them. See every use case.
Local AI enthusiasts
Tune models and inference engines on your own GPUs, with agents on a local model at no cost per request.
Read the guideSolo builders
Run research on a single computer, with a free or local model, and review measured results.
Read the guideStartups
Run experiments on rented or owned GPUs within a set budget, with every result verified before it ships.
Read the guideEnterprises
Run research on your own infrastructure, with an auditable record of every attempt and verdict.
Read the guideYour machines, your models
There is no hosted service and no account. Control, one small service, shows and steers every campaign. Rigs do the research, each on a computer, a cluster node or a cloud GPU, and each dials out to control. Nothing stops a campaign by default: set a budget or a stop time when you want one.
| Rigs | Your computer; machines over SSH; a Kubernetes cluster; a RunPod GPU by the hour |
|---|---|
| Devices | CPUs, or NVIDIA GPUs: one shared in turns, or several split between the judge and the agents |
| Models | A free model; your own server, such as Ollama or vLLM; an API key; a Claude or ChatGPT plan |
| Agents run in | Pi, OpenCode, Claude Code or Codex, each in its own terminal you can watch |
| Steer from | The dashboard, a REST API, MCP for your own AI assistant, or the thermite command line |
| Records | Every attempt and verdict, signed, and a knowledge base that later runs read |
Get started
About twenty minutes on Linux or macOS, with Docker or Podman. Podman users swap docker for podman.
Get Thermite
Download the latest release's compose file into a folder of its own.
curl -fsSLO https://github.com/iammrduncan/thermite/releases/latest/download/compose.yamlMake your tokens
Long random passwords, so that only you can steer it.
docker compose run --rm initStart it
Control, its dashboard and one rig, on this computer.
docker compose up -dWatch the judge work
Sign in, open your rig, and run the smoke check. Then give agents a free model and run your first campaign.
Join the Hackers in the Loop community
Ask questions, share what your agents found, and see what is being built next.